Quantcast
Channel: WordPress.org Forums » [Yoast SEO] Support
Viewing all articles
Browse latest Browse all 41911

alexis.nomine on "[Plugin: WordPress SEO by Yoast] PHP Fatal Error with wpseo_use_page_analysis set to false for posts"

$
0
0

Thanks Scott for your fix. I was getting this error when saving on v1.4.7 and now it's gone :)
Here it is for those who want a quick solution:
Edit /wordpress-seo/admin/class-metabox.php, line 1058 add:

elseif ( apply_filters( 'wpseo_use_page_analysis', true ) !== true ) {
 $result = new WP_Error( 'page-analysis-disabled', sprintf( __( 'Page Analysis has been disabled.', 'wordpress-seo' ), $post->post_type ) );
 return $result;
}

Viewing all articles
Browse latest Browse all 41911

Trending Articles



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