WordPress.org

Ready to get started?Download WordPress

Forums

All In One WP Security & Firewall
[resolved] fatal error when I renamed DB (5 posts)

  1. null3null
    Member
    Posted 4 months ago #

    Hi,

    I just installed your plugin. When in the settings I changed the prefix of the database, my site wouldn't open anymore and I got this error:

    Fatal error: Call to undefined function wp() in .../wp-blog-header.php on line 14

    What do I need to do? I can't even get back into my back office!

    Please help,

    regards,
    Ilke

    https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

  2. null3null
    Member
    Posted 4 months ago #

    I get this error as well.

    Fatal error: Call to undefined function nocache_headers() in /var/www/vhosts/ilkegenrich.com/httpdocs/null3null/wp-admin/admin.php on line 32

    So is it a problem that my website is in the blog-directory?

  3. null3null
    Member
    Posted 4 months ago #

    Sorry for bothering you, I found the problem myself. I had moved the wp-config.php up one level to make my site more secure, and that way it wasn't configured along with the other files when I changed the prefix for the database tables. It still read ('wp_').

    I changed that, and now everything is fine.

    Thanks for building this nice plugin, I hope it'll keep me safe now!

    Ilke

  4. mbrsolution
    Member
    Posted 4 months ago #

    Hi null3null, that is great news well done.

    If there is no more issues could you please mark this support thread as resolved.

    Kind regards

  5. null3null
    Member
    Posted 4 months ago #

    Thanks,
    of course, I will.
    Best,
    Ilke

Reply

You must log in to post.

About this Plugin

About this Topic