Fatal error under PHP 8.1
-
I used Crontrol to investigate an issue. It helped and thanks for that.
I left it active and started getting repeat sequences of the following when running Backwpup:
[13-Feb-2023 14:05:52 UTC] PHP Fatal error: Uncaught Error: Unknown named parameter $arg in /homepages/0/d894882115/htdocs/clickandbuilds/HaylingU3A/wp-includes/class-wp-hook.php:308 Stack trace: #0 /homepages/0/d894882115/htdocs/clickandbuilds/HaylingU3A/wp-includes/class-wp-hook.php(340): WP_Hook->apply_filters('', Array) #1 /homepages/0/d894882115/htdocs/clickandbuilds/HaylingU3A/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #2 /homepages/0/d894882115/htdocs/clickandbuilds/HaylingU3A/wp-cron.php(188): do_action_ref_array('backwpup_cron', Array) #3 {main} thrown in /homepages/0/d894882115/htdocs/clickandbuilds/HaylingU3A/wp-includes/class-wp-hook.php on line 308On inspection the call_user_func_array call is passing callback: array( [function] => Crontrol\pauser, [accepted_args] => 1) with arguments: array( [arg]=>restart ).
So it looks like you are adding an action to intercept cron activity which is running foul of PHP.
Deactivating Crontrol eliminated the errors. Thought you’d want to know.
Andy
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Fatal error under PHP 8.1’ is closed to new replies.