Clicking the PayPal button goes to whitescreen displaying ‘-1’
-
Hi,
my store has a problem where the site goes to a blank screen (with ‘-1’ code showing in the top left corner) when the PayPal Express button is clicked.The url of the page is:
https://sonicwaxrecords.com/?wc-api=WC_Gateway_PayPal_Express_AngellEYE&pp_action=expresscheckoutI found one mention of this problem on StackExchange, it was solved by moving their site’s WP files from a sub-directory to the root directory. My site is in the root directory.
Can you offer any other suggestions for fixing this error please?
-
@keved I m sorry for the inconvenience, can you confirm which hosting you are using?
Hi
the hosting is a shared hosting package running CPanel and PHP5.6, I’ve copied the WooCommerce status / Wp-Environment details below.
————
### WordPress Environment ### Home URL: https://sonicwaxrecords.com Site URL: https://sonicwaxrecords.com WC Version: 3.1.1 Log Directory Writable: ? WP Version: 4.8 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_GB ### Server Environment ### Server Info: Apache PHP Version: 5.6.31 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.53.1 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: ? 5.5.55 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? WCS_DEBUG: ? No Subscriptions Mode: ? Live ### Database ### WC Database Version: 3.1.1 WC Database Prefix: soul_ woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? ### Security ### Secure connection (HTTPS): ?Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ? ### Active Plugins (25) ### Gravity Forms: by rocketgenius – 2.2.3 Advanced Custom Fields: by Elliot Condon – 4.4.11 Better Search Replace: by Delicious Brains – 1.3 Custom Links On Admin Dashboard Toolbar: by Victor Barkalov – 3.2 Woocommerce Soldout Badges - by Gema75: by Gema75 – 3.0 Gravity Forms Advanced File Uploader: by Benjamin Moody – 1.4 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.11.2.1 MP3-jPlayer: by Simon Ward – 2.7.2 PayPal for WooCommerce: by Angell EYE – 1.4.5.1 Post Types Order: by Nsp Code – 1.9.3.3 Shortcode Menu: by Amit Sukapure – 3.2 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5 Use Any Font: by Dinesh Karki – 4.7.3 WooCommerce Welcome Message: by Designs 4 The Web – 1.0 WooCommerce Print Address Labels: by Ewout Fernhout – 1.4.5 Woocommerce Products Per Page: by Jeroen Sormani – 1.2.2 WooCommerce Remove All Products: by Gabriel Reguly – 1.0.4 WooCommerce Stock Manager: by Vladislav Musílek – 1.1.6 WooCommerce Subscriptions: by Prospress Inc. – 2.1.2 – 2.2.11 is available WooCommerce Table Rate Shipping: by Bolder Elements – 3.6.6 (modified) WooCommerce: by Automattic – 3.1.1 WP-Lister Pro for eBay: by Matthias Krok – 2.0.12 WP Mail From II: by Ben Huson – 1.1 MailPoet Newsletters Premium: by MailPoet – 2.7.8 MailPoet Newsletters: by MailPoet – 2.7.11.3 ### Settings ### API Enabled: ? Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) auction (auction) subscription (subscription) variable subscription (variable-subscription) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #60 - /shop/ Basket: #61 - /cart/ Checkout: #62 - /checkout/ My account: ? Page does not contain the shortcode. ### Theme ### Name: Sonic Wax theme Version: 1.0.0 Author URL: https://www.sonicwaxrecords.com/ Child Theme: ? Parent Theme Name: Billio Parent Theme Version: 1.0.5 Parent Theme Author URL: https://detheme.com WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: billio-child/woocommerce/archive-product.php billio/woocommerce/cart/cart-totals.php billio-child/woocommerce/cart/cart.php version 2.3.8 is out of date. The core version is 3.1.0 billio/woocommerce/cart/mini-cart.php version 2.5.0 is out of date. The core version is 3.1.0 billio/woocommerce/cart/shipping-calculator.php billio/woocommerce/checkout/cart-errors.php billio/woocommerce/checkout/form-billing.php version 2.1.2 is out of date. The core version is 3.0.9 billio/woocommerce/checkout/form-checkout.php billio/woocommerce/checkout/form-coupon.php billio/woocommerce/checkout/form-login.php billio/woocommerce/checkout/form-pay.php billio/woocommerce/checkout/form-shipping.php version 2.2.0 is out of date. The core version is 3.0.9 billio/woocommerce/checkout/payment-method.php billio/woocommerce/checkout/payment.php billio/woocommerce/checkout/review-order.php billio/woocommerce/checkout/terms.php version 2.5.0 is out of date. The core version is 3.1.1 billio/woocommerce/checkout/thankyou.php version 2.2.0 is out of date. The core version is 3.0.0 billio-child/content-product.php version 2.5.0 is out of date. The core version is 3.0.0 billio-child/woocommerce/content-single-product.php version 1.6.4 is out of date. The core version is 3.0.0 billio/woocommerce/global/breadcrumb.php billio/woocommerce/global/wrapper-end.php billio/woocommerce/global/wrapper-start.php billio/woocommerce/loop/loop-end.php billio/woocommerce/loop/loop-start.php billio/woocommerce/loop/pagination.php billio-child/woocommerce/single-product/meta.php version 1.6.4 is out of date. The core version is 3.0.0 billio/woocommerce/single-product/rating.php version 2.3.2 is out of date. The core version is 3.1.0 billio/woocommerce/single-product/related.php version 1.6.4 is out of date. The core version is 3.0.0 billio/woocommerce/single-product/review.php version 2.5.0 is out of date. The core version is 2.6.0 billio/woocommerce/single-product/tabs/description.php billio/woocommerce/single-product/tabs/tabs.php billio/woocommerce/single-product/title.php billio/woocommerce/single-product/up-sells.php version 1.6.4 is out of date. The core version is 3.0.0 Outdated Templates: ?Learn how to update
@keved I m sorry for the confusion, by hosting I mean the hosting company, like HostGator site ground or WPENGINE? if you are on wp-engine then its related to their cache thing. Can you confirm that, please?
@keved, Yes, it seems as though you have a caching issue going on. Please make sure that the following directories are excluded from any caching / CDN tools you may be using:
- /wc-api/*
- /cart/
- /checkout/
Then clear out the caching / CDN tools and try again. With those excluded you shouldn’t have any more issues.
- The topic ‘Clicking the PayPal button goes to whitescreen displaying ‘-1’’ is closed to new replies.