Plugin causes PHP Fatal Error
-
I’m using your plugin (v1.4) to accept donations for our site. As per your recommendations I’ve now setup a Stripe-account. As soon as on the settings-page of the plugin I hit the button “Connect with Stripe”, the plugin causes a PHP Fatal Error (shown below). I’m using PHP v8.2.18. For now I’ve disabled Stripe and now the plugin works as usual with my PayPal account.
Here’s the PHP error:
Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /var/www/sacredharpbremen.org/wp-content/plugins/easy-paypal-donation/core/Table/OrderTable.php:62\nStack trace:\n#0 /var/www/sacredharpbremen.org/wp-content/plugins/easy-paypal-donation/core/Table/OrderTable.php(62): number_format()\n#1 /var/www/sacredharpbremen.org/wp-content/plugins/easy-paypal-donation/core/Table/OrderTable.php(217): WPEasyDonation\Table\OrderTable->get_data()\n#2 /var/www/sacredharpbremen.org/wp-content/plugins/easy-paypal-donation/core/Pages/OrderPage.php(39): WPEasyDonation\Table\OrderTable->prepare_items()\n#3 /var/www/sacredharpbremen.org/wp-content/plugins/easy-paypal-donation/core/Pages/OrderPage.php(17): WPEasyDonation\Pages\OrderPage->get()\n#4 /var/www/sacredharpbremen.org/wp-includes/class-wp-hook.php(324): WPEasyDonation\Pages\OrderPage->render()\n#5 /var/www/sacredharpbremen.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#6 /var/…’, referer: https://sacredharpbremen.org/wp-admin/admin.php?page=wpedon_settings&tab=4
The page I need help with: [log in to see the link]
- The topic ‘Plugin causes PHP Fatal Error’ is closed to new replies.