Cannot use a scalar value as an array in wp-includes/class.wp-scripts.php
-
Hello. My website has been recently taken down by my hosting company, as it has been using too much CPU from the server for a while.
Among other things, they said I should check out my “error_log” file to see if there was anything going on that I could improve.
To my surprise, there was a gigantic file filled with the same error, over and over, that said:
Cannot use a scalar value as an array in /home/jorge538/public_html/novoblog/wp-includes/class.wp-scripts.php on line 167
I checked out the file
class.wp-scripts.phpbut don’t really understand what could be wrong. It contains the following code:[Excessive code moderated. There’s no need to post core files here.]
I don’t know if this error could have anything with the intense CPU usage that my hosting company mentioned. I am including a link where the full error_log can be accessed for further investigation. You can see the full error_log in the following address: http://www.jorgescherer.com/downloads/error_log.txt
Not sure if this is importante but my PHP version is 5.2.17
Thanks in advance.
The topic ‘Cannot use a scalar value as an array in wp-includes/class.wp-scripts.php’ is closed to new replies.