WordPress.org

Forums

[resolved] Warning issued on plugin.php line 620 if $wp_plugin_paths is not an array (4 posts)

  1. codyfletcher
    Member
    Posted 1 year ago #

    Warning given:
    Warning: Invalid argument supplied for foreach() in /var/www/wp-includes/plugin.php on line 620

    This line added above line 620 will resolve the warning

    $wp_plugin_paths = is_array($wp_plugin_paths) ? $wp_plugin_paths : array();
  2. codyfletcher
    Member
    Posted 1 year ago #

    Please disregard my this thread. I was attempting to upgrade via a custom rsync-based process.

    Thanks for the response Dominik, got me thinking down the right lines!

  3. codyfletcher
    Member
    Posted 1 year ago #

    Marking as resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.