WordPress.org

Ready to get started?Download WordPress

Forums

SEO Ultimate
[resolved] Disabling all modules (7 posts)

  1. mark.sagikazar
    Member
    Posted 11 months ago #

    Hi,

    When I disable all modules except 404 monitor or any other modules which have no modification area on any posts (eg. title, description,keywords) I get the follwing error on all admin pages:

    rning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551 Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 1551

    This probably means that the foreach is trying to loop through an empty variable.

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

  2. nebuloushomosapien
    Member
    Posted 6 months ago #

    Did you get a solution for this??

  3. snakeyman2
    Member
    Posted 6 months ago #

    My quick fix (I know its a bad way to do this, but works...)

    Delete this:

    foreach ($fields as $tab => $tab_poses) {
    ksort($fields[$tab]);
    }

    From class.seo-ultimate.php

    I only use the "Permalink tweaker" module, so I guess I dont need this anyway (not very sure what it actually does :)). Will keep it like this until the plugin gets updated..

  4. imendoza
    Member
    Posted 1 month ago #

    A (little) better approach, instead delete just add a validation:

    if(isset($fields)){
      foreach ($fields as $tab => $tab_poses) {
       ksort($fields[$tab]);
      }
      $return[$screen] = $fields;
    }
  5. Jeffrey L. Smith
    Member
    Plugin Author

    Posted 1 month ago #

    We will look into prior to releasing version 7.6.2 (I tried and it worked fine using the 404 as the only active module).

  6. Jeffrey L. Smith
    Member
    Plugin Author

    Posted 4 weeks ago #

    Please try SEO Ultimate Version 7.6.2 and mark this topic as resolved if the issue is eliminated.

    Thanks,

    Jeffrey

  7. Jeffrey L. Smith
    Member
    Plugin Author

    Posted 3 weeks ago #

    Mark:

    We have not been able to reproduce on latest version, so, unless you can (create another thread) and we are marking this topic as resolved.

    All the best,

    Jeffrey

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.