wp_give_campaigns’ doesn’t exist
-
After the automatic update to version 4.0 I get this error message which literally crashes the admin part of the site… wp_give_campaigns’ doesn’t exist
-
Same here, updating from 3.20 to 4.1.1. Have tried twice (after having to restore the DB and plugin files from backup). Both times it takes the site down because of the apparently missing table.
Hi @queerasyou ,
Glad you reached out! Happy to help, and please excuse the slow turnaround here.
This problem is usually a result of a failed database update, but we’ll need your system info first and the PHP error log to confirm it.
What I’ll need from you are the PHP error logs. If you don’t know how to get error logs, you can use the Fatal Error Notify plugin, but after activating it you’ll have to trigger the error again to see it. Sporadically, that doesn’t work, so you can ask your host where to find the PHP error logs on the server, then copy/paste the relevant error in your reply.
Furthermore, please send along your System Info.
Navigate to Donations → Tools → System Info (tab) and click the button to “Get System Report” and copy/paste that in your reply here.
That will give me some more context to be able to help.
@jdknopp You can try and follow the steps that I will give to the original poster, but if this doesn’t work for you, please create a new post about your issue.
Looking forward to helping you get to the bottom of this!
Hi @queerasyou ,
It’s been a while since we’ve heard back, and I know troubleshooting needs a little extra time. I’m marking this as resolved for now, but if you still have questions, you can send them along right here, and I’ll be happy to hop back in.
Have a great day!
Unfortunately, there’s nothing to be done about it. Systematically after the update… the Give plugin crashes WordPress!!!
The admin is no longer accessible until the plugin is deleted.[11-Jun-2025 17:01:13 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
give-stripedomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in XXXXXXXXXXX/wp-includes/functions.php on line 6114
[11-Jun-2025 17:01:13 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thegive-stripedomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in XXXXXXXXXXX/wp-includes/functions.php on line 6114
[11-Jun-2025 17:01:14 UTC] PHP Fatal error: Uncaught mysqli_sql_exception: Table ‘XXXXXXXXXXX.wp_give_campaigns’ doesn’t exist in XXXXXXXXXXX/wp-includes/class-wpdb.php:2345
Stack trace: 0 XXXXXXXXXXX/wp-includes/class-wpdb.php(2345): mysqli_query(Object(mysqli), ‘SELECT * FROM s…’) 1 XXXXXXXXXXX/wp-includes/class-wpdb.php(2259): wpdb->_do_query(‘SELECT * FROM s…’) 2 XXXXXXXXXXX/wp-includes/class-wpdb.php(3061): wpdb->query(‘SELECT * FROM s…’) 3 [internal function]: wpdb->get_row(‘SELECT * FROM s…’, ‘OBJECT’) 4 XXXXXXXXXXX/wp-content/plugins/give/src/Framework/Database/DB.php(94): call_user_func_array(Array, Array) 5 XXXXXXXXXXX/wp-content/plugins/give/src/Framework/Database/DB.php(238): Give\Framework\Database\DB::Give\Framework\Database{closure}() 6 XXXXXXXXXXX/wp-content/plugins/give/src/Framework/Database/DB.php(95): Give\Framework\Database\DB::runQueryWithErrorChecking(Object(Closure)) 7 XXXXXXXXXXX/wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/CRUD.php(111): Give\Framework\Database\DB::__callStatic(‘get_row’, Array) 8 XXXXXXXXXXX/wp-content/plugins/give/src/FormBuilder/FormBuilderRouteBuilder.php(84): Give\Framework\QueryBuilder\QueryBuilder->get() 9 XXXXXXXXXXX/wp-content/plugins/give/src/FormBuilder/ServiceProvider.php(57): Give\FormBuilder\FormBuilderRouteBuilder->getUrl() 10 XXXXXXXXXXX/wp-includes/class-wp-hook.php(324): Give\FormBuilder\ServiceProvider::Give\FormBuilder{closure}(‘update-core.php’) 11 XXXXXXXXXXX/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 12 XXXXXXXXXXX/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 13 XXXXXXXXXXX/wp-admin/admin-header.php(118): do_action(‘admin_enqueue_s…’, ‘update-core.php’) 14 XXXXXXXXXXX/wp-admin/update-core.php(1064): require_once(‘XXXXXXXXXXXXX’) 15 {main}thrown in XXXXXXXXXXX/wp-includes/class-wpdb.php on line 2345
[11-Jun-2025 17:01:14 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thegive-stripedomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in XXXXXXXXXXX/wp-includes/functions.php on line 6114Updating to WordPress 6.8.1 doesn’t change anything. Still the same problem.
Can you provide us with an SQL script to create this missing table?
We’ve given up and uninstalled the plugin. Just accidentally updated the plugin today and it broke the site again, necessitating another restore from backup. Doesn’t seem like a fix is coming.
It seems this is a major update that changes a lot of things in the database.
Some people claim that you have to uninstall the plugin and reinstall it.
But that means you lose all your data, all your donors, all your donations.In short, it’s completely absurd!
The topic ‘wp_give_campaigns’ doesn’t exist’ is closed to new replies.