On Product Save
Class Magento\Catalog\Model\Product\Attribute\Backend\Media does not exist
/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93
Any idea ?
From quick search https://github.com/magento/magento2/issues/2790#issuecomment-220233773 may help. Looks like Magento code and sample data versions are not in sync on your instance.
@ashvinimarwal
Do you mind adding some more details in accordance to our Issue reporting guidelines: with steps to reproduce, actual result and expected result. It will help us reproduce and troubleshoot the issue.
If the previously provided answer helped solve your issue, please close this ticket.
@misha-kotov
i have migrated magento data from 1.9.x to fresh magento 2.1.7 and now when i save new product it ive the following error
Class Magento\Catalog\Model\Product\Attribute\Backend\Media does not exist
/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php
Kindly see the screenshot.
How did you perform the data migration? Did you use our data migration tool by any chance?
i used this Tool and i have completed migration without any error.
Did you do http://devdocs.magento.com/guides/v2.1/comp-mgr/cli/cli-upgrade.html#upgrade-cli-upgr also? (the most important part is php bin/magento setup:upgrade).
Hi @orlangur ,
I also tried this but still facing the same issue.
now it's showing on frontend
Hi,
The class Backend/Media was removed in core. You can see diff in this commit https://github.com/magento/magento2/commit/0f0063045b50e1dafa260b97a1a00bf9fa92e74b#diff-7efc962fb113e767187c2ce8d5017415
But the eav attribute backend model class still in your database.
UPDATE
eav_attributeSETbackend_model= NULL,backend_type= 'static' WHEREattribute_code= 'media_gallery'
Make sure you have backup your database on safe place before you run this query.
You are late dear @zindont ,I have fixed this issue now.Anyways you are right,i did the same.
Thank you @victor-v-rad
Happy coding :)
I am facing this issue when I open Products - Categories
Class Magento\Catalog\Model\Category\FileInfo does not exist
@syed786hasan Try the solution provided by the @zindont
It will fix the issue.
Thanks.
Can you please share the soluion.
Unfortunately, I could not access the link you refered
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sat, Jan 6, 2018 at 8:56 PM, Ashvini Marwal notifications@github.com
wrote:
@syed786hasan https://github.com/syed786hasan Try the solution provided
by the @zindont https://github.com/zindont
It will fix the issue.
Thanks.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/10264#issuecomment-355755768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWAZ8szx4O04GolMrP7UrHgtw2Rkgv0ks5tH5efgaJpZM4OaOaG
.
--
Yours Truly
Syed Ali Hassan (0321-6116635)
Did you update the new source code for your magento. I see the FileInfo class exist here (version 2.2) https://github.com/magento/magento2/blob/2.2/app/code/Magento/Catalog/Model/Category/FileInfo.php . Please check and make sure you have this file
No I am still using 2.1.7 and problem persists here
On Jan 8, 2018 7:56 AM, "HỒ TRỌNG LINH ÂN" notifications@github.com wrote:
Did you update the new source code for your magento. I see the FileInfo
class exist here (version 2.2) https://github.com/magento/
magento2/blob/2.2/app/code/Magento/Catalog/Model/Category/FileInfo.php .
Please check and make sure you have this file—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/10264#issuecomment-355876077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWAZ8TJT_3h7CIv0sbyHhP5REDKCD9sks5tIYPfgaJpZM4OaOaG
.
Which one you are using: a migrated or clear version of magento
Migrated
On Jan 8, 2018 8:45 AM, "HỒ TRỌNG LINH ÂN" notifications@github.com wrote:
Which one you are using: a migrated or clear version of magento
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/10264#issuecomment-355879630,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWAZ3L1RjtNnj1z9zPa-ZR_6ze0hNCbks5tIY90gaJpZM4OaOaG
.
Hi Dear
Awaiting your reply please
On Jan 8, 2018 9:05 AM, "Syed Hassan" syed786hasan@gmail.com wrote:
Migrated
On Jan 8, 2018 8:45 AM, "HỒ TRỌNG LINH ÂN" notifications@github.com
wrote:Which one you are using: a migrated or clear version of magento
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/10264#issuecomment-355879630,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWAZ3L1RjtNnj1z9zPa-ZR_6ze0hNCbks5tIY90gaJpZM4OaOaG
.
Sorry
It is not a migrated version
We just completed a successful domain change recently
On Jan 8, 2018 9:05 AM, "Syed Hassan" syed786hasan@gmail.com wrote:
Migrated
On Jan 8, 2018 8:45 AM, "HỒ TRỌNG LINH ÂN" notifications@github.com
wrote:Which one you are using: a migrated or clear version of magento
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/10264#issuecomment-355879630,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWAZ3L1RjtNnj1z9zPa-ZR_6ze0hNCbks5tIY90gaJpZM4OaOaG
.
Most helpful comment
Hi,
The class Backend/Media was removed in core. You can see diff in this commit https://github.com/magento/magento2/commit/0f0063045b50e1dafa260b97a1a00bf9fa92e74b#diff-7efc962fb113e767187c2ce8d5017415
But the eav attribute backend model class still in your database.
Make sure you have backup your database on safe place before you run this query.