Class 'InstituteWeb\Unroll\Xclass\UnrolledSplitButton' not found
After installing this extension under TYPO3 8.7.7 using composer, I get this error message:
Class 'InstituteWeb\Unroll\Xclass\UnrolledSplitButton' not found
I double checked all class pathes for wrong spelling or case, do "composer dumpautoload", cleared all known caches, but no changes.
I use composer since the beginning, and had never a problem like this. All other extensions (of course, also installed by composer) are working.
I work under macOS, but my development system runs inside docker under ubuntu 16.04.
Comments (3)
-
-
Account Deleted I get the same error, maybe this is a caching-problem of packagist (is this possible?)? strange.
- On a FRESH 8.7.8 composer-install (new server, too) I added the following line to required-section
- "instituteweb/unroll": "^2.0"
- shell "./composer.phar update"
- Extension is loaded, everything looks fine
- packagestates are created by typo3-console --> @php vendor/helhum/typo3-console/Scripts/typo3cms install:generatepackagestates
But then I try to add a new Content-Element (Wizard opens), after clicking a CE-Icon in the wizard I get the error.
Class 'InstituteWeb\Unroll\Xclass\UnrolledSplitButton' not found
The strange thing is that I get wrong paths in the autoload files:
vendor/composer/autoload_psr4.php
'InstituteWeb\\Unroll\\' => array($baseDir . '/web/typo3conf/ext/rx_unrollsavebuttons/Classes'),
/vendor/composer/autoload_static.php
'InstituteWeb\\Unroll\\' => array ( 0 => __DIR__ . '/../..' . '/web/typo3conf/ext/rx_unrollsavebuttons/Classes', ),
I also tried a grep in typo3conf/ext/unroll for "rx_unrollsavebuttons", but only found the following entries (no problem here):
unroll/composer.json
"replace": { "unroll": "self.version", "typo3-ter/unroll": "self.version", "rx_unrollsavebuttons": "*", "reelworx/rx-unrollsavebuttons": "*" },
unroll/ext_emconf.php
'conflicts' => [ 'rx_unrollsavebuttons' => '1.0.0-1.99.99', ],
after I corrected the path MANUALLY, everything worked fine.
vendor/composer/autoload_psr4.php
'InstituteWeb\\Unroll\\' => array($baseDir . '/web/typo3conf/ext/unroll/Classes'),
/vendor/composer/autoload_static.php
'InstituteWeb\\Unroll\\' => array ( 0 => __DIR__ . '/../..' . '/web/typo3conf/ext/unroll/Classes', ),
-
Account Deleted - Log in to comment
The error message appears after trying to open a content element.