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
after update to 4.7.2 error preg_match() #3
Comments
I am unable to reproduce the error. Can you please post the complete stack trace? |
TypeError:
|
This error is caused by the - $GLOBALS['TL_DCA']['tl_content']['palettes'][$key] .= ';{data_attributes_legend},add_data_attributes;';
+ $GLOBALS['TL_DCA']['tl_content']['palettes'][$key] .= ';{data_attributes_legend},add_data_attributes'; (or just adjust it yourself) |
See also contao/contao#421 |
Thanks for your help! |
after update to 4.7.2 you can't edit articles.
Log Error:
[2019-04-03 15:12:41] request.CRITICAL: Uncaught PHP Exception TypeError: "preg_match() expects parameter 2 to be string, null given" at /var/www/html/.../vendor/contao/core-bundle/src/DataContainer/PaletteManipulator.php line 199 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): preg_match() expects parameter 2 to be string, null given at /var/www/html/.../vendor/contao/core-bundle/src/DataContainer/PaletteManipulator.php:199)"} []
app_dev | TypeError in
in vendor/inspiredminds/contao-wowjs/src/Resources/contao/dca/tl_content.php->applyToPalette (line 190) ->applyToPalette($key, 'tl_content');
After uninstalling this package, it worked again.
Are you still maintaining this package?
The text was updated successfully, but these errors were encountered: