rosscarlson
Member
Posted 2 years ago #
One of our users just clicked the "upgrade" button in the WP Admin interface (we were on 2.7) and now we're getting the following error in our PHP logs:
PHP Fatal error: Call to a member function read() on a non-object in /home/feld/public_html/wp/wp-includes/theme.php on line 387
I've removed all the plugins manually and that didn't help, I'm guessing it's something in the themes but I'm not sure where to start looking. Any ideas? The site is working currently but the admin tools aren't (so we can't post).
Thanks,
Ross
coolgates
Member
Posted 2 years ago #
Getting this exact same error after upgrading to 2.8. Any solutions?
coolgates
Member
Posted 2 years ago #
This solution worked for me.
brandon_rhodes
Member
Posted 2 years ago #
@coolgate's solution, unfortunately, did not work for me, but made parts of the Dashboard disappear. I solved the problem by looking at the sub-directories of my theme, and noticing that one was unreadable: the ".svn" hidden directory that Subversion, by version-control system, had created. Once I set it world-readable so my "www-data" user could see it, WordPress started working fine again.