cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal Error: 'Uncaught Error

Fatal Error: 'Uncaught Error

s:1147:"Fatal Error: 'Uncaught Error: Call to a member function clearMediaAttribute() on null in /ProductRepository.php:532 Stack trace: #0 /ProductRepository.php(592): \ProductRepository->processMediaGallery(Object(Magento\Catalog\Model\Product\Interceptor), Array) #1 [internal function]: \ProductRepository->save(Object(\Product\Interceptor), false) #2 /Interceptor.php(74): call_user_func_array(Array, Array) #3 /Chain.php(70): \ProductRepository\Interceptor->___callParent('save', Array) #4 /Chain.php(63): \Chain->invokeNext('Magento\\Catalog...', 'save', Object' in '/ProductRepository.php' on line 532";

1 REPLY

Re: Fatal Error: 'Uncaught Error

Hi @RB10100,


You should provide more information about your error.

Php version, Magento version, on which page, which theme. Isn't possible to help without having context.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"