Anspress 4: Categories crash

Solved5.95K 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!

You are viewing 1 out of 2 answers, click here to view all answers.