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

Error when trying to uninstall site package: Expected content_elements_folder to be a correct file system path. The value "" was given. #637

Open
matin73 opened this issue Aug 19, 2024 · 1 comment

Comments

@matin73
Copy link

matin73 commented Aug 19, 2024

I have installed latest TYPO3 12 and Mask via composer. If I want to uninstall my site package via SSH command:

composer remove xx-xx/xxx-theme
php vendor/bin/typo3 extension:setup

I get following error:
Uncaught TYPO3 Exception #1639218892: Expected content_elements_folder to be a correct file system path. The value "" was given.
thrown in file /usr/www/users/xx/xx/vendor/mask/mask/Classes/Loader/JsonSplitLoader.php in line 106

But there is imho correct setting:
'content_elements_folder' => 'EXT:xxx_theme/Configuration/Mask/ContentElements',

Mask is also working correct in frontend. All content elements are shown in frontend before trying to remove site package.

Martin

@nhovratov
Copy link
Collaborator

Hey, sorry for the late answer. I can reproduce it. However, this is correct behavior, as a composer remove removes your extension from the file system, so Mask can't load it anymore. The error message could be better for sure.

The correct way to do it, is to reset the Mask configuration, and after that remove the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants