Cannot upgrade to PHP 8
-
When I upgrade from PHP 7 to any PHP 8 version I get this error on my extend membershp page — what can I do to fix this?
2024/09/08 16:44:23 [error] 3857052#3857052: *10167736 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:365 Stack trace: #0 /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(416): WC_Stripe_Payment_Request->get_product_price() #1 /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(808): WC_Stripe_Payment_Request->get_product_data() #2 /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(841): WC_Stripe_Payment_Request->javascript_params() #3 /home/askwoody/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Payment_Request->scripts() #4 /home/askwoody/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /" while reading response header from upstream, client: 98.36.39.15, server: askwoody.com, request: "GET /extend-subscription/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.askwoody.sock:", host: "www.askwoody.com", referrer: "https://www.askwoody.com/" 2024/09/08 16:45:08 [error] 3857052#3857052: *10167928 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "post_name" on null in /home/askwoody/public_html/wp-content/themes/newaskwoody/woocommerce/widgets.php on line 41" while reading response header from upstream, client: 24.173.73.100, server: askwoody.com, request: "GET /forums/topic/how-to-send-cash-to-website/&sa=U&ved=2ahUKEwiV4Pm2m7SIAxV8M9AFHce3OOgQFnoECAQQAg&usg=AOvVaw1F9SrmdgnRcW4YxpyyuPI2 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.askwoody.sock:", host: "www.askwoody.com", referrer: "https://www.google.com/" 2024/09/08 16:45:12 [error] 3857052#3857052: *10167919 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:365 Stack trace: #0 /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(416): WC_Stripe_Payment_Request->get_product_price() #1 /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(808): WC_Stripe_Payment_Request->get_product_data() #2 /home/askwoody/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(841): WC_Stripe_Payment_Request->javascript_params() #3 /home/askwoody/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Payment_Request->scripts() #4 /home/askwoody/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /" while reading response header from upstream, client: 98.36.39.15, server: askwoody.com, request: "GET /extend-subscription/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.askwoody.sock:", host: "www.askwoody.com", referrer: "https://www.askwoody.com/"
- You must be logged in to reply to this topic.