magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

[Urgent] All Products and design gone on front end Magento #29745

Closed magentodev1 closed 4 years ago

magentodev1 commented 4 years ago

Some may know but there is a thing called "Yotpo" it basically puts a review widget or something of some sort on each product. it came preinstalled with my Porto template. I made a copy of the yotpo file and put it on my local directory. then edited the copy and put it back into the yotpo file and my website now no longer shows any product.

Preconditions (*)

  1. Magento 2
  2. Core ftp
  3. Porto Template

    Steps to reproduce (*)

  4. I wanted to remove yotpo services so I went to the core ftp and from there public_html>vendor>yotpo
  5. Now I copied the original file for backup and basically edited and put it back but it didnt so anything so I deleted the copy I put back in and let it be so it was as when I first saw the yotpo file. So its the original

Expected result (*)

  1. I expected the website to go back to normal as if I had edited nothing.

Actual result (*)

  1. When I went back to my website it showed no products and design is gone. Only said this on the homepage "We're sorry, an error has occurred while generating this content." Capture1

  2. when i checked the admin panel it showed this Capture

  3. Now I am stuck here not sure what to do, Ik I am a newbie at this and shouldn't have touched a file without knowing what I am doing


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 4 years ago

Hi @magentodev1. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

mrtuvn commented 4 years ago

Check log so you can reveal some caused problem. In case you want to remove yotpo update composer with this below to removes optional modules https://github.com/yireo/magento2-replace-bundled

mrtuvn commented 4 years ago

"We're sorry, an error has occurred while generating this content." is meaning something went wrong . Take a look at folder var/log in root magento folder

magentodev1 commented 4 years ago

Alright guys, I solved my problem simply by manually running the cron jobs and re indexing. Although I was not able to delete the The extremely headache of a module more as a virus "Yotpo" I am just glad the website is working. I'll look into the links provided and see what I can do with Yotpo. Really held me far back from putting the website into production