Uncaught Error: Call to undefined function PayPalCheckoutSdk\Core\php_uname()
-
The good news is it appears my donation form still works on the website (catcove.org). The bad news is I can’t access the Admin Dashboard without entering recovery mode because of a critical error after updating to 3.6.1. I don’t recall what version I was using previously but it’s been a while since I updated the plugin. Lesson learned, I should have made a backup beforehand.
But in recovery mode, this is the error I’m getting from the plugin:
An error of typeE_ERROR
was caused in line23
of the file/var/www/wptbox/wp-content/plugins/give/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/UserAgent.php
. Error message:Uncaught Error: Call to undefined function PayPalCheckoutSdk\Core\php_uname() in /var/www/wptbox/wp-content/plugins/give/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/UserAgent.php:23 Stack trace: #0 /var/www/wptbox/wp-content/plugins/give/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/PayPalHttpClient.php(24): PayPalCheckoutSdk\Core\UserAgent::getValue() #1 /var/www/wptbox/wp-content/plugins/give/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php(73): PayPalCheckoutSdk\Core\PayPalHttpClient->userAgent() #2 /var/www/wptbox/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/Webhooks.php(196): PayPalHttp\HttpClient->execute() #3 /var/www/wptbox/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Webhooks/WebhookChecker.php(98): Give\PaymentGateways\PayPalCommerce\Repositories\Webhooks->updateWebhook() #4 [internal function]: Give\PaymentGateways\PayPalCommerce\Webhooks\WebhookChecker->checkWebhookCriteria() #5 /var/www/wptbox/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array() #6 /var/www/wptbox/wp-includes/class-wp-hook.php(324): Give\Helpers\Hooks::Give\Helpers\{closure}() #7 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/wptbox/wp-admin/admin.php(175): do_action() #10 /var/www/wptbox/wp-admin/plugins.php(10): require_once('...') #11 {main} thrown
I’m using WordPress version 6.4.3 and PHP version 8.0.25 on EasyWP. But I’m wondering if the GiveWP plugin’s version of php_uname() is being blocked now and that’s why I’m getting this error? The only relevant Google search results for this error that turn up are other folks (not using EasyWP) saying their webhosts have disabled php_uname in PHP version 8.0 due to “security reasons”.
Is this the issue at hand? Are other people having this problem? I searched the forums here and didn’t see any mention of this specific error.
- The topic ‘Uncaught Error: Call to undefined function PayPalCheckoutSdk\Core\php_uname()’ is closed to new replies.