Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP error #41

Closed
DaneEveritt opened this issue Jan 20, 2014 · 1 comment
Closed

PHP error #41

DaneEveritt opened this issue Jan 20, 2014 · 1 comment
Labels
Milestone

Comments

@DaneEveritt
Copy link
Contributor

Warning: Invalid argument supplied for foreach() in /var/www/html/node/core/ajax/overview/data.php on line 130

When viewing server with no plugins.

@DaneEveritt
Copy link
Contributor Author

This issue was fixed at some point in the past, but the issue wasn't updated.

$plugins = null;

if($pluginList = is_array($core->framework->query->getInfo('Plugins'))){

    foreach($pluginList as $id => $name){

        $plugins .= $name.', ';

    }

$plugins = rtrim($plugins, ", ");

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant