Title: Critical error when activiting plugin
Last modified: August 7, 2025

---

# Critical error when activiting plugin

 *  Resolved [moralesgoyo](https://wordpress.org/support/users/moralesgoyo/)
 * (@moralesgoyo)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/)
 * Hi,
 * We are experiencing a critical error when activating the plugin on our customer
   ´s site.
 * We have deactivated all plugins and even tried using default theme Twenty Twenty-
   Five but any time we activate Give, we get a critical error.
 * We have all themes and plugins updated and use PHP 8.3.24.
 * We have also tried solving the issue downgrading to PHP 8.1.33 and Give v 4.5,
   but no success.
 * Here the error received by mail from wordpress:
 *     ```wp-block-code
       Detalles del error==================Se ha producido un error del tipo E_ERROR en la línea 247 del archivo /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php. Mensaje de error: Uncaught Give\Framework\Database\Exceptions\DatabaseQueryException: Database Query in /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php:247Stack trace:#0 /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php(86): Give\Framework\Database\DB::runQueryWithErrorChecking(Object(Closure))#1 /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/CRUD.php(111): Give\Framework\Database\DB::__callStatic('get_row', Array)#2 /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/FormBuilder/FormBuilderRouteBuilder.php(84): Give\Framework\QueryBuilder\QueryBuilder->get()#3 /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/FormBuilder/ServiceProvider.php(57): Give\FormBuilder\FormBuilderRouteBuilder->getUrl()#4 /home/customer/www/arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(324): Give\FormBuilder\ServiceProvider::Give\FormBuilder\{closure}('plugins.php')#5 /home/customer/www/arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#6 /home/customer/www/arenaylaurisilva.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#7 /home/customer/www/arenaylaurisilva.org/public_html/wp-admin/admin-header.php(123): do_action('admin_enqueue_s...', 'plugins.php')#8 /home/customer/www/arenaylaurisilva.org/public_html/wp-admin/plugins.php(637): require_once('/home/customer/...')#9 {main}  thrownFrom de debug log file:thrown in /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php on line 247[06-Aug-2025 13:34:15 UTC] PHP Fatal error: Uncaught Error: Class "Give\Helpers\Utils" not found in /home/customer/www/arenaylaurisilva.org/public_html/wp-content/plugins/redsys-for-givewp/classes/rgwp-redsys-gateway.php:56Stack trace: 0 /home/customer/www/arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(324): RGWP_Gateway->load_addons('') 1 /home/customer/www/arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 2 /home/customer/www/arenaylaurisilva.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /home/customer/www/arenaylaurisilva.org/public_html/wp-settings.php(578): do_action('plugins_loaded') 4 /home/customer/www/arenaylaurisilva.org/public_html/wp-config.php(94): require_once('/home/customer/…') 5 /home/customer/www/arenaylaurisilva.org/public_html/wp-load.php(50): require_once('/home/customer/…') 6 /home/customer/www/arenaylaurisilva.org/public_html/wp-blog-header.php(13): require_once('/home/customer/…') 7 /home/customer/www/arenaylaurisilva.org/public_html/index.php(17): require('/home/customer/…') 8 {main}
       ```
   
 * We kindly appreciate your assistance since it is running on a ONG live site.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-when-activiting-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Robin Joshua Del Mundo](https://wordpress.org/support/users/robindelmundo/)
 * (@robindelmundo)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18589738)
 * Hi [@moralesgoyo](https://wordpress.org/support/users/moralesgoyo/) ,
 * Glad you reached out! Happy to help.
 * Thanks for sharing the error logs! Based on that, there appears to be an error
   relating to GiveWP and the Redsys payment gateway that you’re using.
 * I checked your website here — [https://arenaylaurisilva.org/colabora/](https://arenaylaurisilva.org/colabora/),
   and I can see that you’re already running GiveWP 4.6.1 along with the Redsys 
   payment gateway. Have you been able to solve this?
 * If not, can you try deactivating the Redsys payment gateway and then only activate
   GiveWP to see if the issue persists?
 * Furthermore, in your next reply, please send along your System Info.
 * Navigate to GiveWP → 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.
 * Looking forward to helping you get to the bottom of this!
 *  Thread Starter [moralesgoyo](https://wordpress.org/support/users/moralesgoyo/)
 * (@moralesgoyo)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18590063)
 * Hi Robin,
 * Thanks for the quick reply. I have managed to “partially” fix the issue. There
   were missing tables in the data base such as:
    - [[[[wp_give_campaigns
    - [[[[wp_give_donations[](https://gmadm1028.siteground.biz/phpmyadmin/index.php?route=/sql&pos=0&db=dbm8xgzrtbz0hj&table=wp_give_forms#)[](https://gmadm1028.siteground.biz/phpmyadmin/index.php?route=/table/structure&db=dbm8xgzrtbz0hj&table=wp_give_donormeta)
    - [[[[wp_give_forms
    - [[[[wp_give_funds
 * We created the tables directly in SQL and now, at least, we can activate the 
   plugin.
 * The issue now is that those tables are empty. Tried deleting and uploading again
   Give 4.6.1. but tables still empty and get a critical error when trying to access:
   Give > Donations (guess it can´t find anything due to empty tables).
 * The system info also shows that: There are still some migrations pending to be
   executed in the database (translated from Spanish).
 * Here the system info, hope it helps, I am stucked:
 *     ```wp-block-code
       WordPress EnvironmentHome URL: https://arenaylaurisilva.orgSite URL: https://arenaylaurisilva.orgWP Version: 6.8.2WP Multisite: –WP Memory Limit: 768 MBWP Debug Mode: ✔WP Cron: ✔Language: es_ESPermalink Structure: /%postname%/Show on Front: pagePage on Front: La Federación de Asociaciones de Mujeres Arena y Laurisilva (#117)Page for Posts: NOTICIAS (#155)Table Prefix Length: wp_Table Prefix Length: 3Table Prefix Status: AceptableAdmin AJAX: AccesibleRegistered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, upgraded Server EnvironmentHosting Provider: DBH: 127.0.0.1, SRV: arenaylaurisilva.orgTLS Connection: Usos de conexión TLS 1.3TLS Connection: Probably OkayServer Info: ApachePHP Version: 8.3.24PHP Post Max Size: 256 MBPHP Time Limit: 120PHP Max Input Vars: 3000PHP Max Upload Size: 256 MBcURL Version: 8.9.1, OpenSSL/3.2.4SUHOSIN Installed: –MySQL Version: 8.0.41Default Timezone is UTC: ✔fsockopen/cURL: ✔SoapClient: ✔DOMDocument: ✔gzip: ✔GD Graphics Library: ✔Multibyte String: ✔Entrada remota: ✔Get remoto: ✔ GiveWP ConfigurationGiveWP Version: 4.6.1GiveWP Cache: ActivadoDatabase Updates: Todas las actualizaciones de la base completadas.Database Updates: Todavía tienen que ejecutarse algunas migraciones de la base de datos.Database Tables: ✔ wp_give_donors✔ wp_give_donormeta✔ wp_give_comments✔ wp_give_commentmeta✔ wp_give_sessions✔ wp_give_formmeta✔ wp_give_sequential_ordering✔ wp_give_donationmeta✔ wp_give_revenue✔ wp_give_migrations✔ wp_give_logGiveWP Cache: ActivadoGiveWP Cache: ✔Nueva donación✔Recibo de donación❌Recibo de tramitación de la donación❌Nueva donación offline❌Instrucciones de donación offline✔Registro de un nuevo usuario❌Información del registro del usuario✔Nota de donación✔Acceso por correo electrónicoUpgraded From: 4.6.1Test Mode: DesactivadoCurrency Code: EURCurrency Position: DespuésDecimal Separator: ,Thousands Separator: .Success Page: https://arenaylaurisilva.org/donation-confirmation/Failure Page: https://arenaylaurisilva.org/donation-failed/Donation History Page: https://arenaylaurisilva.org/donor-dashboard/GiveWP Forms Slug: /donations/Enabled Payment Gateways: Donación de pruebaDefault Payment Gateway: Donación de pruebaPayPal IPN Notifications: IPN recibido para #31984 (1W169077GH829793V) el 12/16/2023 a las 10:39. Estado VERIFIEDDonor Email Access: ActivadoStripe Webhook Notifications: N/AImporte de la cuota de la plataforma: 2% Active GiveWP Add-ons Other Active PluginsCMP - Coming Soon & Maintenance Plugin: por NiteoThemes – 4.1.15 Inactive PluginsAkismet Anti-spam: Spam Protection: por Automattic - Anti-spam Team – 5.5Classic Widgets: por WordPress Contributors – 0.3Complianz | GDPR/CCPA Cookie Consent: por Complianz – 7.4.2Contact Form 7: por Takayuki Miyoshi – 6.1.1Diagnóstico Migración GiveWP: por OpenAI – 1.0Elementor: por Elementor.com – 3.31.1Elementor Pro: por Elementor.com – 3.28.2Envato Market: por Envato – 2.0.12Essential Addons for Elementor: por WPDeveloper – 6.2.2Essential Grid: por ThemePunch – 3.1.9.3Essential Grid Google Fonts Addon: por ThemePunch – 1.1.6Imagify: por Imagify Image Optimizer – Optimize Images & Convert WebP & Avif – 2.2.6Loco Translate: por Tim Whitlock – 2.8.0ManageWP - Worker: por GoDaddy – 4.9.24Receipt Attachments for GiveWP: por GiveWP – 1.1.3RedSys for GiveWP: por codection – 1.7.15Security Optimizer: por SiteGround – 1.5.7Site Kit by Google: por Google – 1.158.0Slider Revolution: por ThemePunch – 6.7.35Smash Balloon Custom Facebook Feed: por Smash Balloon – 4.3.2Smash Balloon Instagram Feed: por Smash Balloon – 6.9.1Speed Optimizer: por SiteGround – 7.7.2The Events Calendar: por The Events Calendar – 6.14.2ThemeREX Addons: por ThemeREX – 2.34.99.71.65.13ThemeREX Pop-Up: por ThemeREX – 1.1.4ThemeREX Updater: por ThemeREX – 2.2.1Timeline Widget For Elementor: por Cool Plugins – 1.6.8UpdraftPlus - Backup/Restore: por TeamUpdraft, DavidAnderson – 1.25.7White Label CMS: por www.videousermanuals.com – 2.7.8WooCommerce: por Automattic – 10.0.4WooCommerce Redsys Gateway Light: por José Conti – 6.5.0WP-Sweep: por Lester 'GaMerZ' Chan – 1.1.8WP Rocket: por WP Media – 3.19.2.1WP Rollback: por WP Rollback – 3.0.3WP STAGING WordPress Backup Plugin - Backup Duplicator & Migration: por WP-STAGING, WPStagingBackup – 4.2.1Yoast Duplicate Post: por Enrico Battocchi & Team Yoast – 4.5Yoast SEO: por Team Yoast – 25.6 Active MU PluginsET Support Center :: Must-Use Plugins Autoloader: por Elegant Themes –ManageWP - Worker Loader: por GoDaddy – 1.0.0WP STAGING Optimizer: por WP STAGING – 1.6.0 ThemeName: Humanum ChildVersion: 1.0Author URL: http://themerex.net/Child Theme: SíParent Theme Name: HumanumParent Theme Version: 1.1.4Parent Theme Author URL: https://themerex.net/
       ```
   
 *  Plugin Support [Ginger Coolidge](https://wordpress.org/support/users/gscoolidge/)
 * (@gscoolidge)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18590278)
 * Hello [@moralesgoyo](https://wordpress.org/support/users/moralesgoyo/) ,
 * Ginger here filling in for Robin.
 * Can you send us screenshots of the database migrations that haven’t been completed
   yet? Basically any entry that has a status other than the green “Success” label.
   Also, screenshots from the “Migrate Forms to Campaigns” entry and any pages after
   that. (Those might be the same pages.)
 * Once we have that we can formulate the next course of action to guide you to 
   a resolution here! 🙂
 *  Thread Starter [moralesgoyo](https://wordpress.org/support/users/moralesgoyo/)
 * (@moralesgoyo)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18590777)
 * Hi Ginger,
 * Thanks for the follow-up.
 * As requested, here are the screenshots showing the pending database migrations.
   
   You’ll see that the “Migrate Forms to Campaigns” entry is still not marked as
   successful, and I’ve also included its details.
 * I can’t access the **Donations** menu in the WordPress admin dashboard — every
   time I try, I get a critical error on the site. Because of this, I cannot access
   the “Migrate Forms to Campaigns” entry or the **Tools > Migrations** panel.
 * I’ve already checked the database and found that the tables wp_give_campaigns
   and wp_give_donations are present, but they are empty.
   The migration status message
   still shows: **“Some database migrations have not yet been run.”**
 * Let me know the next steps.
   Thanks again!
 * You can check files in [this link](https://drive.google.com/drive/folders/1kspvDBmB9HReo8_TuyYipRV9QGxkUUCY?usp=sharing).
 *  Thread Starter [moralesgoyo](https://wordpress.org/support/users/moralesgoyo/)
 * (@moralesgoyo)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18590826)
 * …just in case it helps, this is the critical error received by mail, thrown when
   going to: Give > Donations:
 * Uncaught Give\Framework\Database\Exceptions\DatabaseQueryException: Database 
   Query in /home/customer/www/[arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php:247](http://arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php:247)
   
   Stack trace:#0 /home/customer/www/[arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php(86)](http://arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/Database/DB.php(86)):
   Give\Framework\Database\DB::runQueryWithErrorChecking(Object(Closure))#1 /home/
   customer/www/[arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/CRUD.php(97)](http://arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/CRUD.php(97)):
   Give\Framework\Database\DB::__callStatic(‘get_results’, Array)#2 /home/customer/
   www/[arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Donations/Actions/LoadDonationsListTableAssets.php(81)](http://arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Donations/Actions/LoadDonationsListTableAssets.php(81)):
   Give\Framework\QueryBuilder\QueryBuilder->getAll(‘ARRAY_A’)#3 /home/customer/
   www/[arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Donations/Actions/LoadDonationsListTableAssets.php(36)](http://arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Donations/Actions/LoadDonationsListTableAssets.php(36)):
   Give\Donations\Actions\LoadDonationsListTableAssets->getCampaigns()#4 /home/customer/
   www/[arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Donations/DonationsAdminPage.php(71)](http://arenaylaurisilva.org/public_html/wp-content/plugins/give/src/Donations/DonationsAdminPage.php(71)):
   Give\Donations\Actions\LoadDonationsListTableAssets->__invoke()#5 /home/customer/
   www/[arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(324)](http://arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(324)):
   Give\Donations\DonationsAdminPage->render(”)#6 /home/customer/www/[arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(348)](http://arenaylaurisilva.org/public_html/wp-includes/class-wp-hook.php(348)):
   WP_Hook->apply_filters(”, Array)#7 /home/customer/www/[arenaylaurisilva.org/public_html/wp-includes/plugin.php(517)](http://arenaylaurisilva.org/public_html/wp-includes/plugin.php(517)):
   WP_Hook->do_action(Array)#8 /home/customer/www/[arenaylaurisilva.org/public_html/wp-admin/admin.php(260)](http://arenaylaurisilva.org/public_html/wp-admin/admin.php(260)):
   do_action(‘give_forms_page…’)#9 /home/customer/www/[arenaylaurisilva.org/public_html/wp-admin/edit.php(10)](http://arenaylaurisilva.org/public_html/wp-admin/edit.php(10)):
   require_once(‘/home/customer/…’)#10 {main}  thrown
 *  Plugin Support [Ginger Coolidge](https://wordpress.org/support/users/gscoolidge/)
 * (@gscoolidge)
 * [10 months ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18591272)
 * Hello [@moralesgoyo](https://wordpress.org/support/users/moralesgoyo/),
 * Thank you for sharing that information!
 * We would like to dig deeper to understand what is happening with GiveWP on your
   site.
 * To do that, can you reach out to us via our contact form at [https://givewp.com/contact-us/](https://givewp.com/contact-us/)?
   Use the option that says “I am responding to a request to contact you.” Provide
   the link to this thread as context, your system info, etc. and we will happily
   help you sort this out.
 * I’m marking it as resolved here.

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

The topic ‘Critical error when activiting plugin’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Ginger Coolidge](https://wordpress.org/support/users/gscoolidge/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/critical-error-when-activiting-plugin/#post-18591272)
 * Status: resolved