Try fixing loading order by explicitly select widget to load first

This commit is contained in:
Hadi Nategh 2018-12-14 10:43:59 +01:00
parent 213c8343ab
commit 40fe3c0ce2

View File

@ -335,6 +335,8 @@ class Widget
*/
public static function scanForWidgets()
{
//try fixing loading order by explicitly select widget to load first
class_exists(__NAMESPACE__.'\Widget\Select');
$widget_registry = Api\Cache::getInstance('etemplate', 'widget_registry');