You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-05-06 15:39:42 [web.ERROR] [TypeError] TypeError: craft\fields\BaseRelationField::_all(): Argument #1 ($query) must be of type craft\elements\db\ElementQueryInterface, Illuminate\Support\Collection given, called in E:\craft\filmdb\vendor\craftcms\cms\src\fields\BaseRelationField.php on line 509 and defined in E:\craft\filmdb\vendor\craftcms\cms\src\fields\BaseRelationField.php:1223
Stack trace:
#0 E:\craft\filmdb\vendor\craftcms\cms\src\fields\BaseRelationField.php(509): craft\fields\BaseRelationField->_all(Object(Illuminate\Support\Collection), Object(craft\elements\Entry))
#1 E:\craft\filmdb\vendor\craftcms\cms\src\elements\exporters\Expanded.php(65): craft\fields\BaseRelationField->serializeValue(Object(Illuminate\Support\Collection), Object(craft\elements\Entry))
#2 E:\craft\filmdb\vendor\craftcms\cms\src\controllers\ElementIndexesController.php(320): craft\elements\exporters\Expanded->export(Object(craft\elements\db\EntryQuery))
#3 [internal function]: craft\controllers\ElementIndexesController->actionExport()
#4 E:\craft\filmdb\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#5 E:\craft\filmdb\vendor\yiisoft\yii2\base\Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#6 E:\craft\filmdb\vendor\yiisoft\yii2\base\Module.php(552): yii\base\Controller->runAction('export', Array)
#7 E:\craft\filmdb\vendor\craftcms\cms\src\web\Application.php(301): yii\base\Module->runAction('element-indexes...', Array)
#8 E:\craft\filmdb\vendor\craftcms\cms\src\web\Application.php(625): craft\web\Application->runAction('element-indexes...', Array)
#9 E:\craft\filmdb\vendor\craftcms\cms\src\web\Application.php(280): craft\web\Application->_processActionRequest(Object(craft\web\Request))
#10 E:\craft\filmdb\vendor\yiisoft\yii2\base\Application.php(384): craft\web\Application->handleRequest(Object(craft\web\Request))
#11 E:\craft\filmdb\web\index.php(19): yii\base\Application->run()
#12 {main} {"memory":10953888,"exception":"[object] (TypeError(code: 0): craft\\fields\\BaseRelationField::_all(): Argument #1 ($query) must be of type craft\\elements\\db\\ElementQueryInterface, Illuminate\\Support\\Collection given, called in E:\\craft\\filmdb\\vendor\\craftcms\\cms\\src\\fields\\BaseRelationField.php on line 509 at E:\\craft\\filmdb\\vendor\\craftcms\\cms\\src\\fields\\BaseRelationField.php:1223)"}
What happened?
Description
Export throws error:
Steps to reproduce
Expected behavior
Export file gets created
Actual behavior
see above
/Mel
Craft CMS version
4.0,1
PHP version
8.0.15
Operating system and version
Windows 10
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: