Catchable fatal error – Local site is down
-
Right now I’m designing locally with wamp. The site isn’t live. The site was fine until I decided to look around at the checkout settings in Woocommerce. I only enabled Bank Transfer but never put in any info. Then I went to the checkout page and clicked place order (while I was still local) and boom I got hit with a fatal error. I removed Bank Transfer.. Still the fatal error. My whole site is down. It doesn’t matter what page I try to access, I get the error no matter what. However, if I deactivate the Woocommerce plugin, my site works perfectly fine except my shop doesn’t exist. Everything is up to date. I did an overwrite of Woocommerce. Still have the error. I switched themes.. Still have the error. I’m currently using the Vantage theme. Anyone have suggestions? My downside is.. I’m not good at PHP!
Here’s the error:
Catchable fatal error: Object of class WP_Error could not be converted to string in C:\wamp64\www\wp-includes\class-requests.php on line 797 Call Stack # Time Memory Function Location 1 0.0005 241144 {main}( ) …\index.php:0 2 0.0008 244216 require( ‘C:\wamp64\www\wp-blog-header.php’ ) …\index.php:17 3 0.0013 264696 require_once( ‘C:\wamp64\www\wp-load.php’ ) …\wp-blog-header.php:13 4 0.0019 276112 require_once( ‘C:\wamp64\www\wp-config.php’ ) …\wp-load.php:37 5 0.0032 432392 require_once( ‘C:\wamp64\www\wp-settings.php’ ) …\wp-config.php:90 6 1.9602 94257448 do_action( ) …\wp-settings.php:471 7 1.9603 94258136 WP_Hook->do_action( ) …\plugin.php:453 8 1.9603 94258216 WP_Hook->apply_filters( ) …\class-wp-hook.php:310 9 1.9652 94277552 call_user_func_array:{C:\wamp64\www\wp-includes\class-wp-hook.php:286} ( ) …\class-wp-hook.php:286 10 1.9652 94278704 WC_Cart_Session->get_cart_from_session( ) …\class-wp-hook.php:286 11 1.9970 94693184 WC_Cart->calculate_totals( ) …\class-wc-cart-session.php:119 12 2.0219 94709656 do_action( ) …\class-wc-cart.php:1231 13 2.0219 94710800 WP_Hook->do_action( ) …\plugin.php:453 14 2.0219 94710880 WP_Hook->apply_filters( ) …\class-wp-hook.php:310 15 2.0229 94711856 call_user_func_array:{C:\wamp64\www\wp-includes\class-wp-hook.php:286} ( ) …\class-wp-hook.php:286 16 2.0229 94712256 WC_Connect_TaxJar_Integration->maybe_calculate_totals( ) …\class-wp-hook.php:286 17 2.0230 94713024 WC_Connect_TaxJar_Integration->calculate_totals( ) …\class-wc-connect-taxjar-integration.php:219 18 2.0277 94787896 WC_Connect_TaxJar_Integration->calculate_tax( ) …\class-wc-connect-taxjar-integration.php:307 19 2.0283 94794464 WC_Connect_TaxJar_Integration->smartcalcs_cache_request( ) …\class-wc-connect-taxjar-integration.php:537 20 2.0304 94794648 WC_Connect_TaxJar_Integration->smartcalcs_request( ) …\class-wc-connect-taxjar-integration.php:663 21 2.0304 94795752 WC_Connect_API_Client->proxy_request( ) …\class-wc-connect-taxjar-integration.php:694 22 2.0306 94798096 wp_remote_request( ) …\class-wc-connect-api-client.php:441 23 2.0306 94798880 WP_Http->request( ) …\http.php:153 24 2.0312 94808672 Requests::request( ) …\class-http.php:370 25 2.0386 95208720 Requests_Transport_cURL->request( ) …\class-requests.php:379 26 2.0386 95209496 Requests_Transport_cURL->setup_handle( ) …\cURL.php:133 27 2.0386 95210264 Requests::flatten( ) …\cURL.php:317 28 2.0386 95211560 sprintf ( ) …\class-requests.php:797And here’s the PHP
Line 797 is: $return[] = sprintfpublic static function flatten($array) { $return = array(); foreach ($array as $key => $value) { $return[] = sprintf(‘%s: %s’, $key, $value); } return $return; }
The topic ‘Catchable fatal error – Local site is down’ is closed to new replies.