Hello! The Profile percentage is stuck at 7%. I tried to rename the value of every field, but the value remains the same. I noticed this bug few weeks ago and I don't know how to fix it. I even tried to downgrade the module, but the problem remains. I still don't what caused the problem, I guess there are some conflicts with other modules or new fields I've added. Do you know how to fix this issue? Thanks.

Comments

DamianFox created an issue. See original summary.

kris77’s picture

I have the same problem too.

I have uninstall the module...

DamianFox’s picture

Title: Profile percentage is stuck at 7% » Profile percentage is stuck
DamianFox’s picture

Any news about it? I had to disable the module

B Boy Breaker’s picture

Well after 2 years i expected someone to detect it, however the problem is at pcp.module file, line 381

$user->$field['field_name']

its a fail dynamic object property call

change it to the following and the issue will be fixed

$user->{$field['field_name']}
B Boy Breaker’s picture

Status: Active » Patch (to be ported)
abramm’s picture

Status: Patch (to be ported) » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D7 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.