• I was working on a very slow wordpress admin area. So i wanted to delete any plugins i wasnt using.

    I deactivated Updraft backup plugin

    then i pressed delete the plugin.

    it started to delete the plugin the the site crashed and showed fatal error message.

    Now when i try to login to the website it says:

    [14-May-2020 21:35:59 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function phpdefine() in /home/rizbit/public_html/mysite.xyz/wp-config.php:1
    Stack trace:
    #0 /home/rizbit/public_html/mysite.xyz/wp-load.php(37): require_once()
    #1 /home/rizbit/public_html/mysite.xyz/wp-blog-header.php(13): require_once('/home/rizbit/pu...')
    #2 /home/rizbit/public_html/mysite.xyz/index.php(17): require('/home/rizbit/pu...')
    #3 {main}
      thrown in /home/rizbit/public_html/mysite.xyz/wp-config.php on line 1
    [14-May-2020 21:36:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/rizbit/public_html/mysite.xyz/wp-blog-header.php:16
    Stack trace:
    #0 /home/rizbit/public_html/mysite.xyz/index.php(17): require()
    #1 {main}
      thrown in /home/rizbit/public_html/mysite.xyz/wp-blog-header.php on line 16
    [14-May-2020 21:36:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function force_ssl_admin() in /home/rizbit/public_html/mysite.xyz/wp-login.php:15
    Stack trace:
    #0 {main}
      thrown in /home/rizbit/public_html/mysite.xyz/wp-login.php on line 15
    [14-May-2020 21:36:30 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/rizbit/public_html/mysite.xyz/wp-blog-header.php:16
    Stack trace:
    #0 /home/rizbit/public_html/mysite.xyz/index.php(17): require()
    #1 {main}
      thrown in /home/rizbit/public_html/mysite.xyz/wp-blog-header.php on line 16
    [14-May-2020 21:36:30 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function force_ssl_admin() in /home/rizbit/public_html/mysite.xyz/wp-login.php:15
    Stack trace:
    #0 {main}
      thrown in /home/rizbit/public_html/mysite.xyz/wp-login.php on line 15

    Now this error
    Call to undefined function phpdefine()

    I sort of fixed this because even though define() was on a new line the server was picking it up as phpdefine() which doesnt make sense.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Look at wp-config.php, since that’s where the error chain starts. What are the first few lines?

    Is there anything before the opening <?php ?

    Thread Starter rizbit

    (@rizbit)

    <?php
    
     define('WP_CACHE', true); // Added by Cache Enabler
    
    /**
    
     * The base configuration for WordPress
    
     *
    Thread Starter rizbit

    (@rizbit)

    I did backups of database and all files on ftp
    i then reinstalled wordpress using installatron setting to use the same db
    it then used a different table prefix called wp_2
    installed over the existing wp location
    i was the able to login to admin dashboard area
    but it was like a blank template with the themes from previous installation
    i then changed table prefix back to wp_ in installatron settings
    now the website loaded but the wp admin area didnt same fatal eror issue.
    i then looked at the wp_options table
    i saw that for some reason the auth_salt and logged_in_salt values were different than the ones in the wp_config (why i dont know, or maybe its not the issue?)
    but after changing these and also ‘active_plugins’ value i was able to access the wp admin area again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cant login or access site after deleting plugin’ is closed to new replies.