Well that’s an embarrassing bug; mea culpa. I have this fixed for the next build, in the meantime replace fetch_addons() with the following:
public function fetch_addons()
{
$providers = ee('App')->getProviders();
foreach (array_keys($providers) as $name)
{
try
{
$info = ee('App')->get($name);
if (file_exists($info->getPath() . '/mod.' . $name . '.php'))
{
$this->modules[] = $name;
}
}
catch (\Exception $e)
{
continue;
}
}
// Fetch a list of installed plugins
$plugins = ee('Model')->get('Plugin')->all();
if ($plugins->count() > 0)
{
$this->plugins = $plugins->pluck('plugin_package');
}
}Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.