Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42467

WPSEO_Frontend not found on version 17.8

$
0
0

Replies: 0

We were using the WPSEO_Frontend class to get the title of the current page and then use it to feed some share buttons, like this:

$wpseo = WPSEO_Frontend::get_instance();
$current_title = $wpseo->title( false );

When updating to 17.8 we get a fatal error:

HP Fatal error: Uncaught Error: Class ‘WPSEO_Frontend’ not found in…

What is now the alternative to get the current page title from Yoast SEO?


Viewing all articles
Browse latest Browse all 42467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>