Fatal error on home page after successfull payment
-
I just made a first test payment and it went fine. It showed the Thank you page and then when I opened a home page I saw error “There has been a critical error on this website”.
In logs I found this:2021/08/30 19:16:40 [error] 2676#0: *22311 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price() on bool in /var/www/site.com/public/wp-content/plugins/woocommerce/includes/wc-product-functions.php:963 Stack trace: #0 /var/www/site.com/public/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-cart-handler.php(533): wc_get_price_including_tax() #1 /var/www/site.com/public/wp-includes/class-wp-hook.php(303): WC_Gateway_PPEC_Cart_Handler->inject_credit_messaging_configuration() #2 /var/www/site.com/public/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /var/www/site.com/public/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-cart-handler.php(610): apply_filters() #4 /var/www/site.com/public/wp-includes/class-wp-hook.php(303): WC_Gateway_PPEC_Cart_Handler->enqueue_scripts() #5 /var/www/site.com/public/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #6 /var/www/site.com/publ" while reading response header from upstream, client: 155.94.217.19, server: site.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9050", host: "site.com" 2021/08/30 19:26:00 [error] 2678#0: *22367 FastCGI sent in stderr: "Unable to open primary script: /var/www/site.com/public/style.php (No such file or directory)" while reading response header from upstream, client: 164.132.44.97, server: site.com, request: "GET /style.php?sig=rename&rename=1source_name=2 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9050", host: "site.com", referrer: "site.com"
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal error on home page after successfull payment’ is closed to new replies.