WooCommerce-Common-Errors-wpfixerr

Common WooCommerce Errors – A Complete Guide 

WooCommerce is a plugin that integrates easily with your existing WordPress site. It is the best E-commerce platform to create your online store. Its combination with WordPress offers one in all the foremost wide used online shopping and eCommerce platform which is extremely simple to use and currently it powers over 99% of WordPress e-commerce websites in the countries like Canada, UK and USA. Though this plugin is not errorless and we may encounter different types of errors sometimes which is totally okay. You may face issues if your plugins and themes are outdated or if there’s any conflict between then and so on..

But first, you need to understand what’s the reason behind slowing down your  WooCommerce store. What factors are responsible for common technical issues?

Sometimes we encounter this issue because of the large database on our online store which eventually affects the performance of the website causing a delay in loading time. You can use advanced-cache technologies like NGINX, Varnish and Memcached as these server-side cache technologies can help boost your store.

Let’s get started!

Some WooCommerce error issues can be solved easily by simply updating plugins or by checking theme compatibility or else, by updating WooCommerce. Also, make sure your API and permalinks are enabled.

But even after all these steps you are facing this issue then this might be because of something else.

Let’s see what are the common errors and their possible solutions to fix this issue!

Fatal Error- Call to undefined function: is_woocommerce_active()

Well, this type of Issue is unrelated to WooCommerce settings as it is a compatibility issue.

Basically, it is caused if the Plugins are outdated or if there are third-party themes.

Plugins Are Outdated 

For better WooCommerce Experience, it is very advantageous to keep the WooCommerce Plugins updated. It will result in better site security and overall performance.

Basically, there are two ways to update your plugins as follows:

  • Manually updating plugins using FTP: You can do this if your keys are activated. There is no need to deactivate the plugin and no need to delete any files.

Note: If your keys are updated you automatically will receive a notification. In case if your keys are de-activated, you can activate them by upgrading your active WooThemes plugins by checking the System Status page in your WordPress admin as follows:

WooCommerce>>System Status

To manually update the plugin, you need to unzip the download file. After unzipping, load those files via FTP and then you need to overwrite the existing files.

  • Else, you can also do this by deactivating your plugins and again, activating them once at a time to see which one of the plugins is the cause of this error.
Third-Party Themes

Sometimes we use a theme which is made by third-party. We must check if that third party theme is compatible or not. To fix this you need to change your theme to default theme and check whether the problem still exists. Is the problem doesn’t exist this clearly means that theme is not compatible with WooCommerce and you need to choose a WooCommerce compatible theme.

Plugin Theme Conflict

If you encounter any error after updating your plugins and themes then there is a possibility one of your Plugins is not compatible with your theme. So to fix this issue try disabling all plugins and then activate them one by one. If the WooCommerce error doesn’t exist it means there was a compatibility issue.

No Download link in Email

When a downloadable product is purchased by the customer but unfortunately the Complete Order Email doesn’t contain any download link instead of showing a downloadable link like this

OrderEmailWooCommerce

The downloadable link is not shown in completed email order.

email-2

This is basically because of a missing SQL table in your database which is wp_woocommerce_downloadable_product_permissions. To fix this issue you need to rename the WordPress SQL table prefix. You can do this by using the plugin Change Table Prefix or you can also do this manually using phpMyAdmin. To update the prefix value you need to go to wp-config.php. After that deactivate your WooCommerce and then again re-activate it.

Note: No data will be lost and also, re-enabling WooCommerce will result in creating missing SQL tables.

PHP fatal errors

These type of errors terminate the script instantaneously and this kind of error is by default shown to the user so that it can be corrected timely. This is basically because of your PHP memory limit is exhausted or your execution time is exceeded.

PHP memory size exceeded

The error indicates that the PHP memory limit has been exhausted and to fix this the following steps can help you increase your PHP memory limit:

  • Open your wp-config.php file in the WordPress root directory and search if WP_MEMORY_LIMIT exists or you can create a blank text file named php.ini.

PHP1

  • Now define memory limit and Paste this code in there: memory=256MB

php2

  • Save the file
  • Open your root directory and Upload this file to your /wp-admin/ folder using FTP.

If this doesn’t work, then feel free to contact your host.

Maximum execution time exceeded

Another reason for this WooCommerce error is faulty of some plugin which signifies that one of your plugins could be running a script that’s taking too long to execute and you’re running out of execution time. To fix this you need to increase your website’s maximum execution time.

Step1:  Connect with your remote files via FTP and right-click on the .htaccess file and choose View/Edit as we did earlier in case of Expanding memory limit.

Step 2: Edit .htaccess file and open up this file notepad and add this line of code

“php_value max_execution_time 300” to the file.

max-execution-time

Hence, this will Increase maximum execution time and the error ought to be fixed within this time increment.

Server Errors

You encounter server errors when your WooCommerce stores don’t get any response from the server. Let’s dig into what causes this issue and how we can fix it.

500 Internal Server Error

This is something that appears all of a sudden and doesn’t even tell you what the problem is and how to resolve it. The internal server error is often caused corrupted ‘.htaccess file’ in the central directory. The files exceed the PHP memory limit, etc. However, two common fixes are

  • Check if the .htaccess file is corrupt
  • Uploading a clean copy of core files

To fix this issue refer to the article, 500 internal server error in WordPress

404 Server Error: Not Found

This is caused by a broken link, incorrect or nonexistent. To fix this issue you need to write your permalink settings, you can do this as follows:

  • Login to your admin dashboard. Click on Settings >> Permalinks. Check the Post name radio button and Save Changes.
  • go to settings, permalinks and then to post name as shown below

Important Note: Your Permalink structure can break all external links to your website. To fix this use a simple 301 Redirects Plugin.

503 Service unavailable

Service unavailable may be a rather difficult error that happens once the server doesn’t receive any PHP responses. To fix this you should switch to a default theme. If the error still exists just contact your internet hosting supplier because they got more tools to resolve this.

Conflicting Session

When on a single domain we host multiple WordPress sites then the sessions may conflict. To fix this issue you need to add the following code to your “wp-config.php” file as shown below:

sessionconflict

Session_Start Warning

sessionstartwarningIf you see the above error message then the problem is with your website hosting provider’s end. We recommend you to talk to your Host provider to fix this issue.

Final Words

We hope this article helped you fix the common WooCommerce errors. Always consider talking to your host if nothing worked as they have far more sophisticated tools than you do to locate and fix issues. If you have any further questions then please don’t hesitate to reach us out.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top