• Resolved mark.sagikazar

    (@marksagikazar)


    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.

    https://www.ads-software.com/extend/plugins/seo-ultimate/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you get a solution for this??

    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..

    Anonymous User 13128151

    (@anonymized-13128151)

    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;
    }
    Plugin Author Jeffrey L. Smith

    (@seo-design-solutions)

    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).

    Plugin Author Jeffrey L. Smith

    (@seo-design-solutions)

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

    Thanks,

    Jeffrey

    Plugin Author Jeffrey L. Smith

    (@seo-design-solutions)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disabling all modules’ is closed to new replies.