diff --git a/app/Services/PluginManager.php b/app/Services/PluginManager.php index f7f97b11..9a716724 100644 --- a/app/Services/PluginManager.php +++ b/app/Services/PluginManager.php @@ -2,6 +2,7 @@ namespace App\Services; +use Log; use Storage; use App\Events; use Composer\Semver\Semver; @@ -440,7 +441,9 @@ class PluginManager ]; } else { $plugin = $this->getPlugin($item['name']); - $item['version'] = $plugin->getVersion(); + if (!empty($plugin)) { + $item['version'] = $plugin->getVersion(); + } return $item; } });