lochmueller / focuspoint

🌅 Smartest TYPO3 Crop Tool ever 🌅
http://typo3.org/extensions/repository/view/focuspoint
22 stars 23 forks source link

Installation via Composer not possible #89

Closed devtroll closed 1 year ago

devtroll commented 2 years ago

Installation via Composer fails due to the following error message.

Warning: Undefined array key "image_settings" in /var/www/html/public/typo3conf/ext/focuspoint/Configuration/TCA/Overrides/tt_content.php line 156

Environment:

Can u fix this? Thanks :)

lochmueller commented 2 years ago

Hey @devtroll

Feel free to send a pull request. Error should be fixed after change this:

if (\is_array($GLOBALS['TCA']['tt_content']['palettes'][$p])) {

To this:

if (\is_array($GLOBALS['TCA']['tt_content']['palettes'][$p] ?? null)) {

I will check this later...

Regards, Tim