Support » Alpha/Beta/RC » Warning issued on plugin.php line 620 if $wp_plugin_paths is not an array

  • Resolved codyfletcher

    (@codyfletcher)


    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();

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning issued on plugin.php line 620 if $wp_plugin_paths is not an array’ is closed to new replies.