mask icon indicating copy to clipboard operation
mask copied to clipboard

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

Open matin73 opened this issue 1 year ago • 1 comments

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

matin73 avatar Aug 19 '24 12:08 matin73

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.

nhovratov avatar Oct 18 '24 19:10 nhovratov

Closing as it's not a bug.

nhovratov avatar May 16 '25 18:05 nhovratov