Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error Call to undefined function dbDelta ()


  • nhatnnt1
    Participant

    @nhatnnt1

    Hi.
    After I installed. When I log into the admin page. I get the message: “Fatal error: Call to undefined function dbDelta () in wp-content / plugins / BuddyPress / bp-core / admin / bp-core-admin-schema.php on line 159″

    How do I do to fix this?.
    We wish everyone help

Viewing 12 replies - 1 through 12 (of 12 total)

  • danbp
    Moderator

    @danbp

    Hi,

    What have you installed or updated ? Please gives details about your config. WP – BP – BBP and MySql version. Also all your plugins list and theme name.

    dbDelta() is related to bpress


    nhatnnt1
    Participant

    @nhatnnt1

    Hi.
    Bubypress version I downloaded plugin on your site. When I complete my installation in wp-admin can not.
    I used to run and install wordpress eeasyengine.
    Currently, I used PHP version 5.6.27

    When I go to phpmyadmin, I see the following information:

    Server version: 10.1.18-MariaDB-1~trusty – mariadb.org binary distribution
    Protocol version: 10

    dbDelta is a WordPress function, @danbp, it’s not bbPress specific. It’s used to update the schema of a MySQL database. The bigger question is how did something trigger the BuddyPress installation methods yet not make sure the relevant WordPress function was loaded.

    @nhatnnt1 What version number of WordPress are you using?


    nhatnnt1
    Participant

    @nhatnnt1

    Hi djpaul
    I’m using wordpress version 4.6

    Why does this error on the second use of dbDelta() and not the first?

    It might help if WP could be re-installed as a clean copy not as one installed on the back of a server script installer, which can sometimes cause issues.


    nhatnnt1
    Participant

    @nhatnnt1

    Hi.
    Thanks everyone has advice. Now, how to fix it.
    I look forward to helping people.

    We asked around a few people on Friday and no-one has any ideas how this might have happened unless you – or your host – has edited the WordPress PHP files. I haven’t seen other reports yet, so it’s probably related to your install somehow.


    nhatnnt1
    Participant

    @nhatnnt1

    Hello.
    Sorry for late reply. I had to reinstall several times and install wordpress not script. I do not understand why.
    If BuddyPress plugin and theme running on the host. It works well. But when up vps is problematic. I have tried many ways.
    Looking forward to your suggestions.


    wspond
    Participant

    @wspond

    I’m in the same boat. Godaddy host, so they do add their own plugins, but I am going to now install a fresh wp 4.7 and see how it goes.


    wspond
    Participant

    @wspond

    OK, so fresh over-install (copying overtop of running site) of 4.7 and as soon as I turn on buddypress, I loose the admin completely. Take it out of the folder via ftp, then I get admin back. Thoughts.
    New godaddy hosting account
    Wordpress 4.7
    current BuddyPress.


    emmanuel123
    Participant

    @emmanuel123

    Hi.
    After I installed. When I log into the admin page. I get the message: “Fatal error: Call to undefined function dbDelta () in wp-content / plugins / BuddyPress / bp-core / admin / bp-core-admin-schema.php on line 159″

    How do I do to fix this?.
    We wish everyone help


    nhatnnt1
    Participant

    @nhatnnt1

    Hello.

    In the past, I was like you. I installed a whole host on a small host, then, I backup and coppy through vps. The error is gone

    Good luck!

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