• Resolved bcs213

    (@bcs213)


    I created a new campaign by selecting the Duplicate option for an existing campaign. The copy was created, but when I try to edit the new copy I keep getting the following error: There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums. How can I fix this issue?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Ginger Coolidge

    (@gscoolidge)

    Hello @bcs213,

    Glad you reached out, happy to help.

    The “There has been a critical error on your website” message is a WordPress system-generated error message that means something has caused a PHP fatal error. Whenever you see that message, it means that a more detailed error log has been sent to the main admin email address (which you can configure in Settings > General in the main WordPress settings).

    Check that email, and then pass along the full fatal error message details you received.

    If you do not receive the email, or it’s going to an admin email you don’t have access to, we’ll need the full PHP/debug log from your website. If you are not sure how to access the PHP error logs, you can reach out to your web host where to find these on the server, then send us the log file as an attachment on your reply back to us.

    We’re looking forward to guiding you to a resolution here 🙂

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    Hello again,

    Just checking in on those log files….

    If you still need help, just reply to this message so I may assist further.

    Have a great rest of your day/evening 🙂

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    Hello @bcs213 ,

    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 here, and I’ll be happy to hop back in.

    Have a great day!

    I have the same issue, this is the error:

    Fatal error: Uncaught TypeError: Give\DonationForms\V2\Repositories\DonationFormsRepository::getById(): Argument #1 ($donationFormId) must be of type int, null given, called in /home/mireto/public_html/wp-content/plugins/give/src/Campaigns/Models/Campaign.php on line 76 and defined in /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/V2/Repositories/DonationFormsRepository.php:25 Stack trace: #0 /home/mireto/public_html/wp-content/plugins/give/src/Campaigns/Models/Campaign.php(76): Give\DonationForms\V2\Repositories\DonationFormsRepository->getById(NULL) #1 /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/V2/Endpoints/ListDonationForms.php(140): Give\Campaigns\Models\Campaign->defaultForm() #2 /home/mireto/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): Give\DonationForms\V2\Endpoints\ListDonationForms->handleRequest(Object(WP_REST_Request)) #3 /home/mireto/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/give-api/v2/ad…’, Array, NULL) #4 /home/mireto/public_html/wp-includes/rest-api.php(586): WP_REST_Server->dispatch(Object(WP_REST_Request)) #5 /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/V2/DonationFormsAdminPage.php(212): rest_do_request(Object(WP_REST_Request)) #6 /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/V2/DonationFormsAdminPage.php(114): Give\DonationForms\V2\DonationFormsAdminPage->preloadDonationForms() #7 [internal function]: Give\DonationForms\V2\DonationFormsAdminPage->loadScripts(‘give_forms_page…’) #8 /home/mireto/public_html/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array(Array, Array) #9 /home/mireto/public_html/wp-includes/class-wp-hook.php(324): Give\Helpers\Hooks::Give\Helpers\{closure}(‘give_forms_page…’) #10 /home/mireto/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /home/mireto/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/mireto/public_html/wp-admin/admin-header.php(123): do_action(‘admin_enqueue_s…’, ‘give_forms_page…’) #13 /home/mireto/public_html/wp-admin/admin.php(240): require_once(‘/home/mireto/pu…’) #14 /home/mireto/public_html/wp-admin/edit.php(10): require_once(‘/home/mireto/pu…’) #15 {main} thrown in /home/mireto/public_html/wp-content/plugins/give/src/DonationForms/V2/Repositories/DonationFormsRepository.php on line 25

    Hi, we are running into the same issue, can’t duplicate any campaigns without running into errors and also can’t edit the duplicated campaigns.

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

You must be logged in to reply to this topic.