You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a Docker container of davis:v4.2.0 in production where I tried editing a user's addressbook through the admin interface and got a 500 error back.
The prod log has the following;
request.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\InvalidArgumentException: "Could not load type "App\Controller\Admin\AddressBookType": class does not exist." at /var/www/davis/vendor/symfony/form/FormRegistry.php line 83 {"exception":"[object] (Symfony\\Component\\Form\\Exception\\InvalidArgumentException(code: 0): Could not load type \"App\\Controller\\Admin\\AddressBookType\": class does not exist. at /var/www/davis/vendor/symfony/form/FormRegistry.php:83)"
Checking src/Controller/Admin/AddressBookController.php and the previous src/Controller/AdminController.php it seems use App\Form\AddressBookType; has been omitted, and adding that fixes the issue.
I hope this helps.
The text was updated successfully, but these errors were encountered:
Hi,
I'm running a Docker container of davis:v4.2.0 in production where I tried editing a user's addressbook through the admin interface and got a 500 error back.
The prod log has the following;
request.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\InvalidArgumentException: "Could not load type "App\Controller\Admin\AddressBookType": class does not exist." at /var/www/davis/vendor/symfony/form/FormRegistry.php line 83 {"exception":"[object] (Symfony\\Component\\Form\\Exception\\InvalidArgumentException(code: 0): Could not load type \"App\\Controller\\Admin\\AddressBookType\": class does not exist. at /var/www/davis/vendor/symfony/form/FormRegistry.php:83)"
Checking
src/Controller/Admin/AddressBookController.php
and the previoussrc/Controller/AdminController.php
it seemsuse App\Form\AddressBookType;
has been omitted, and adding that fixes the issue.I hope this helps.
The text was updated successfully, but these errors were encountered: