Having an issue with error page on my website Notice: Script called incorrectly

  • Unknown's avatar

    I’ve been having issues with a certain page on my website so I contacted my host provider who added a debugging code to my config page. Which caused an issue on all of my pages on the website (and even stopped me from using the dashboard and posting pages).

    – After removing that debugging code because it didn’t work. The notice message didn’t disappear and the page was still not loading!! So now there’s two issues!

    I spoke to a fellow blogger who read the error and told me to disable my plug-in for blogger2wordpress which removed the notice message on the main page but it still flashed up before the page loads AND it’s still on my dashboard too.

    So – Can anyone tell me what’s going on with this one page “http://purelyamy.co.uk/my-first-blog-post-six-years-giveaway/” and how to fix the website flashing the Notice message?

    Notice: 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.) in /var/sites/p/purelyamy.co.uk/public_html/wp-includes/functions.php on line 4137

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/p/purelyamy.co.uk/public_html/wp-includes/functions.php:4137) in /var/sites/p/purelyamy.co.uk/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 62

    Notice: Undefined index: path in /var/sites/p/purelyamy.co.uk/public_html/wp-content/plugins/blogger-2-wp/blogger-2-wp.php on line 193″

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Now I’m getting this on my dashboard..

    Notice: 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.) in /var/sites/p/purelyamy.co.uk/public_html/wp-includes/functions.php on line 4137

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/p/purelyamy.co.uk/public_html/wp-includes/functions.php:4137) in /var/sites/p/purelyamy.co.uk/public_html/wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/core/newsflash.php on line 78

  • Unknown's avatar

    Hi there,

    These forums only provide support for sites hosted here at WordPress.com.

    If you need help with a self-hosted version of WordPress (using software from WordPress.org), then please create a thread on the WordPress.org support forums..

    If you need support for the “Blogger 2” plugin (mentioned in your error message), please create a thread at:

    https://wordpress.org/support/plugin/blogger-2-wp

    To learn more about the differences between the two different versions of WordPress (.com vs .org) , please see this guide.

    Thanks.

  • The topic ‘Having an issue with error page on my website Notice: Script called incorrectly’ is closed to new replies.