Update to 3.2.0 (and 3.2.1) results in PHP notice

Just noticed this PHP notice in the log. Wondering if this has something to do with PHP 7.4.x 's stricter error reporting, or that there’s some sort of bug …

This log entry happens when creating a new email.

[2020-12-03 10:17:00] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type null - in file /var/www/folder/htdocs/app/bundles/EmailBundle/Views/FormTheme/Email/emailform_dynamicContent_entry_filters_entry_filters_entry_widget.html.php - at line 14 {“mauticTemplateVars”:{“app”:“[object] (Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables: {})”,“value”:null,“attr”:{“class”:“form-control”},“form”:“[object] (Symfony\Component\Form\FormView: null)”,“id”:"emailform_dynamicContent_0_filters_0_filters___name_“,“name”:“name”,“full_name”:“emailform[dynamicContent][0][filters][0][filters][name]”,“disabled”:false,“label”:false,“label_format”:null,“multipart”:false,“block_prefixes”:[“form”,“dynamic_content_filter_entry_filters”,”_emailform_dynamicContent_entry_filters_entry_filters_entry"],“unique_block_prefix”:“_emailform_dynamicContent_entry_filters_entry_filters_entry”,“translation_domain”:null,“cache_key”:“emailform_dynamicContent_entry_filters_entry_filters_entry_dynamic_content_filter_entry_filters",“errors”:“[object] (Symfony\Component\Form\FormErrorIterator: )”,“valid”:true,“data”:null,“required”:true,“size”:null,“label_attr”:[],“compound”:true,“method”:“POST”,“action”:“”,“submitted”:false,“mauticContent”:“email”,“mauticTemplate”:"MauticEmailBundle:FormTheme\Email:emailform_dynamicContent_entry_filters_entry_filters_entry_widget.html.php",“view”:“[object] (Mautic\CoreBundle\Templating\Engine\PhpEngine: {})”},“app”:“[object] (Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables: {})”,“value”:null,“attr”:{“class”:“form-control”},“form”:“[object] (Symfony\Component\Form\FormView: null)”,“id”:"emailform_dynamicContent_0_filters_0_filters___name”,“name”:“name”,“full_name”:“emailform[dynamicContent][0][filters][0][filters][name]”,“disabled”:false,“label”:false,“label_format”:null,“multipart”:false,“block_prefixes”:[“form”,“dynamic_content_filter_entry_filters”,“_emailform_dynamicContent_entry_filters_entry_filters_entry”],“unique_block_prefix”:“_emailform_dynamicContent_entry_filters_entry_filters_entry”,“translation_domain”:null,“cache_key”:“_emailform_dynamicContent_entry_filters_entry_filters_entry_dynamic_content_filter_entry_filters”,“errors”:“[object] (Symfony\Component\Form\FormErrorIterator: )”,“valid”:true,“data”:null,“required”:true,“size”:null,“label_attr”:,“compound”:true,“method”:“POST”,“action”:“”,“submitted”:false,“mauticContent”:“email”,“mauticTemplate”:“MauticEmailBundle:FormTheme\Email:_emailform_dynamicContent_entry_filters_entry_filters_entry_widget.html.php”,“view”:“[object] (Mautic\CoreBundle\Templating\Engine\PhpEngine: {})”,“isPrototype”:true,“filterType”:“”,“filterGroup”:“”}

Does anyone have an idea?

Lex

1 Like

2 posts were merged into an existing topic: Notices - Trying to access array offset on value of type null