Big problem: Fatal error: Call to undefined function

Loopkin -  
 Loopkin -
Hello,

I am setting up a blog with WordPress using the local Wamp server. Everything was fine until I tried to reinstall a theme (which I had already installed and then deleted). I received a window with a table and this message:

Fatal error: Call to undefined function sgwindow_get_defaults() in C:\wamp64\www\wordpress\wp-content\themes\layout-builder\functions.php on line 20

In the table, there is a lot of information about PHP files. I can no longer access my WP Backoffice; I'm stuck on this window when I go to localhost.

Thank you for your help!

2 answers

  1. elgazar Posted messages 5776 Registration date   Status Member Last intervention   1 330
     
    Hello, this error indicates that you are trying to use a function that does not exist, either because the file containing it has been deleted or because it contains an error
    .
    To partially resolve the issue, simply go to the folder www=>yoursite=>wp-content=>theme and rename the folder of the blocked theme; this will disable it and you will regain access to the wp administration
    --
    With a computer, we can do things more quickly that we wouldn't have needed to do without a computer.
    0
  2. Loopkin
     
    In the meantime, I deleted everything and reinstalled everything, but it was that simple haha! Thanks to you anyway :)
    0