Anspress 4: Categories crash

Solved5.21K viewsIssues
0

[13-Feb-2017 19:55:27 UTC] PHP Catchable fatal error:  Object of class WP_Error could not be converted to string in /home/wp-includes/formatting.php on line 3767

selected answer

This crash (white page of death) happens when i click on a category (via Anspress widget).

Does not happen with me. Please post full back trace. Thanks

NO backtrace. That’s all i see in the log.

I’m getting the same, opening up a category page from the breadcrumbs the page title changes to “No matching category found” and the logs show the error: “PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/csgohub.gg/htdocs/wp-includes/formatting.php on line 3751”

(different line number, but I only downloaded the beta an hour ago so possibly that file has shuffled a little?)

1

Re-save permalinks

Admin > Settings > Save Changes

That fixed it for me. The error (PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/csgohub.gg/htdocs/wp-includes/formatting.php on line 3751) disappeared after that too

commented on answer

Holly Cow ! That solved the problem and ALSO my other profile problem!

Thanks !

Looks like a ‘flush rewrite rules’ just needs to be added to the final stage of the upgrade process.

Alex, thanks for letting us know.

Np, glad I could help you guys!

0

Found the problem. Some conflict with Categories and :

The SEO Framework

Pitty, since i use that and many others users also here.

commented on answer

I’m getting a slightly different line number but similar issue:

PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/csgohub.gg/htdocs/wp-includes/formatting.php on line 3751

I’m not using “The SEO Framework”, I’m using Yoast, but this error does seem to be an issue on different setups. I’ll try figure out what it’s conflicting with