From 40fe3c0ce2a45792b514414ea98aea30d7ac1b09 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 14 Dec 2018 10:43:59 +0100 Subject: [PATCH] Try fixing loading order by explicitly select widget to load first --- api/src/Etemplate/Widget.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Etemplate/Widget.php b/api/src/Etemplate/Widget.php index 95230219ed..bf6978f6b7 100644 --- a/api/src/Etemplate/Widget.php +++ b/api/src/Etemplate/Widget.php @@ -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');