Closed mcdeimon closed 5 years ago
Can I get a screenshot. I've seen this before, but I was able to fix it, but it was my own test server and I vaguely remember it was not VYPS but something else I was doing.
I was going through issues... I think it happens when you have a point_log record for a point that does not exist.
If I unplug the VYPS plugin the error disappears
Had some spare time today... Looking at this... That func is found on lines 292, 293, 294....
add_action('show_user_profile', 'custom_user_profile_fields_points');
add_action('edit_user_profile', 'custom_user_profile_fields_points');
add_action("user_new_form", "custom_user_profile_fields_points");
(Side note... Not sure why " instead of ' there, but...)
This is on the edit user profile correct?
I have replicated it. Ok. Will fix today if possible.
Actually. It didn't take that long to fix as found the issue right away.
@mcdeimon please confirm the GitHub version works and it doesn't break anything else for you. I am going to upload this to WordPress as had saved some fixes to go in at least a slightly larger update.
Whoops. Didn't commit. Now try if you did a minute ago.
I went ahead and updated the official repo to 1.7.3 on WordPress. As I believe it was happening on everyone's system.
Going to close this as I think it has been resolved (at least on my test sites)
Thanks Felty!!! Now it works perfecty!
Hi Felty!!!
In the admin panel, when I edit a user this error appears:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'custom_user_profile_fields_points' not found or invalid function name in /var/www/vhosts/bycryp.com/httpdocs/wp-includes/class-wp-hook.php on line 286