Error opening/editing forms: Argument #4 ($properties) must be of type array, null given #13652
Open
1 task done
Labels
bug
Issues or PR's relating to bugs
pending-feedback
PR's and issues that are awaiting feedback from the author
Mautic Version
5.0.x series
Way of installing
I downloaded a release from https://www.mautic.org/mautic-releases
PHP version
8.0.30
What browsers are you seeing the problem on?
Not relevant
What happened?
Upgraded from 4.x to 5.0.4. Tried to open up an existing form and also tried creating a new form. A 500 error occurred, with the following info in the console:
How can we reproduce this issue?
Step 1: Upgrade to 5.0.4
Step 2: Open up an existing form OR create a new form then go to the 'fields' tab and try to add a new field (e.g. 'email)
Step 3: Note the 500 error in the console, go to the backend and see the logs as above.
NOTE: I managed to 'fix' this problem by modifying
public/app/bundles/LeadBundle/EventListener/FormSubscriber.php:L133
as follows:I don't know if this is a 'good' way of fixing the issue.
Code of Conduct
The text was updated successfully, but these errors were encountered: