Support » Plugin: Hatchbuck » Plugin PHP Warning Notices

  • Resolved Mark Wilkinson

    (@wpmarkuk)


    The plugin is outputting two PHP warning notices with WP_DEBUG set to true. These are:

    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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)

    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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)

    This is caused because scripts styles in the admin/menu.php file are enqueued without being hooked into one of WordPress’ actions. They are not inside a function and enqueued but just called straight from that file.

    Is there any plans to fix this please?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin PHP Warning Notices’ is closed to new replies.