Incompatability b/t WF 7.8.2 and PHP 8.2
-
Hello.
Over the past few weeks, I have been getting the following error in my error log.
PHP Fatal error: Uncaught Error: Unknown named parameter $interval in /home/wktfe8j7cwan/public_html/wp-includes/class-wp-hook.php:308
Stack trace:0 /home/wktfe8j7cwan/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
1 /home/wktfe8j7cwan/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
2 /home/wktfe8j7cwan/public_html/wp-cron.php(188): do_action_ref_array()
3 {main}
thrown in /home/wktfe8j7cwan/public_html/wp-includes/class-wp-hook.php on line 308
I have tracked it down to what I believe is a WF scan, where I am getting the following error:
Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
These could be unrelated, but I have been doing some troubleshooting and I think that they are related. This only happens with PHP 8 or above. If I downgrade to 7.X, both errors go away.
Any suggestions on what may be happening?
- The topic ‘Incompatability b/t WF 7.8.2 and PHP 8.2’ is closed to new replies.