• Resolved NYG8OR

    (@nyg8or)


    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?

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @nyg8or, thanks for the really detailed message and effort you went to to track down the deprecation notice.

    The deprecation messages originate from WordPress core functions that we use. This has been a known issue on their end with PHP8+, and?you might see them resolved as part of the WordPress 6.2 release.

    Thanks,
    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘Incompatability b/t WF 7.8.2 and PHP 8.2’ is closed to new replies.