WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. reinwp
    Member
    Posted 4 months ago #

    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/

  2. jrf
    Member
    Posted 4 months 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
    Member
    Posted 4 months 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
    Member
    Posted 4 months ago #

    Glad to hear it ;-)

  5. Loewenherz
    Member
    Posted 4 months 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
    Member
    Posted 4 months ago #

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

    That's what I updated to.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.