Sitepackage MyExt not found

Hi,

I recently started learning Typo3 for a mini Project of a friend. I “was” a experienced Wordpress Dev (till version 4 :wink: ), from which I moved to c# & Angular development. I am still trying to wrapp my head around the concepts in Typo3 (compared to WP), and I think I slowly get it, but still need some more time, as there a lot of new stuff that happend from version 12?. Meaning their is the new and the legacy way etc.

So, I created a sitepackage with the Bootstrap Package selected and for the latest version 13.4.2. Locally I installed it via ddev and composer and everything works fine!

Now I wanted to checkout the hosting account of the friend, he uses Strato and I Auto Installed Typo3 version 13.4.2. As it is a shared account, the installation is done in the “legacy” mode, no composer.

When I now navigate to the extensions and upload my sitepackage, it says “Extension MyExt is not available”. Tried a few different options on the site package side (not checking Bootstrap), getting the same error. When I disable under Settings->Extension Configuration the “Install extensions automatically after download from TER or file upload”, it will upload and show up under local.

When I activate it, I get a 503:

Too few arguments to function BK2K\BootstrapPackage\ExpressionLanguage\ExtensionConfigurationWrapper::__construct(), 0 passed in /-/app/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 2808 and exactly 1 expected.

It seems like my package and the bootstrap package is activated, but I am not sure if it 100% working, need to start testing now.

Any Idea why I am having such troubles activating the site package. Is my install somehow missing something?

Thx!

Did you already try to flush the caches and “dump autoloading information” via the TYPO3 install tool? That can often help in these kind of situations.

2 Likes

thx, yes, did try that but no help. It seems it’s linked to the bootstrap package, as when I activate it, then the error message pop ups… but it seems that everything works fine… There is even a github issue to it: 503 Oops, an error occurred! Too few arguments to function in GeneralUtility.php on line 2808 · Issue #1540 · benjaminkott/bootstrap_package · GitHub

Not sure what to do with it. gonna try it standalone to see if it is because its site packaged or a general issue.

sounds like you mismatch versions, when API has changed.

1 Like

Hi @nickgeer!

As @piphi suggests, this is likely related to incompatible versions, where the API has changed. Have you checked the different versions?

Installing TYPO3 and extensions using Composer will usually avoid such issues. Feel free to check out the Migrate TYPO3 Project to Composer guide in the documentation:

https://docs.typo3.org/m/typo3/guide-installation/10.4/en-us/MigrateToComposer/Index.html