Critical Error in admin
-
Hi there,
I am having an issue processing donations in the backend. The Change Donor section shows a critical error > https://prnt.sc/O10ariNwV_NT
If I try to change/update the donation the page just simple reloads.
I have disabled all other plugins and changed to the 2023 default theme.
I suspect the issue with with how I am accepting offline donations. I have created a staging site so you can see how it works > https://staging.bushlandperth.org.au/donations/
This is the error message:
Error Details
=============
An error of type E_ERROR was caused in line 80 of the file /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/vendor-prefixed/fakerphp/faker/src/Faker/ValidGenerator.php. Error message: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function "passthru" not found or invalid function name in /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/vendor-prefixed/fakerphp/faker/src/Faker/ValidGenerator.php:80
Stack trace:
#0 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/vendor-prefixed/fakerphp/faker/src/Faker/ValidGenerator.php(80): call_user_func()
#1 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/give.php(538): Give\Vendors\Faker\ValidGenerator->__call()
#2 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/src/PaymentGateways/DataTransferObjects/GiveInsertPaymentData.php(128): Give->__get()
#3 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/src/PaymentGateways/DataTransferObjects/GiveInsertPaymentData.php(108): Give\PaymentGateways\DataTransferObjects\GiveInsertPaymentData->getLegacyBillingAddress()
#4 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(451): Give\PaymentGateways\DataTransferObjects\GiveInsertPaymentData->toArray()
#5 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(462): Stripe\StripeObject->Stripe\{closure}()
#6 [internal function]: Stripe\StripeObject->Stripe\{closure}()
#7 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(454): array_reduce()
#8 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(476): Stripe\StripeObject->toArray()
#9 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(483): Stripe\StripeObject->toJSON()
#10 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/includes/forms/functions.php(1490): Stripe\StripeObject->__toString()
#11 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/includes/forms/functions.php(1469): give_get_donor_name_with_title_prefixes()
#12 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/includes/admin/class-give-html-elements.php(270): give_get_name_with_title_prefixes()
#13 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/includes/admin/payments/view-payment-details.php(673): Give_HTML_Elements->donor_dropdown()
#14 /var/www/staging.bushlandperth.org.au/htdocs/wp-content/plugins/give/src/Donations/DonationsAdminPage.php(103): include('...')
#15 /var/www/staging.bushlandperth.org.au/htdocs/wp-includes/class-wp-hook.php(324): Give\Donations\DonationsAdminPage->render()
#16 /var/www/staging.bushlandperth.org.au/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#17 /var/www/staging.bushlandperth.org.au/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#18 /var/www/staging.bushlandperth.org.au/htdocs/wp-admin/admin.php(259): do_action()
#19 /var/www/staging.bushlandperth.org.au/htdocs/wp-admin/edit.php(10): require_once('...')
#20 {main}
? thrownI am happy to provide access to the site.server or take any actions to help find the issue.
Thanks in advance
Nik
- You must be logged in to reply to this topic.