Yoast SEO
[resolved] Blank white page after latest updates (6 posts)

  1. reinwp
    Posted 1 year ago #

    Hello! I haven't been able to get the last couple of updates to work on my site. I've updated to, but when I activate the plugin, the entire site goes blank white. I have to deactivate the plugin by renaming it in the cPanel file manager to get my site back up. Any ideas? Thanks!

    My host is Bluehost. This is what shows up in the error logs:

    PHP Fatal error: Cannot redeclare yoast_breadcrumb() (previously declared in /home7/name/public_html/answers/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php:96) in /home7/name/public_html/answers/wp-content/themes/cityguide/includes/theme-plugins.php on line 277


  2. jrf
    Posted 1 year ago #

    Your theme is doing something wrong. They have basically copied a WPSEO function to the theme and declare it without checking whether the WPSEO one is available. This is bad practice.

    They should adjust their code along the lines of:

    if( ! function_exists( 'yoast_breadcrumbs' ) ) {
    	function yoast_breadcrumbs() {
    		// the function
  3. reinwp
    Posted 1 year ago #

    Thank you!

    You're right. I just realized that there was a small update available for my theme that fixed the white screen problem. I just had to update the theme and the plugin works again! Thanks for your help.

  4. jrf
    Posted 1 year ago #

    Glad to hear it ;-)

  5. Loewenherz
    Posted 1 year ago #

    reinwp, there is no update for the cityguide theme. See http://docs.woothemes.com/document/retired-themes/. My version is City Guide 1.5.12 Framework 3.7.03. And yours?

  6. reinwp
    Posted 1 year ago #

    The latest version is 1.6.7: http://www.woothemes.com/changelogs/cityguide/changelog.txt

    That's what I updated to.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.