get_page_by_title() generating PHP error after upgrading PHP
-
I’ve recently had my hosts upgrade PHP on my server to 5.2.17
Since that time, I am no longer able to use the get_page_by_title() function on my WordPress Multisite.
Whereever that function is used, I get an error like the following:
Catchable fatal error: Object of class stdClass could not be converted to string in /var/www/vhosts/ …
If I remove that function in particular, the error goes away. So there’s obviously just something about the server configuration that doesn’t like this function, though I have no idea what!
Has anyone else had this problem? I’ve had a very hard time finding similar problems on Google
- The topic ‘get_page_by_title() generating PHP error after upgrading PHP’ is closed to new replies.