Skip to main content

Common Issues

Below are the most common issues people experience with ShopWP and how to fix them. If you're having a problem not listed here, please send us an email.

This error is usually due to another plugin caching the WordPress REST API nonce too aggressively. WordPress uses a cookie nonce to authenticate the REST API. By default, this nonce is "valid" for between 12 and 24 hours.

If you're using a caching plugin with a cache lifespan longer than 12 hours, this may cause the error. Try changing this to something lower like 10 hours.

Also, try temporarily deactivating your other plugins and check again. You may also need to disable any host-level cache.

Another thing to look for is whether your website has a CDN enabled. If it does, try temporarily disabling this to see if the error goes away.

Update failed: Unauthorized​

Usually this error shows up when attempting to update the plugin. the main culprit is usually a license key issue.

If you see this error, open your ShopWP settings and find the License tab. From there, either add your ShopWP Pro license key, or remove it and add it back. This should solve the issue.

Error: while calling undefined​

When you receive this error, there's a good chance it's because your web server is running out of memory. Or it has hit the max execution time during the syncing process.

Both of these things can be increased by following the tutorials below:

Tutorial: Increase the Max Execution Time

Tutorial: Increase the Memory Limit

Error: Failed to assign Shopify ID 0​

This error usually occurs because a previously failed sync. To fix, follow the below steps:

  1. First, go to the Tools tab within the plugin settings and use the Remove all synced data button

  2. Once that’s done, use the Sync Product & Collection Detail Pages button once more.


This will remove any custom fields applied to your product posts as well as any product post menu items.

Checkout redirects to page not found​

Issue: Clicking the "Begin checkout" button inside the ShopWP cart takes you to a page not found error.

This can occur if your Shopify online store is password protected. The solution is to remove the password protection so that the checkout page can be reached by non-logged in users.

Elementor widgets disappear after updating ShopWP​

Run this sql query in your database to make your widgets appear again:

UPDATE wp_postmeta SET meta_value = replace( meta_value, 'wpshopify', 'shopwp' ) WHERE (CONVERT(`meta_id` USING utf8) LIKE '%wpshopify%' OR CONVERT(`post_id` USING utf8) LIKE '%wpshopify%' OR CONVERT(`meta_key` USING utf8) LIKE '%wpshopify%' OR CONVERT(`meta_value` USING utf8) LIKE '%wpshopify%') AND meta_key <> "_wp_attachment_metadata";

Internal error. Looks like something went wrong on our end.​

This error can sometimes happen if the product or collection in Shopify is saved incorrectly. The easiest fix is to open the product in Shopify and set it to draft. Then republish. After doing this check the WordPress site again.

Products not showing​

When your products are failing to show, it usually means that you need to assign them to the ShopWP sales channel. This sales channel is created automatically when you initially connect your store. It's used to control what products are visible in ShopWP. Below are the steps for assigning your products to the sales channel.

  1. Open the product inside Shopify and look for the section called, "Sales channels and apps". Click the manage link.

ShopWP Pro Common Issues 1

  1. Assign the product to the ShopWP sales channel and click "Done". Now head back to WordPress to see if the product shows up. Sometimes this can take 1-2 minutes.

ShopWP Pro Common Issues 1

ReferenceError: shopwp is not defined​

JavaScript error shopwp is not defined

This JavaScript error can can happen if a theme or plugin is preventing the ShopWP JavaScript from loading, or loading in the correct order. The first thing to do is check for a theme or plugin conflict.

Start by temporarily switching themes. Does the error go away?

If not, turn off all your other plugins besides ShopWP. Does the error go away?

Some users have also reported this error showing up due to the Soil plugin. If you're using this plugin, make sure you're on the latest version.

<!DOCTYPE "... is not valid JSON​

This issue is usually caused by a misconfigured .htaccess file. Some plugins, like All In One WP Security, will add additional lines of code to your .htaccess file. However this can sometimes conflict with ShopWP.

The easiest way to check for a conflict is by manually editing your .htaccess file. Open it up in a text editor and replace the entire contents with the default WordPress values below:

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Missing languages within the Pricing settings​

If you're missing the "Currency" and "Language" dropdowns in the below screenshot, try logging out of WordPress and logging back in. The REST API nonce could very well be expired.

ShopWP Pro Pricing Settings

Recharge request failed with error message: You do not have sufficient permissions (scopes) for this object​

This error is due to incorrect permissions on your Recharge API key. This can happen when you accidentally forget to set Subscriptions and Products to "Read and write" when creating your Recharge API key.

If you're trying to link all of your products to Shopify, you may need to add the below chunk of PHP to your WordPress theme's functions.php file:

function shopwp_link_to_shopify($permalink, $post, $leavename) {

if ($post->post_type === 'wps_products') {
$shopify_url = get_post_meta($post->ID, 'product_shopify_url', true);

if (!empty($shopify_url)) {
return $shopify_url;

return $permalink;


add_filter( 'post_type_link', 'shopwp_link_to_shopify', 10, 3 );

This will essentially change the permalink of all synced product posts. It will change the link to point to the Shopify detail page instead.

Adding product programmatically does nothing​

Usually when this happens, the variant you're trying to add is out of stock. Open your product variant inside Shopify and make sure the "Available" inventory is greater than zero. Or turn off the "Track quantity" setting.

ShopWP Pro Pricing Settings

cURL 7 error​

This is usually due to your webhost blocking the Shopify domain or IP address. Please contact them and make sure they're not blocking these.