• Resolved teachtofight

    (@teachtofight)


    Hi guys,

    I’m having problems with the plugin. I keep getting this error message:

    “Warning: Invalid argument supplied for foreach() in /home/customer/www/my-domain.com/public_html/wp-includes/class-wp-list-util.php on line 165”

    This is the code I found at line 165:

    /*
    			 * This is simple. Could at some point wrap array_column()
    			 * if we knew we had an array of arrays.
    			 */
    			foreach ( $this->output as $key => $value ) {
    				if ( is_object( $value ) ) {
    					$newlist[ $key ] = $value->$field;
    				} else {
    					$newlist[ $key ] = $value[ $field ];
    				}
    			}
    
    			$this->output = $newlist;
    
    			return $this->output;
    		}

    What should I do here? I’m having to rename the plugin to tmp in file manager just get access to admin again.

    Thanks.

    • This topic was modified 3 years ago by teachtofight. Reason: removed website name from reference url
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Can you try disabling all of your other plugins and switching to a default theme, do you still get the error?

    Thread Starter teachtofight

    (@teachtofight)

    I just deactivated all the plugins except all in one security, the error message is gone.

    So I’ll activate one by one to see which one is causing the compatibility problem.

    Okay, I checked everything and the error came back when I activated this plugin “Gutenberg Blocks and Template Library by Neve theme”.

    I decided to do another check.

    1. If I deactivated your plugin and activated the rest including the Gutenberg blocks plugin, there’s no error.
    2. If I activated all the plugins, the error comes back, but if I take the site out of maintenance mode, which it’s currently in (an All In One WP Security & Firewall option), the error goes away.

    So this has to do with the site being in maintenance mode using your plugin while the Gutenberg blocks plugin is active.

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    Thank you for reporting this, I have logged a ticket with our development team.

    Thread Starter teachtofight

    (@teachtofight)

    Sure. Your welcome. Is this going to be a quick update or it’ll be a little later on?

    Plugin Support vupdraft

    (@vupdraft)

    Bugs go through several process including replication, debugging, recoding and testing so they can take a while to be fixed (depending on their urgency). Unfortunately I am unable to give a time frame at the moment

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘class-wp-list-util.php error’ is closed to new replies.