- This topic has 11 replies, 3 voices, and was last updated 3 years, 2 months ago by
Fernando.
-
AuthorPosts
-
February 22, 2023 at 3:40 am #2542367
Ravo
Hello everyone,
I am facing a critical error on a website that is hosted locally for the moment.
Context : I was trying to change an icon on the homepage when I noticed something wrong : not only the new icon did not show but the whole page (still in the back-office) started to freeze. So I closed the page. Re-opened it, and this thing showed up.
I did opening this “formatting.php” they are talking about but I do not understand a line …
Note, the rest of the website is working fine. It’s just the homepage that is out of control.
Can somebody please help me or at least tell me what this is about ?
Thank you very much
February 22, 2023 at 6:19 am #2542520David
StaffCustomer SupportHi there.
was the icon one of the pre-installed icons ? Or was it a custom icon ?
February 22, 2023 at 8:21 am #2542830Ravo
Hi David,
It was a custom icon 😔
February 22, 2023 at 9:52 am #2542952David
StaffCustomer SupportIt sounds like WP did not like what was in the SVG.
Where did that icon code come from ?
February 22, 2023 at 10:12 am #2542983Ravo
Yes I see that. It downloaded it from Canva as an SVG, then I copied/pasted the <svg> code… Lesson’s learned !
Is there any way I can restore the older versions of my homepage ?
February 22, 2023 at 10:23 am #2542998David
StaffCustomer SupportDid you have a backup of the site ?
February 23, 2023 at 1:49 am #2543670Ravo
I don’t think so, it’s still hosted on my computer for the moment, no live version.
February 23, 2023 at 1:55 am #2543675Fernando Customer Support
Hi Ravo,
If that’s the case, you can probably try to access your Homepage through the
wp_poststable of your database. You’ll need to look for the specific page and try to remove the Block code that contains the SVG you added.February 23, 2023 at 3:01 am #2543743Ravo
Hi Fernando,
Thanks a lot for your answer. I was so thrilled to do that, and I did it but nothing changed. I even erased all the latest versions from these couple days, still nothing.
So, I ended up creating a new homepage because I have no patience 😀
Funny thing is, when I tried to delete the problematic homepage, it showed an error page again. So I closed the website, reopened it, went to check the pages again … And poof, the bad guy was gone.
Thanks again for your help ! Now I’m off to rebuild my homepage (silver lining is : at least it’s not the whole website).
February 23, 2023 at 5:09 pm #2544711Fernando Customer Support
I see. You’re welcome, Ravo! We would recommend backup your site every now and then so that if something like this happens again, you won’t need to start from scratch anymore.
February 24, 2023 at 1:25 am #2545065Ravo
Thanks Fernando, yes I will do that from now on 🙂
February 24, 2023 at 1:28 am #2545068Fernando Customer Support
You’re welcome, Ravo! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.