Archived topic
Impossible to update the GP Premium plugin-Error line 286
3 replies · Started by GuillermoMeijon on June 28, 2019
Impossible to update the GP Premium plugin.
This line of error appears:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'update' not found or invalid function name in /home/xxxxx/public_html/wp-includes/class-wp-hook.php on line 286
Wordpress 5.2.2
PHP: 7.3
Hi there,
Is there any more to the error? That's pointing to a core WP file, so it's hard to tell where the error is coming from.
You can try turning off WP_DEBUG: https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug
That should prevent the Warning from showing up.
Perfect, once changed define ('WP_DEBUG', false); later i received the message "update package not available", and it was solved by activating the license key in Appeareance>Generate Press in Dashboard.
Thanks.
Glad you got it working :)