Closed vandres closed 3 months ago
{ "name":"Exception", "message":"Call to a member function getSiteSettings() on null", "code":0, "exception":"Error", "file":"/var/www/html/vendor/craftcms/cms/src/elements/Entry.php", "line":955, "trace":[ { "file":"/var/www/html/vendor/craftcms/cms/src/helpers/ElementHelper.php", "line":300, "function":"getSupportedSites", "class":"craft\\elements\\Entry", "type":"->" }, { "file":"/var/www/html/vendor/craftcms/cms/src/services/Elements.php", "line":3445, "function":"supportedSitesForElement", "class":"craft\\helpers\\ElementHelper", "type":"::" }, { "file":"/var/www/html/vendor/craftcms/cms/src/services/Elements.php", "line":1251, "function":"_saveElementInternal", "class":"craft\\services\\Elements", "type":"->" }, { "file":"/var/www/html/vendor/vandres/craft-matrix-extended/src/controllers/MatrixExtendedController.php", "line":138, "function":"saveElement", "class":"craft\\services\\Elements", "type":"->" }, { "file":"/var/www/html/vendor/vandres/craft-matrix-extended/src/controllers/MatrixExtendedController.php", "line":144, "function":"cloneEntry", "class":"vandres\\matrixextended\\controllers\\MatrixExtendedController", "type":"->" }, { "file":"/var/www/html/vendor/vandres/craft-matrix-extended/src/controllers/MatrixExtendedController.php", "line":144, "function":"cloneEntry", "class":"vandres\\matrixextended\\controllers\\MatrixExtendedController", "type":"->" }, { "file":"/var/www/html/vendor/vandres/craft-matrix-extended/src/controllers/MatrixExtendedController.php", "line":81, "function":"cloneEntry", "class":"vandres\\matrixextended\\controllers\\MatrixExtendedController", "type":"->" }, { "function":"actionDuplicateEntry", "class":"vandres\\matrixextended\\controllers\\MatrixExtendedController", "type":"->" }, { "file":"/var/www/html/vendor/yiisoft/yii2/base/InlineAction.php", "line":57, "function":"call_user_func_array" }, { "file":"/var/www/html/vendor/yiisoft/yii2/base/Controller.php", "line":178, "function":"runWithParams", "class":"yii\\base\\InlineAction", "type":"->" }, { "file":"/var/www/html/vendor/yiisoft/yii2/base/Module.php", "line":552, "function":"runAction", "class":"yii\\base\\Controller", "type":"->" }, { "file":"/var/www/html/vendor/craftcms/cms/src/web/Application.php", "line":349, "function":"runAction", "class":"yii\\base\\Module", "type":"->" }, { "file":"/var/www/html/vendor/craftcms/cms/src/web/Application.php", "line":650, "function":"runAction", "class":"craft\\web\\Application", "type":"->" }, { "file":"/var/www/html/vendor/craftcms/cms/src/web/Application.php", "line":311, "function":"_processActionRequest", "class":"craft\\web\\Application", "type":"->" }, { "file":"/var/www/html/vendor/yiisoft/yii2/base/Application.php", "line":384, "function":"handleRequest", "class":"craft\\web\\Application", "type":"->" }, { "file":"/var/www/html/web/index.php", "line":12, "function":"run", "class":"yii\\base\\Application", "type":"->" } ] }
Der Fehler taucht auf, wenn eines der verschachtelten Elemente ein EntryQuery beinhaltet, welches keine Matrix als Ziel hat.
EntryQuery
Fixed in v3.4.3