• Resolved webdesignbymark

    (@webdesignbymark)


    Everything works fine except when I click on “Donors” to see who has donated, I get “There has been a critical error on this website.” Not sure what to do.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter webdesignbymark

    (@webdesignbymark)

    Here is the message being sent to me.

    Error Details
    =============
    An error of type E_ERROR was caused in line 242 of the file /home/runcloud/webapps/TW/wp-content/plugins/give/src/Framework/Database/DB.php. Error message: Uncaught Give\Framework\Database\Exceptions\DatabaseQueryException: Database Query in /home/runcloud/webapps/TW/wp-content/plugins/give/src/Framework/Database/DB.php:242
    Stack trace:
    #0 /home/runcloud/webapps/TW/wp-content/plugins/give/src/Framework/Database/DB.php(90): Give\Framework\Database\DB::runQueryWithErrorChecking()
    #1 /home/runcloud/webapps/TW/wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/CRUD.php(81): Give\Framework\Database\DB::__callStatic()
    #2 /home/runcloud/webapps/TW/wp-content/plugins/give/src/Donors/Controllers/DonorsRequestController.php(64): Give\Framework\QueryBuilder\QueryBuilder->getAll()
    #3 /home/runcloud/webapps/TW/wp-content/plugins/give/src/Donors/Endpoints/ListDonors.php(83): Give\Donors\Controllers\DonorsRequestController->getDonors()
    #4 /home/runcloud/webapps/TW/wp-includes/rest-api/class-wp-rest-server.php(1143): Give\Donors\Endpoints\ListDonors->handleRequest()
    #5 /home/runcloud/webapps/TW/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond
    Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @webdesignbymark.

    You’ve uncovered an edge-case issue that we are tracking: https://feedback.givewp.com/bug-reports/p/unable-to-view-donations-and-donors-list-in-the-backend. We are actively tracking user feedback to further understand the issue. You can use the link to check in for updates, or to provide additional details of your own. I’ve also linked your ticket internally, so when the issue is resolved we can reach back out to update you. We’ll either have a resolution for you, or we’ll know more about what our developers need to do to fix the issue.

    We do have a couple of possible workarounds for this:

    Some users report that they are able to still view the Donations/Donors pages in the Legacy View.

    We’ve also created a snippet for switching the new list views to the legacy views for all administrators in a site. To use it, do the following:

    – Add the snippet (linked below) to functions.php or some other place that runs arbitrary PHP. You can use the Code Snippets plugin too.
    – Go to /wp-admin/index.php?givewp_set_legacy_lists=1 — be sure to add your own domain name at the beginning
    – It will redirect you back to the same page, and now the lists should be legacy.
    Here’s the link to the snippet: https://gist.github.com/rickalday/ffb27e660cd4b1c7b1d9cf92ef696264

    Let me know if you have any questions, I’m happy to help. Have a great day!

    Thread Starter webdesignbymark

    (@webdesignbymark)

    Thanks! I will try to add the files to the functions file next week. I have one other issue I’m making a new thread for.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘When I click on “Donors” I get a website critical error’ is closed to new replies.