Problem with checkout page after SSL
-
We have had a site with woocommerce for a long time working fine, but since we have secured the wordpress site https://www.cooppallars.com/ the shop checkout page is not working.
The normal behave is that the checkout page gets stuck without an error. If we include the code below in the style.css then there is an error message saying: No transport.
Code in the style.css:
/* Fix issues with jquery overlay blocking checkout button */
.woocommerce .blockUI.blockOverlay {
position: relative!important;
display: none!important;
}After lots of reading on the subject I have seen that the JSON response has a parameter “redirectURL”:”https://www.cooppallars.com” so I guess maybe the problem can be there?
We have checked the Force SSL at the advance woocommerce settings.
Any idea?
-
The shop page is https://www.cooppallars.com/botiga-2/ btw.
Hi @margalideta. Please check with your host if they have a debug log that you can access that may provide some additional information about the issue. If not, you can work with them to enable WP_DEBUG and then try the checkout again. This will hopefully generate a debug log called debug.log that you can find in the /wp-content/ WordPress sub directory. Share the contents of the log with us so that we can help decipher what the issue may be.
Thanks a lot @drwpcom
Here’s what the log shows:[11-Aug-2020 16:36:21 UTC] PHP Notice: Undefined variable: thumbnail in /var/www/vhosts/cooppallars.com/httpdocs/wp-content/themes/organicmarket/functions.php on line 725
[11-Aug-2020 16:36:23 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:23 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:23 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:27 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:27 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:27 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:33 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:33 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713
[11-Aug-2020 16:36:33 UTC] PHP Deprecated: WC_Cart::get_cart_url és obsolet des de la versió 2.5! Usa wc_get_cart_url com a substitució. in /var/www/vhosts/cooppallars.com/httpdocs/wp-includes/functions.php on line 4713Hi @drwpcom
this is the warning appearing in the log.
>
> [Thu Aug 06 08:37:30 2020] [warn] [client 66.249.64.93] mod_fcgid: stderr:
> The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace
> with wc_get_cart_url., referer: https://www.cooppallars.comCould you help us?
ThanksHi @margalideta. The most likely cause of this issue is a theme or plugin conflict on your site. We have a guide here to help you test for conflicts – https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Hi again @drwpcom
We have run all the instructions at the test for conflicts help but the issue is still happening. No change. It’s very frustrating… any idea?Hi @margalideta. I suggest installing a plugin named String Locator, which allows you to search the code of plugins and themes to see where certain text strings are: https://www.ads-software.com/plugins/string-locator/
From there, first search for
WC_Cart::get_cart_url
to see if that can be found. If not, you may need to search for get_cart_url, which may return a lot of false positives. This should help narrow down where this might be coming from.If that doesn’t help, please share your system report with me. You can find it by going to WooCommerce > Status > Get system report and then click Copy for support to be able to paste it in your reply.
Hi, this is the system report
### WordPress Environment ### WordPress address (URL): https://www.cooppallars.com Site address (URL): https://www.cooppallars.com WC Version: 4.3.1 REST API Version: ? 1.0.10 WC Blocks Version: ? 2.9.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.3.1 Log Directory Writable: ? WP Version: ? 5.4.2 - Una versió més actual de WordPress està disponible (5.5) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: ca External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.0.33 - Recomanem utilitzar la versió 7.2 o superior de PHP per a un millor rendiment i seguretat. Com actualitzar la versió de PHP PHP Post Max Size: 50 MB PHP Time Limit: 900 PHP Max Input Vars: 6000 cURL Version: 7.19.7 NSS/3.44 SUHOSIN Installed: – MySQL Version: 5.7.29 Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.3.1 WC Database Prefix: wp_ Mida total de la base de dades: 93.73MB Mida de les dades de la base de dades: 67.96MB Mida de l'índex de la base de dades: 25.77MB wp_woocommerce_sessions: Dades: 1.02MB + índex: 0.02MB + Motor InnoDB wp_woocommerce_api_keys: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_woocommerce_attribute_taxonomies: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_woocommerce_downloadable_product_permissions: Dades: 0.02MB + índex: 0.06MB + Motor InnoDB wp_woocommerce_order_items: Dades: 0.02MB + índex: 0.01MB + Motor MyISAM wp_woocommerce_order_itemmeta: Dades: 0.15MB + índex: 0.12MB + Motor MyISAM wp_woocommerce_tax_rates: Dades: 0.02MB + índex: 0.06MB + Motor InnoDB wp_woocommerce_tax_rate_locations: Dades: 0.02MB + índex: 0.05MB + Motor InnoDB wp_woocommerce_shipping_zones: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_woocommerce_shipping_zone_locations: Dades: 0.02MB + índex: 0.05MB + Motor InnoDB wp_woocommerce_shipping_zone_methods: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_woocommerce_payment_tokens: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_woocommerce_payment_tokenmeta: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_woocommerce_log: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_actionscheduler_actions: Dades: 0.05MB + índex: 0.11MB + Motor InnoDB wp_actionscheduler_claims: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_actionscheduler_groups: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_actionscheduler_logs: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_commentmeta: Dades: 1.71MB + índex: 0.05MB + Motor MyISAM wp_comments: Dades: 1.58MB + índex: 0.07MB + Motor MyISAM wp_icl_content_status: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_core_status: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_flags: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_languages: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_icl_languages_translations: Dades: 0.20MB + índex: 0.14MB + Motor InnoDB wp_icl_locale_map: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_message_status: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_icl_mo_files_domains: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_node: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_icl_reminders: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_icl_strings: Dades: 5.52MB + índex: 8.92MB + Motor InnoDB wp_icl_string_packages: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_icl_string_pages: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_icl_string_positions: Dades: 4.52MB + índex: 1.52MB + Motor InnoDB wp_icl_string_status: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_string_translations: Dades: 3.52MB + índex: 2.02MB + Motor InnoDB wp_icl_string_urls: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_translate: Dades: 1.52MB + índex: 0.02MB + Motor InnoDB wp_icl_translate_job: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_icl_translations: Dades: 0.09MB + índex: 0.22MB + Motor InnoDB wp_icl_translation_batches: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_icl_translation_downloads: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_icl_translation_status: Dades: 0.13MB + índex: 0.02MB + Motor InnoDB wp_layerslider: Dades: 0.06MB + índex: 0.00MB + Motor MyISAM wp_links: Dades: 0.00MB + índex: 0.00MB + Motor MyISAM wp_optins: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_optin_meta: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_options: Dades: 11.52MB + índex: 1.36MB + Motor MyISAM wp_postmeta: Dades: 1.02MB + índex: 0.34MB + Motor MyISAM wp_posts: Dades: 1.87MB + índex: 0.14MB + Motor MyISAM wp_slim_browsers: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_slim_content_info: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_slim_events: Dades: 1.52MB + índex: 0.64MB + Motor InnoDB wp_slim_events_archive: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_slim_outbound: Dades: 0.06MB + índex: 0.03MB + Motor InnoDB wp_slim_screenres: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_slim_stats: Dades: 18.55MB + índex: 7.58MB + Motor InnoDB wp_slim_stats_3: Dades: 1.52MB + índex: 0.27MB + Motor InnoDB wp_slim_stats_archive: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_slim_stats_archive_3: Dades: 0.02MB + índex: 0.05MB + Motor InnoDB wp_statpress: Dades: 0.45MB + índex: 0.00MB + Motor InnoDB wp_termmeta: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_terms: Dades: 0.00MB + índex: 0.01MB + Motor MyISAM wp_term_relationships: Dades: 0.00MB + índex: 0.01MB + Motor MyISAM wp_term_taxonomy: Dades: 0.00MB + índex: 0.01MB + Motor MyISAM wp_usermeta: Dades: 0.09MB + índex: 0.08MB + Motor MyISAM wp_users: Dades: 0.00MB + índex: 0.01MB + Motor MyISAM wp_wc_admin_notes: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wc_admin_note_actions: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_wc_category_lookup: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wc_customer_lookup: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_wc_download_log: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_wc_order_coupon_lookup: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_wc_order_product_lookup: Dades: 0.02MB + índex: 0.06MB + Motor InnoDB wp_wc_order_stats: Dades: 0.02MB + índex: 0.05MB + Motor InnoDB wp_wc_order_tax_lookup: Dades: 0.02MB + índex: 0.03MB + Motor InnoDB wp_wc_product_meta_lookup: Dades: 0.02MB + índex: 0.09MB + Motor InnoDB wp_wc_reserved_stock: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wc_tax_rate_classes: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_wc_webhooks: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_wfBlockedIPLog: Dades: 0.05MB + índex: 0.00MB + Motor InnoDB wp_wfBlocks7: Dades: 0.02MB + índex: 0.05MB + Motor InnoDB wp_wfConfig: Dades: 2.25MB + índex: 0.00MB + Motor InnoDB wp_wfCrawlers: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wfFileChanges: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wfFileMods: Dades: 4.52MB + índex: 0.00MB + Motor InnoDB wp_wfHits: Dades: 1.02MB + índex: 0.20MB + Motor InnoDB wp_wfHoover: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_wfIssues: Dades: 0.06MB + índex: 0.06MB + Motor InnoDB wp_wfKnownFileList: Dades: 1.52MB + índex: 0.00MB + Motor InnoDB wp_wfLiveTrafficHuman: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_wfLocs: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wfLogins: Dades: 0.39MB + índex: 0.16MB + Motor InnoDB wp_wfls_2fa_secrets: Dades: 0.02MB + índex: 0.02MB + Motor InnoDB wp_wfls_settings: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wfNotifications: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wfPendingIssues: Dades: 0.02MB + índex: 0.06MB + Motor InnoDB wp_wfReverseCache: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB wp_wfSNIPCache: Dades: 0.02MB + índex: 0.05MB + Motor InnoDB wp_wfStatus: Dades: 0.16MB + índex: 0.13MB + Motor InnoDB wp_wfTrafficRates: Dades: 0.02MB + índex: 0.00MB + Motor InnoDB ### Post Type Counts ### attachment: 341 bizz_slides: 3 bizz_widget: 36 custom_css: 1 ig_campaign: 1 ig_message: 4 nav_menu_item: 18 page: 31 post: 98 product: 24 product_variation: 6 revision: 872 safecss: 1 shop_order: 77 wpcf7_contact_form: 1 wpp_popup: 1 ### Security ### Secure connection (HTTPS): ? La vostra botiga no està utilitzant HTTPS. Apreneu més sobre HTTPS i els certificats SSL. Hide errors from visitors: ? ### Active Plugins (24) ### WPML Multilingual CMS: per OnTheGoSystems – 4.3.16 LayerSlider WP: per Kreatura Media – 5.0.2 Akismet antibrossa: per Automattic – 4.1.6 All In One SEO Pack: per Equip d'?All in One SEO? – 3.6.2 Asesor de Cookies RGPD: per Carlos Doral Pérez – 0.31 Contact Form 7: per Takayuki Miyoshi – 5.2 Custom Link Widget: per Pankaj Biswas – 1.1.1 Custom Sidebars: per WPMU DEV – 3.2.3 Display Posts: per Bill Erickson – 3.0.2 MailChimp Forms by MailMunch: per MailMunch – 3.1.4 Organic Market Extra Features: per Bonsai Shed – 1.0 Regenerate Thumbnails: per Alex Mills (Viper007Bond) – 3.1.3 String Locator: per Clorith – 2.4.1 UpdraftPlus - Backup/Restore: per UpdraftPlus.Com DavidAnderson – 1.16.26 WooCommerce Blocks: per Automattic – 2.9.0 – La versió instal·lada no s'ha provat amb la versió activa de WooCommerce 4.3.1 WooCommerce Multilingual: per OnTheGoSystems – 4.9.1 – La versió instal·lada no s'ha provat amb la versió activa de WooCommerce 4.3.1 WooCommerce My Account Widget: per PEP – 0.6.6 – La versió instal·lada no s'ha provat amb la versió activa de WooCommerce 4.3.1 WooCommerce Product Archive Customiser: per jameskoster – 1.0.5 – La versió instal·lada no s'ha provat amb la versió activa de WooCommerce 4.3.1 WooCommerce: per Automattic – 4.3.1 (està disponible una actualització a la versió 4.4.1) Wordfence Security: per Wordfence – 7.4.9 Slimstat Analytics: per Jason Crouse – 4.8.8.1 WPML Media: per OnTheGoSystems – 2.5.5 WPML String Translation: per OnTheGoSystems – 3.0.12 WPML Translation Management: per OnTheGoSystems – 2.9.9 ### Inactive Plugins (1) ### Easy HTTPS (SSL) Redirection: per Tips and Tricks HQ – 1.9.1 ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Base de la botiga: #2500 - /botiga-2/ Cistella: #2007 - /cistella/ Finalitza la compra: #2023 - /finalitzar-comanda/ El meu compte: #2024 - /el-meu-compte-2/ Termes i condicions: ? Pàgina sense definir ### Theme ### Name: Organic Market Version: 1.4 Author URL: https://bonsaished.com/ Child Theme: ? – Si esteu modificant WooCommerce en un tema pare que no heu creat personalment us recomanem utilitzar un tema fill. Visualitza: com crear un tema fill WooCommerce Support: ? ### Templates ### Overrides: organicmarket/woocommerce/cart/cross-sells.php La versió 2.0.0 de organicmarket/woocommerce/loop/loop-start.php és obsoleta. La versió del nucli és la 3.3.0 La versió 3.0.0 de organicmarket/woocommerce/single-product/related.php és obsoleta. La versió del nucli és la 3.9.0 Outdated Templates: ? Apreneu com actualitzar ### Action Scheduler ### Completat: 49 Oldest: 2020-07-27 09:49:27 +0000 Newest: 2020-08-25 17:41:36 +0000 Pendent: 1 Oldest: 2020-08-26 17:41:36 +0000 Newest: 2020-08-26 17:41:36 +0000
Hi @margalideta. Could you please update PHP to at least version 7.2. You can contact your host for help if needed. You can learn more about the minimum requirements for WooCommerce here – https://docs.woocommerce.com/document/update-php-wordpress/#section-1
Ok thanks,
now it works but I had to change the theme because it had no updates.Thanks again for your time,
Marga
- The topic ‘Problem with checkout page after SSL’ is closed to new replies.