Intermittent Woocommerce Functionality

We have turned on the debugging feature via woocommerce to try and identify this problem, that we’ve constantly been dealing with.

Customers response: “I tried to order from the web site? But im not sure I did it correctly cause it kept kicking back? either I didn’t order anything or I ordered 5 times?? so please check for me? …”

Is this a problem possilby coming from the new Wordpress feature? Would adding this to htaccess help? https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging

Hello @M72561,

Those code you shared should be added on wp-config.php file on the root cause of installation and not on htaccess. Yes, it will log the error.

Although, I visit your site and I can see you do have the Woocommerce 3.6.5. Can you try downgrading to the version compatible with the theme? Check again after you downgrade. Let us know if this fixed the issue.

We were having these issues before yesterday’s update from Woocommerce. If you have any advice on downgrading the plugin please provide that, as we want to avoid any technical problems. Can you also explain how to resolve these JS errors shown in the screenshot: https://cl.ly/952410fcbbc6

Hello @M72561,

To downgrade WooCommerce, please walkthrough below steps:

  • Deactivate WooCommerce from Plugins > Installed Plugins. Make sure not to delete WooCommerce plugin.
  • Download WooCoomerce 3.4.0 from following source. https://wordpress.org/plugins/woocommerce/#developers
  • Login to your hosting through FTP or Hosting Panel
  • Navigate under wp-content/plugins/woocommerce directory
  • Replace the existing files with that newly extracted
  • Activate WooCommerce from Plugins > Installed Plugins

You can get started with FTP using following article:

https://www.tipsandtricks-hq.com/how-to-use-filezilla-with-wordpress-8956

To backup WordPress you can take a look at following article:

http://www.wpbeginner.com/plugins/how-to-create-a-complete-wordpress-backup-for-free-with-backwpup/

The JS error on the other hand is coming from LinkedIn. You must have added a LinkedIn code or a 3rd party plugin is causing it. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Please let us know how it goes.

After checking the wp-admin area and found that you are using the X theme & the WooCommerce First Data Payeezy Gateway to accept the Payments from the website. But the plugin is giving and JS error in the console of the browser due to which some of the JS functionality is not working. Check this image for the reference: https://cl.ly/50195178121e

If I switch the theme temporarily to another theme then this error does not occur. It comes only when the X Theme is enabled & activated. Due to this there might possible that the users might get the trouble while purchasing the product.

Here is the difference between the UI of the page when the X theme & the Payeezy Gateway is enabled.

Before:

  1. https://cl.ly/59ed32159b20
  2. https://cl.ly/e01f5e93c60a

After:
Disabled: WooCommerce First Data Payeezy Gateway.
Disabled & Enabled: https://cl.ly/f438a0b631f6
https://cl.ly/2c3a03d11235

Hey @M72561,

What you tested is your child theme which contains custom codes in functions.php that can potentially cause JS problems. Would you mind removing all custom codes or please try testing the parent theme and not the child theme.

If the issue persists using the parent theme, please note that the furthest we can do is post this in our issue tracker so that our development team will be made aware once they systematically go through the list of reports.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.