WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
FATAL ERROR on Dashboard from this Plugin. (37 posts)

  1. Akshay2598
    Member
    Posted 2 years ago #

    WordPress version: 3.4
    WordPress SEO version: 1.2.1

    I did this:
    Go to Dashboard OF MY MULTISITE WEBSITE
    (It works on my main website)

    I expected the plugin to do this:
    Nothing

    Instead it did this:
    Under "Incoming Links", "Other WordPress News", and "WordPress Blog"
    Fatal error: Call to undefined function wpseo_title_test() in /home/akshay/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 402

    This is only on my multisite website not on my main website.

    I'm not Updating to 1.2.2 because it's not compatible with 3.4(according to Yoast) and 2 people said it didn't work.

    Someone please help!

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    It is compatible with 3.4, i'll update the readme. Could you please test the development version? I might have just fixed your issue.

    You can download the development version from here, or you can download it directly here.

  3. Akshay2598
    Member
    Posted 2 years ago #

    How do I install it? I just use the auto-update inside WordPress so I don't know how. Do I just replace the files?

  4. Akshay2598
    Member
    Posted 2 years ago #

    Hey Joost, I have at the end of my title a random "- 12345". Is that the wpseo_title_test()?

  5. bpohlad
    Member
    Posted 2 years ago #

    I just updated the plugins on our site and now I can't get in. I get the message: Fatal error: Class 'Genesis_Admin_Boxes' not found in /home/erenteam/public_html/wp-content/plugins/genesis-simple-hooks/admin.php on line 13
    Anyone have a suggestion?

  6. pixelyzed
    Member
    Posted 2 years ago #

    I updated my mulsisite install to the dev version to fix the same issue mentionne above and I'm getting this error myself :

    Parse error: syntax error, unexpected '{' in /wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 407

  7. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah the dev version was broken, sorry, it should be ok now, could you retest?

  8. bpohlad
    Member
    Posted 2 years ago #

    If I can't get into the dashboard how do I retest. Still can't get into my dashboard. Do I have to FTP over and remove as mentioned by others?

  9. pixelyzed
    Member
    Posted 2 years ago #

    Hi Joost,

    With this morning's dev version, I now get this error at the top of pages and in many dashboard widgets but the site actually loads which wasn't the case yesterday:

    Warning: Invalid argument supplied for foreach() in //wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 407

  10. Akshay2598
    Member
    Posted 2 years ago #

    @Joost I will wit till the next good version comes out.
    @bpohlad Please ask people from Genesis because I assume that is a Genesis problem.

  11. bpohlad
    Member
    Posted 2 years ago #

    Should I remove a file from the server and if so which one to allow me to get back into my dashboard? Thanks!

  12. Akshay2598
    Member
    Posted 2 years ago #

    Change your default theme in your database to another one. Search for like wp_settings or something along the lines of that.

  13. jmccabeVA
    Member
    Posted 2 years ago #

    1.2.2 still doesn't work. Just attempted to install on 3.4. When attempting to activate get blank screen and can't get back to WP admin or site. FTP to delete plugin dir. Also using flexibility3 theme.

  14. bpohlad
    Member
    Posted 2 years ago #

    just got the site fixed thanks to a wonderful tech support person at HostGator, where I host my site, who realized that the plugin update created problems with two plugins..wp-table-reloaded/
    genesis-simple-hooks/
    he fixed those and I updated all of the other plugins and to the new wordpress and all is good in the world.

  15. pixelyzed
    Member
    Posted 2 years ago #

    @bpohlad

    How did he fix those plugins? I don't use Genesis but I do use WP Table Reloaded on most of my sites and it never caused me any issues with any other plugins or themes.

  16. Akshay2598
    Member
    Posted 2 years ago #

    How did the HostGator guy help you? They don't help me on tech stuff they just say, "Go ask WordPress.org"

  17. bpohlad
    Member
    Posted 2 years ago #

    I am sorry but didn't get the details of 'how' he fixed it just that those two were the problem files. I wish I had asked him but was so shocked that he was able and willing to fix it I just said thanks. Sorry. If I can get back to him, I may ask but only got a first name, Irving. Not much help I know but he did it in 30 seconds so it must not have been too hard.

  18. bpohlad
    Member
    Posted 2 years ago #

    Actually I was getting help on 'chat' and not on the phone if that helps.

  19. pixelyzed
    Member
    Posted 2 years ago #

    Can you download your /wp-content/plugins/wp-table-reloaded/ folder, zip it up and make the zip file downloadable somewhere? I'll do a compare in WinMerge and be able to see what he changed in there.

    Thanks!

  20. Akshay2598
    Member
    Posted 2 years ago #

    I chat with them online too.

  21. Maik Penz
    Member
    Posted 2 years ago #

    The fix is quite easy.

    AJAX calls will nor load wp-seo-non-ajax-functions.php thus wp seo does not provide wpseo_title_test() used by wpseo-functions.php

    Simple diff would be
    - 402 wpseo_title_test();
    + 402 defined('DOING_AJAX') and DOING_AJAX or wpseo_title_test();

    Bug does persist in 1.2.2 and trunk.

  22. Ruud Evers
    Member
    Posted 2 years ago #

    I had the same problem, although the error only showed on one of the sites in my multisite installation. The other sites weren't affected. The error first occurred when trying to add a menu item, which thus failed.

    After upgrading to the dev version, adding a menu item worked, but the error is replaced by another one, saying "Warning: Invalid argument supplied for foreach() in /home/username/domains/domainname.com/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 407".

    When trying to change to the default 2011 theme, I get the following error:
    "
    Warning: Invalid argument supplied for foreach() in /home/startnepal/domains/startnepal.com/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 407

    Warning: Cannot modify header information - headers already sent by (output started at /home/username/domains/domainname.com/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php:407) in /home/username/domains/domainname.com/public_html/wp-includes/pluggable.php on line 866"

  23. Maik Penz
    Member
    Posted 2 years ago #

    With the dev-version you got something else.

    The upgrade mechanism is looking for a "wpseo" option, that does not seem to exist. Missing check for $opt == false or is_array($opt).
    Since it is just a cleanup task to migrate older plugin versions that should be enough.

  24. pixelyzed
    Member
    Posted 2 years ago #

    Hi,

    FWIW, I'm also getting the following error on another multisite install (2 sites) and that one does not have WP-Table Reloaded installed as was mentionned above. The error at the top of blog 2's admin pages:

    Warning: Invalid argument supplied for foreach() in /path/to/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 407

    That's with version 1.2.3 with WP 3.4

    M. Penz post right before mine gave me a clue to look int the database and I found something interesting. The "wpseo" option does exist on this 2 site ms network but the value for the blog 2 version is weird. The blog 1 version of the wpseo option contains this serialized array:

    a:3:{s:15:"ms_defaults_set";b:1;s:7:"version";s:5:"1.2.3";s:11:"ignore_tour";s:6:"ignore";}

    But the same option in the blog 2 options table contains this:

    1pseo_social

    ... which is a simple text string and not a serialized array which the code probably expects. I tried to copy the value from the blog 1 options table to the blog 2 options table and the error went away for me. Not sure if this can have other adverse effects on how WordPress SEO works but at least the error is gone for me for now.

    But this definitely seems like a bug in 1.2.2 and 1.2.3 and one which probably has nothing to do with a conflict with other plugins.

  25. claudia.cala
    Member
    Posted 2 years ago #

    form when I updated my wordpress I'm not able to insert new image....but my error is

    "Cheatin’ uh?"
    I'm going crazy also because one moderator don't trust me...I did it all that he told me but doesn't works...please help me :( :( :(

  26. figure2
    Member
    Posted 2 years ago #

    I am also getting the error where my dashboard disappears when the Yoast SEO plugin is installed. The problem began when the most recent update was installed.

  27. figure2
    Member
    Posted 2 years ago #

    Just switched to All In One SEO Pack. Solved all my problems.

  28. gregjones
    Member
    Posted 2 years ago #

    Also waiting for a fix, I also have -12345 after my google listing, if you type in 12345 in google you can also see how many other people have this error which I guess is from the same error and plugin.

  29. Ruud Evers
    Member
    Posted 2 years ago #

    The "-1234"5 issue is easy to fix. Just go to the Title & Meta settings of the plugin and check the "Title template" for the home page, post types, taxonomies and others. If it shows "%%sitename%% - %%sitedesc%% - 12345" just remove the last part.

  30. gregjones
    Member
    Posted 2 years ago #

    @ yakti-ruud Great, thanks for pointing that out

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic