• Resolved roelh

    (@roelh)


    I am having this problem with the plugin, this has me stopped without being able to deliver the website, help me with this please
    
    
    Detalles del error
    ==================
    Se ha producido un error del tipo E_ERROR en la línea 247 del archivo /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/Framework/Database/DB.php. Mensaje de error: Uncaught Give\Framework\Database\Exceptions\DatabaseQueryException: Database Query in /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/Framework/Database/DB.php:247
    Stack trace:
    #0 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/Framework/Database/DB.php(95): Give\Framework\Database\DB::runQueryWithErrorChecking()
    #1 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/Framework/Models/ModelQueryBuilder.php(85): Give\Framework\Database\DB::__callStatic()
    #2 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/DonationForms/V2/Endpoints/ListDonationForms.php(173): Give\Framework\Models\ModelQueryBuilder->getAll()
    #3 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/DonationForms/V2/Endpoints/ListDonationForms.php(122): Give\DonationForms\V2\Endpoints\ListDonationForms->getForms()
    #4 /home/igvjoilz7968/public_html/odeco.org/wp-includes/rest-api/class-wp-rest-server.php(1177): Give\DonationForms\V2\Endpoints\ListDonationForms->handleRequest()
    #5 /home/igvjoilz7968/public_html/odeco.org/wp-includes/rest-api/class-wp-rest-server.php(1024): WP_REST_Server->respond_to_request()
    #6 /home/igvjoilz7968/public_html/odeco.org/wp-includes/rest-api.php(535): WP_REST_Server->dispatch()
    #7 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/DonationForms/V2/DonationFormsAdminPage.php(187): rest_do_request()
    #8 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/DonationForms/V2/DonationFormsAdminPage.php(100): Give\DonationForms\V2\DonationFormsAdminPage->preloadDonationForms()
    #9 [internal function]: Give\DonationForms\V2\DonationFormsAdminPage->loadScripts()
    #10 /home/igvjoilz7968/public_html/odeco.org/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array()
    #11 /home/igvjoilz7968/public_html/odeco.org/wp-includes/class-wp-hook.php(308): Give\Helpers\Hooks::Give\Helpers\{closure}()
    #12 /home/igvjoilz7968/public_html/odeco.org/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #13 /home/igvjoilz7968/public_html/odeco.org/wp-includes/plugin.php(517): WP_Hook->do_action()
    #14 /home/igvjoilz7968/public_html/odeco.org/wp-admin/admin-header.php(118): do_action()
    #15 /home/igvjoilz7968/public_html/odeco.org/wp-admin/admin.php(239): require_once('/home/igvjoilz7...')
    #16 /home/igvjoilz7968/public_html/odeco.org/wp-admin/edit.php(10): require_once('/home/igvjoilz7...')
    #17 {main}
    thrown

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @roelh.

    Glad you reached out. We need to look for possible corrupted donations.

    That specific error you’re seeing happens when there’s one or more donations with missing data.

    Go to Donations -> Donations and go through all your donations to see if any of them are missing the donor (“donor missing”), or are not attached to any donation form (Untitled). It might be easiest to use the Legacy View (I’d start from the oldest donations first 😊):

    Screenshot-2023-08-11-at-3-54-27-PM.jpg

    This sort of data corruption generally sometimes happens when you update GiveWP from a really old version to a newer version.

    The easiest way to fix the issue is to delete those donation entries.

    Let me know if you find donations like that, and if deleting them sorts the issue out. This is probably the cause of the issue in your other ticket too.

    This was quite a bit of information to share. If you have any questions about this, let me know. I’m happy to help.

Viewing 1 replies (of 1 total)

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