Site logo

[Resolved] Critical error on my homepage

Home Forums Support [Resolved] Critical error on my homepage

Home Forums Support Critical error on my homepage

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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.

    Screenshot critical error
    (link to the screenshot)

    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

    #2542520
    David
    Staff
    Customer Support

    Hi there.

    was the icon one of the pre-installed icons ? Or was it a custom icon ?

    #2542830
    Ravo

    Hi David,

    It was a custom icon 😔

    #2542952
    David
    Staff
    Customer Support

    It sounds like WP did not like what was in the SVG.

    Where did that icon code come from ?

    #2542983
    Ravo

    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 ?

    #2542998
    David
    Staff
    Customer Support

    Did you have a backup of the site ?

    #2543670
    Ravo

    I don’t think so, it’s still hosted on my computer for the moment, no live version.

    #2543675
    Fernando
    Customer Support

    Hi Ravo,

    If that’s the case, you can probably try to access your Homepage through the wp_posts table 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.

    #2543743
    Ravo

    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).

    #2544711
    Fernando
    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.

    #2545065
    Ravo

    Thanks Fernando, yes I will do that from now on 🙂

    #2545068
    Fernando
    Customer Support

    You’re welcome, Ravo! 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.