Jump to content

Backoffice Product Image Detail Box InvalidArgumentException


jaydeeat

Recommended Posts

On our Prestashop 1.7.2.4 installation we have a problem with changing product image in backoffice. if we click on an product image in backoffice the info box left is empty. on debug we get http 500 error with this informations

(1/1) InvalidArgumentException

Could not load type "form"

in FormRegistry.php (line 85)
at FormRegistry->getType('form')in FormFactory.php (line 74)
at FormFactory->createNamedBuilder('form_image', 'form', array('id' => 3, 'id_product' => '3', 'position' => '1', 'cover' => true, 'legend' => array(''), 'format' => 'jpg', 'base_image_url' => '/img/p/3/3'), array('csrf_protection' => false, 'data' => array('id' => 3, 'id_product' => '3', 'position' => '1', 'cover' => true, 'legend' => array(''), 'format' => 'jpg', 'base_image_url' => '/img/p/3/3')))in ProductImageController.php (line 131)
at ProductImageController->formAction('3', object(Request))
at call_user_func_array(array(object(ProductImageController), 'formAction'), array('3', object(Request)))in HttpKernel.php (line 153)
at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php (line 68)
at HttpKernel->handle(object(Request), 1, false)in Kernel.php (line 169)
at Kernel->handle(object(Request), 1, false)in index.php (line 93)

 

Any solutions?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...