add an image
The product is saved
...
An error occurred: Required parameter 'theme_dir' was not passed
same behaviour....
Note also if a product is updated, having deleted its image, a second error is shown:
Cannot gather stats! Warning!stat(): stat failed for /var/www/xxxxxxxx/pub/media/catalog/product/w/o/productimmage1.jpg
Please give max priority as this does not allow to add or update products at all
Thanks indeed
Same error here unable to upload an image to my product or change the configuration. even tried by ticking the box and selectin update attributes NEW THEME that doesn't
work either.
Required parameter 'theme_dir' was not passed
I tried deleting the product and adding a new and got this error. i tried FTP the images to that directory and still got the same error
I'm seeing this error regardless of weather I have an image or not. I also get "Update with id "0" does not exist." whenever I try and save a product.
I resolved the issue. In my case the problem was not Magento but a wrong operation I did time ago as follow:
I created a theme creating the relative path in app/design/frontend/MyFolder/MyTheme and registered it as explained in Magento 2 online documentation.
Then I decided to cancel the theme and instead to use the appropriate command:
bin/magento theme:uninstall frontend/MyFolder/MyTheme
I deleted the folders directly. This is not a good operation as the database is not updated with the due information.
Solution: with an editor of database as phpmyadmin, delete the record in the table "Theme" corrisponding to the deleted folders
Now I can update products without any issue
I hope this will help!
@sheldonli999 please look whether these tips help you and in case close the ticket. Thank you!
You my friend are a star i deleted a theme and forgot about it. all good now i just added and deleted a product :)
@didineedthis Happy you definitely resolved the issue and you can now proceed working again with Magento 2
Thanks again, Appreciated.
Thanks @afavata. I had the same problem.
Noted your comment @krapulat.Thanks
@afavata thank you so much! this issue need to be close and be alerted to magento 2 team
Thank you. ;)
Closed as seems to be not Magento issue.
@sheldonli999 if you still experience this problem please reopen the ticket with corresponding comment.
Thank you. Problem was solved.
thannks @afavata (y)
Most helpful comment
I resolved the issue. In my case the problem was not Magento but a wrong operation I did time ago as follow:
I created a theme creating the relative path in app/design/frontend/MyFolder/MyTheme and registered it as explained in Magento 2 online documentation.
Then I decided to cancel the theme and instead to use the appropriate command:
bin/magento theme:uninstall frontend/MyFolder/MyTheme
I deleted the folders directly. This is not a good operation as the database is not updated with the due information.
Solution: with an editor of database as phpmyadmin, delete the record in the table "Theme" corrisponding to the deleted folders
Now I can update products without any issue
I hope this will help!
@sheldonli999 please look whether these tips help you and in case close the ticket. Thank you!