christianbarkowsky / contao-tabcontrol

Contao Extension :: Tabcontrol
https://brkwsky.de/tabcontrol-contao
8 stars 4 forks source link

Exception: There is no "plentatabcontrol" asset package. #57

Open blacktoby opened 5 months ago

blacktoby commented 5 months ago

Hello to everyone, we have upgraded Contao from 4.13.6 to >=4.13.28 (4.13.39 as of today). Unfortunately the tabcontrol extension stopped working. At first, the element type in the backend wasn't available anymore. After reinstalling the extension, we could select and create a tabcontrol element again (see image below). But we still get a 500 error when opening the site, which contains the tabcontrol element. The log of contao states following:

request.CRITICAL: Uncaught PHP Exception Symfony\Component\Asset\Exception\InvalidArgumentException: 
"There is no "plentatabcontrol" asset package." at /var/www/vendor/symfony/asset/Packages.php line 71 
{"exception":"[object] (Symfony\\Component\\Asset\\Exception\\InvalidArgumentException(code: 0): There is no \"plentatabcontrol\" asset package. at /var/www/vendor/symfony/asset/Packages.php:71)"} []

We tried a few things: explicitly removing the extensions and installing it again or running contao:migrate, but without success.

The installed tabcontrol Version is 3.0.19:

# find . -name "*tabcontrol*"
./public/bundles/plentatabcontrol
./.composer/cache/files/christianbarkowsky/tabcontrol
./.composer/cache/repo/https---repo.packagist.org/provider-christianbarkowsky~tabcontrol.json
./vendor/christianbarkowsky/tabcontrol
./vendor/christianbarkowsky/tabcontrol/assets/js/moo_tabcontrol.js
./vendor/christianbarkowsky/tabcontrol/src/Plenta/TabControl/Resources/contao/templates/ce_tabcontrol_end.html5
./vendor/christianbarkowsky/tabcontrol/src/Plenta/TabControl/Resources/contao/templates/ce_tabcontrol_start.html5
./vendor/christianbarkowsky/tabcontrol/src/Plenta/TabControl/Resources/contao/templates/ce_tabcontrol_tab.html5
./vendor/christianbarkowsky/tabcontrol/src/Plenta/TabControl/Resources/contao/templates/ce_tabcontrol_stop.html5

What is the reason for this error? How can we fix it?

Thanks in advance!

image