[Plugin: WordPress SEO by Yoast] Fatal error: Using $this when not in object context
-
Got this error when I upgraded and try to view any non-cached page on my site:
Fatal error: Using $this when not in object context in /var/www/html/pk/pkmncards.com/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 91
I’m going to downgrade back to the earlier version of the plugin until this is resolved. Not sure if it’s something I did wrong, but in my functions.php I have been using stuff like this:
$og_title = WPSEO_Frontend::title( false ); $og_url = WPSEO_Frontend::canonical( false ); $og_description = WPSEO_Frontend::metadesc( false );
I’ve been using those to make some custom og tags.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Plugin: WordPress SEO by Yoast] Fatal error: Using $this when not in object context’ is closed to new replies.