• Zagaz

    (@andreranulfo)


    I just upgrade the blog to PHP 8.0 . Once upgraded, I received this error message. After disabling all plugins one-by-one, the message only disappeared after disabling jQuery Hover Footnotes.

    This is the error message I received:

    Notice: Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the footenote_js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /nas/content/live/xxx/wp-includes/functions.php on line 5831

    Notice: Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the footenote_css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /nas/content/live/xxx/wp-includes/functions.php on line 5831

    Any suggestions?

  • The topic ‘Error after upgrade to PHP 8.0’ is closed to new replies.