WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
WordPress SEO caused my site to display just white? (44 posts)

  1. JowiM
    Member
    Posted 1 year ago #

    @johnheaston is it possible that you may have deleted the bracket or something similar?

  2. peterpijpelink
    Member
    Posted 1 year ago #

    that solved it for me. thanks!

  3. johnheaston
    Member
    Posted 1 year ago #

    Certainly not intentionally, but Safari was displaying Code Editor a little funny (grey comments underneath code) and I switched to text editor. Here's the lines before and after 441 if you can see if anything is missing:

    $options['yoast_tracking'] = 'on';
    unset( $options['presstrends'] );
    update_option( 'wpseo', $options );
    }

    $options['version'] = WPSEO_VERSION;
    update_option( 'wpseo', $options );
    }

  4. JowiM
    Member
    Posted 1 year ago #

    if ( version_compare( $current_version, '1.2.8', '<' ) ) {
                            $options = get_option( 'wpseo' );
                            if ( isset( $options['presstrends'] ) ) {
                                    $options['yoast_tracking'] = 'on';
                                    unset( $options['presstrends'] );
                                    update_option( 'wpseo', $options ); //<!----Change this
                            }
                    }//<!--@johnheaston You have this missing

    you should have something similar as shown above

  5. johnheaston
    Member
    Posted 1 year ago #

    That fixed it. Thanks! I'll be using Chrome in File Manager and Code Editor in the future.

  6. Cecy
    Member
    Posted 1 year ago #

    I canĀ“t fix this. When I search for class-admin.php in the Hostgator cpanel File Manager it tells me the directory is empty.

  7. Cecy
    Member
    Posted 1 year ago #

    Finally made it - thanks!

  8. gcampton
    Member
    Posted 1 year ago #

    [ Needless snarky comment removed. ]
    for the rest of you having problems:

    I fixed this by going to the plugin folder admin/class-admin.php and removed the "s" from update_options() on line 441

    meaning you need to go to:
    wordpress-installation-folder/wp-content/plugins/wordpress-seo/admin/

    open class-admin.php

    go to line 441

    change update_options() to update_option()

  9. keesiemeijer
    moderator
    Posted 1 year ago #

    Yoast uploaded a new version of the plugin without the typo. http://wordpress.org/extend/plugins/wordpress-seo/changelog/

  10. RVD
    Member
    Posted 1 year ago #

    I was hopeful that my site would work as easily as you describe it on this forum but at first I couldn't log in to my admin and I was given an error:

    Fatal error: Call to undefined function update_options() in /home/rvandijk/public_html/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 441

    But now I cannot acces my site anymore if I go to the URL and another error occurs then:
    (It's a long one)

    Warning: require(/home/rvandijk/public_html/wp-includes/load.php) [function.require]: failed to open stream: Permission denied in /home/rvandijk/public_html/wp-settings.php on line 21

    Fatal error: require() [function.require]: Failed opening required '/home/rvandijk/public_html/wp-includes/load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rvandijk/public_html/wp-settings.php on line 21

    I hope it's still fixable...

  11. keesiemeijer
    moderator
    Posted 1 year ago #

    What did you do before getting this error?
    try:

    - re-uploading all files & folders - except the wp-content folder from a fresh download of WordPress. by using FTP or whatever file management application your host provides (Manual Update).

  12. RVD
    Member
    Posted 1 year ago #

    @keesiemijer:

    Thanks kees for all your comments, I tried to fix it myself with the solution that JowiM gave but I could't find it myself but my host help desk did it for me.
    He also wasn't sure how to fix it but because of the solution that JowiM gave he could fix it.

    So thank you too JowiM

    Thanks guys, it's fixed finally.

  13. iDope
    Member
    Posted 1 year ago #

    See this thread for a proper fix to this.

  14. pocketdynamo
    Member
    Posted 1 year ago #

    Hi,

    I'm running the latest version of Yoast's SEO Plugin. However, when I try and deactivate it and remove it, the content in my pages disappear. Content appears for posts and in admin but not for pages.

    Has anyone encountered this? My client doesn't require the plugin so any fix would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags