Invalid argument in classes.php file – Please help
-
I have searched a lot but couldn’t find a solution yet.
The site is – https://www.helenafrithpowell.com
It says “Warning: Invalid argument supplied for foreach() in /home/helenafr/public_html/wp-includes/classes.php on line 1542”
The classes.php file has more than 1542 lines, but the strange thing is there is no ‘foreach’ function on the line specified. I changed it (last week) to ‘while’ function. But the warning still showing up.
I tried to change the name of file (to make sure I am on the correct installation), and it showed error, so I am working on the correct file, that is sure.
Anything to do with cache or theme? If it is something with the cache issue, how to solve it ?
PHP information for https://helenafrithpowell.com
max_execution_time: 30
max_input_time: 60
file_uploads: 1
upload_max_filesize: 10M
post_max_size: 8M
register_globals: 1
safe_mode:
allow_url_fopen: 1
eaccelerator.enable:Other information:
PHP Server API: cgi
WordPress Version: 2.0.4
WordPress Blog URI: https://helenafrithpowell.com
WordPress Installation URI: https://helenafrithpowell.com
WordPress Theme: /wp-content/themes/intense-10
WordPress Permalink Structure: /%category%/%postname%
WordPress wp-content directory is writable
WordPress does not use Gzip Compression
WP-Cache is running on this installation of WordPress
GD library is installed
PHP Version: 4.4.4
MySQL Version: 4.1.22-standard
- The topic ‘Invalid argument in classes.php file – Please help’ is closed to new replies.