diff --git a/src/flextype/app/Foundation/Plugins.php b/src/flextype/app/Foundation/Plugins.php index 77339e11..f3aa4b86 100755 --- a/src/flextype/app/Foundation/Plugins.php +++ b/src/flextype/app/Foundation/Plugins.php @@ -375,6 +375,9 @@ class Plugins */ private function includeEnabledPlugins($flextype, $app) : void { + $app = $app; + $flextype = $flextype; + if (! is_array($this->flextype['registry']->get('plugins')) || count($this->flextype['registry']->get('plugins')) <= 0) { return; }