error of type E_ERROR was caused in line 155 of the file /home/playsafe/public_h
-
Using the donation form is not completing. All goes through, then we get errors on the screen like:
“An unexpected error occurred while processing the donation. Please try again or contact the site administrator”. The error log showed this as what was causing the problem: Payment Gateway /
PayPal order id is missing. (which I understand we’ll need to contact PayPal about)Then just today, received an email via WordPress with the following error:
(Since the error thrown out is coming from your plugin, looks like you better take a look at it).When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.5.2 Active theme: Rico (version 1.0.0) Current plugin: Give - Donation Plugin (version 3.9.0) PHP version 8.0.30 Error Details ============= An error of type E_ERROR was caused in line 155 of the file /home/playsafe/public_html/wp-content/plugins/give/src/Framework/Support/ValueObjects/Money.php. Error message: Uncaught TypeError: Give\Framework\Support\ValueObjects\Money::fromDecimal(): Argument #2 ($currency) must be of type string, null given, called in /home/playsafe/public_html/wp-content/plugins/give/src/Donations/DataTransferObjects/DonationQueryData.php on line 159 and defined in /home/playsafe/public_html/wp-content/plugins/give/src/Framework/Support/ValueObjects/Money.php:155 Stack trace: #0 /home/playsafe/public_html/wp-content/plugins/give/src/Donations/DataTransferObjects/DonationQueryData.php(159): Give\Framework\Support\ValueObjects\Money::fromDecimal() #1 /home/playsafe/public_html/wp-content/plugins/give/src/Donations/Models/Donation.php(281): Give\Donations\DataTransferObjects\DonationQueryData::fromObject() #2 /home/playsafe/public_html/wp-content/plugins/give/src/Framework/Models/ModelQueryBuilder.php(130): Give\Donations\Models\Donation::fromQueryBuilderObject() #3 /home/playsafe/public_html/wp-content/plugins/give/src/Framework/Models/ModelQueryBuilder.php(86): Give\Framework\Models\ModelQueryBuilder->getRowAsModel() #4 /home/playsafe/public_html/wp-content/plugins/give/src/Donations/Repositories/DonationRepository.php(556): Give\Framework\Models\ModelQueryBuilder->get() #5 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/tools/views/html-admin-page-exports.php(83): Give\Donations\Repositories\DonationRepository->getFirstDonation() #6 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/tools/class-settings-export.php(100): include_once('/home/playsafe/...') #7 /home/playsafe/public_html/wp-includes/class-wp-hook.php(324): Give_Settings_Export::render_export_field() #8 /home/playsafe/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /home/playsafe/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/class-admin-settings.php(1016): do_action() #11 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/class-admin-settings.php(439): Give_Admin_Settings::prepare_settings_field() #12 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/abstract-admin-settings-page.php(242): Give_Admin_Settings::output_fields() #13 /home/playsafe/public_html/wp-includes/class-wp-hook.php(324): Give_Settings_Page->output() #14 /home/playsafe/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #15 /home/playsafe/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #16 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/views/html-admin-settings.php(172): do_action() #17 /home/playsafe/public_html/wp-content/plugins/give/includes/admin/class-admin-settings.php(264): include('/home/playsafe/...') #18 /home/playsafe/public_html/wp-includes/class-wp-hook.php(324): Give_Admin_Settings::output() #19 /home/playsafe/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #20 /home/playsafe/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #21 /home/playsafe/public_html/wp-admin/admin.php(259): do_action() #22 /home/playsafe/public_html/wp-admin/edit.php(10): require_once('/home/playsafe/...') #23 {main} ? thrown
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.