Recieving error message on all pages (inc dashboard) “script called incorrectly”
-
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 “https://purelyamy.co.uk/my-first-blog-post-six-years-giveaway/” and how to fix the website flashing the Notice message? 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
- The topic ‘Recieving error message on all pages (inc dashboard) “script called incorrectly”’ is closed to new replies.