TransWikia.com

Super Table Field error while editing the content

Craft CMS Asked by Bhashkar Yadav on March 21, 2021

I have created a global field combined with Matrix and Super Table. Unfortunately getting error Return value of verbbsupertableelementsSuperTableBlockElement::getContentTable() must be of the type string, null returned while updating it –

TypeError: Return value of verbbsupertableelementsSuperTableBlockElement::getContentTable() must be of the type string, null returned in /opt/bitnami/nginx/vendor/verbb/super-table/src/elements/SuperTableBlockElement.php:322
Stack trace:
#0 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Content.php(157): verbbsupertableelementsSuperTableBlockElement->getContentTable()
#1 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Elements.php(2363): craftservicesContent->saveContent(Object(verbbsupertableelementsSuperTableBlockElement))
#2 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Elements.php(705): craftservicesElements->_saveElementInternal(Object(verbbsupertableelementsSuperTableBlockElement), false, false, true)
#3 /opt/bitnami/nginx/vendor/verbb/super-table/src/services/SuperTableService.php(773): craftservicesElements->saveElement(Object(verbbsupertableelementsSuperTableBlockElement), false)
#4 /opt/bitnami/nginx/vendor/verbb/super-table/src/fields/SuperTableField.php(1028): verbbsupertableservicesSuperTableService->saveField(Object(verbbsupertablefieldsSuperTableField), Object(craftelementsMatrixBlock))
#5 /opt/bitnami/nginx/vendor/craftcms/cms/src/base/Element.php(3196): verbbsupertablefieldsSuperTableField->afterElementPropagate(Object(craftelementsMatrixBlock), false)
#6 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Elements.php(2393): craftbaseElement->afterPropagate(false)
#7 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Elements.php(705): craftservicesElements->_saveElementInternal(Object(craftelementsMatrixBlock), false, false, true)
#8 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Matrix.php(728): craftservicesElements->saveElement(Object(craftelementsMatrixBlock), false)
#9 /opt/bitnami/nginx/vendor/craftcms/cms/src/fields/Matrix.php(988): craftservicesMatrix->saveField(Object(craftfieldsMatrix), Object(craftelementsGlobalSet))
#10 /opt/bitnami/nginx/vendor/craftcms/cms/src/base/Element.php(3196): craftfieldsMatrix->afterElementPropagate(Object(craftelementsGlobalSet), false)
#11 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Elements.php(2393): craftbaseElement->afterPropagate(false)
#12 /opt/bitnami/nginx/vendor/craftcms/cms/src/services/Elements.php(705): craftservicesElements->_saveElementInternal(Object(craftelementsGlobalSet), true, false, true)
#13 /opt/bitnami/nginx/vendor/craftcms/cms/src/controllers/GlobalsController.php(252): craftservicesElements->saveElement(Object(craftelementsGlobalSet))
#14 [internal function]: craftcontrollersGlobalsController->actionSaveContent()
#15 /opt/bitnami/nginx/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#16 /opt/bitnami/nginx/vendor/yiisoft/yii2/base/Controller.php(180): yiibaseInlineAction->runWithParams(Array)
#17 /opt/bitnami/nginx/vendor/craftcms/cms/src/web/Controller.php(189): yiibaseController->runAction('save-content', Array)
#18 /opt/bitnami/nginx/vendor/yiisoft/yii2/base/Module.php(528): craftwebController->runAction('save-content', Array)
#19 /opt/bitnami/nginx/vendor/craftcms/cms/src/web/Application.php(280): yiibaseModule->runAction('globals/save-co...', Array)
#20 /opt/bitnami/nginx/vendor/craftcms/cms/src/web/Application.php(583): craftwebApplication->runAction('globals/save-co...', Array)
#21 /opt/bitnami/nginx/vendor/craftcms/cms/src/web/Application.php(259): craftwebApplication->_processActionRequest(Object(craftwebRequest))
#22 /opt/bitnami/nginx/vendor/yiisoft/yii2/base/Application.php(386): craftwebApplication->handleRequest(Object(craftwebRequest))
#23 /opt/bitnami/nginx/html/index.php(22): yiibaseApplication->run()
#24 {main}

I am using:


PHP v7.2.26
Craft CMS v3.5.10.1
Super Table v2.6.3


Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP