Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Calling unknown method SuperTableField::blocktypes() #1568

Open
chrismlusk opened this issue Jan 3, 2025 · 0 comments
Open

[6.x] Calling unknown method SuperTableField::blocktypes() #1568

chrismlusk opened this issue Jan 3, 2025 · 0 comments
Labels

Comments

@chrismlusk
Copy link

Description

Working on a Craft 4 → 5 migration, and when testing Feed Me, I cannot access the field mapping page in the admin for any feed mapped to elements where the field layout includes a Super Table field.

Stack trace

Twig\Error\RuntimeError: Calling unknown method: verbb\supertable\fields\SuperTableField::blocktypes() in /var/www/html/app/vendor/craftcms/feed-me/src/templates/_includes/fields/super-table.html:30
Stack trace:
#0 /var/www/html/app/storage/runtime/compiled_templates/45/454664129499a6ded41636cd24e8dad8.php(112): craft\helpers\Template::attribute()
#1 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_cd97fc757a099295e7fed5388c01cbe0->doDisplay()
#2 /var/www/html/app/storage/runtime/compiled_templates/d1/d19f9d613e0b8338b9f7af506454c61d.php(236): Twig\Template->yield()
#3 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_d126637098ae0ac7e9d1dc9c9b0ad793->doDisplay()
#4 /var/www/html/app/storage/runtime/compiled_templates/64/646fdcde212cfba9d5abd436073da249.php(182): Twig\Template->yield()
#5 /var/www/html/app/vendor/twig/twig/src/Template.php(437): __TwigTemplate_2773625e2771f869c92ad98bf59fd889->block_content()
#6 /var/www/html/app/storage/runtime/compiled_templates/70/70f2d26ed1a823f1b8e7c98d8132c4bd.php(672): Twig\Template->yieldBlock()
#7 /var/www/html/app/vendor/twig/twig/src/Template.php(437): __TwigTemplate_33e183633de8046eabc36a7e688debd8->block_main()
#8 /var/www/html/app/storage/runtime/compiled_templates/70/70f2d26ed1a823f1b8e7c98d8132c4bd.php(399): Twig\Template->yieldBlock()
#9 /var/www/html/app/vendor/twig/twig/src/Template.php(437): __TwigTemplate_33e183633de8046eabc36a7e688debd8->block_body()
#10 /var/www/html/app/storage/runtime/compiled_templates/59/595e3936128428aaec3a44a8ed2de8ac.php(105): Twig\Template->yieldBlock()
#11 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_bcc2e85883763522dc4c4f6d6a29a2fe->doDisplay()
#12 /var/www/html/app/storage/runtime/compiled_templates/ef/efcb704b1071343ab20b34d02b3f6c33.php(61): Twig\Template->yield()
#13 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_114f1c3b260101a7580dc1e9eadcdc57->doDisplay()
#14 /var/www/html/app/storage/runtime/compiled_templates/70/70f2d26ed1a823f1b8e7c98d8132c4bd.php(175): Twig\Template->yield()
#15 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_33e183633de8046eabc36a7e688debd8->doDisplay()
#16 /var/www/html/app/storage/runtime/compiled_templates/ba/ba77e47e39d20868cf9c37d1214b191c.php(62): Twig\Template->yield()
#17 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_fbe10a80e715e437777823c0924c4c7a->doDisplay()
#18 /var/www/html/app/storage/runtime/compiled_templates/64/646fdcde212cfba9d5abd436073da249.php(85): Twig\Template->yield()
#19 /var/www/html/app/vendor/twig/twig/src/Template.php(393): __TwigTemplate_2773625e2771f869c92ad98bf59fd889->doDisplay()
#20 /var/www/html/app/vendor/twig/twig/src/Template.php(349): Twig\Template->yield()
#21 /var/www/html/app/vendor/twig/twig/src/Template.php(364): Twig\Template->display()
#22 /var/www/html/app/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render()
#23 /var/www/html/app/vendor/twig/twig/src/Environment.php(306): Twig\TemplateWrapper->render()
#24 /var/www/html/app/vendor/craftcms/cms/src/web/View.php(544): Twig\Environment->render()
#25 /var/www/html/app/vendor/craftcms/cms/src/web/View.php(597): craft\web\View->renderTemplate()
#26 /var/www/html/app/vendor/craftcms/cms/src/web/TemplateResponseFormatter.php(57): craft\web\View->renderPageTemplate()
#27 /var/www/html/app/vendor/yiisoft/yii2/web/Response.php(1109): craft\web\TemplateResponseFormatter->format()
#28 /var/www/html/app/vendor/craftcms/cms/src/web/Response.php(341): yii\web\Response->prepare()
#29 /var/www/html/app/vendor/yiisoft/yii2/web/Response.php(340): craft\web\Response->prepare()
#30 /var/www/html/app/vendor/yiisoft/yii2/base/Application.php(390): yii\web\Response->send()
#31 /var/www/html/app/web/index.php(12): yii\base\Application->run()
#32 {main}

Steps to reproduce

  1. In a Craft 4 app, have an existing Feed Me feed for an entry type that includes a Super Table field.
  2. Upgrade to Craft 5.
  3. Attempt to access the field mapping page in the admin.

Additional info

  • Craft version: 5.5.7
@chrismlusk chrismlusk added the bug label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant