Support » Plugin: Yoast SEO » Blank white page after latest updates

  • Resolved reinwp

    (@reinwp)


    Hello! I haven’t been able to get the last couple of updates to work on my site. I’ve updated to 1.5.2.5, 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

    https://wordpress.org/plugins/wordpress-seo/

Viewing 5 replies - 1 through 5 (of 5 total)
  • jrf

    (@jrf)

    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
    	}
    }
    reinwp

    (@reinwp)

    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.

    jrf

    (@jrf)

    Glad to hear it 😉

    loewenherz

    (@loewenherz)

    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?

    reinwp

    (@reinwp)

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

    That’s what I updated to.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank white page after latest updates’ is closed to new replies.