• 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.php but 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.

Viewing 1 replies (of 1 total)
  • You seem to have a bad plugin or theme. Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

Viewing 1 replies (of 1 total)

The topic ‘Cannot use a scalar value as an array in wp-includes/class.wp-scripts.php’ is closed to new replies.