Title: Woo Commerce incompatibility/version errors
Last modified: November 17, 2020

---

# Woo Commerce incompatibility/version errors

 *  Resolved [rigpa1](https://wordpress.org/support/users/rigpa1/)
 * (@rigpa1)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/woo-commerce-incompatibility-version-errors/)
 * [https://docs.woocommerce.com/document/fix-outdated-templates-woocommerce/#prettyPhoto](https://docs.woocommerce.com/document/fix-outdated-templates-woocommerce/#prettyPhoto)
 * Tried to update woo commerce files in Foundry Template but STILL get the same
   errors when I put the cart in the menu:
 * Function.preg-match-all]: Compilation failed: invalid range in character class
   at offset 11 in /var/www/yaz.dk/public_html/wp-content/plugins/js_composer/include/
   autoload/hook-vc-grid.php on line 162
 * Warning: preg_match_all() [function.preg-match-all]: Compilation failed: invalid
   range in character class at offset 11 in /var/www/yaz.dk/public_html/wp-content/
   plugins/js_composer/include/autoload/hook-vc-grid.php on line 162
 * Warning: preg_match_all() [function.preg-match-all]: Compilation failed: invalid
   range in character class at offset 11 in /var/www/yaz.dk/public_html/wp-content/
   plugins/js_composer/include/autoload/hook-vc-grid.php on line 162
 * Warning: preg_match_all() [function.preg-match-all]: Compilation failed: invalid
   range in character class at offset 11 in /var/www/yaz.dk/public_html/wp-content/
   plugins/js_composer/include/autoload/hook-vc-grid.php on line 162
 * Warning: preg_match_all() [function.preg-match-all]: Compilation failed: invalid
   range in character class at offset 11 in /var/www/yaz.dk/public_html/wp-content/
   plugins/js_composer/include/autoload/hook-vc-grid.php on line 162
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwoo-commerce-incompatibility-version-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Claudio Sanches](https://wordpress.org/support/users/claudiosanches/)
 * (@claudiosanches)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/woo-commerce-incompatibility-version-errors/#post-13674949)
 * Hello [@rigpa1](https://wordpress.org/support/users/rigpa1/),
 * By checking the error messages seems like the errors come from `js_composer` 
   plugin.
 *     ```
       Function.preg-match-all]: Compilation failed: invalid range in character class at offset 11 in /var/www/yaz.dk/public_html/wp-content/plugins/js_composer/include/autoload/hook-vc-grid.php on line 162
       ```
   
 * I couldn’t found much about this plugin, and it seems like part of some themes
   that integrates with WPBakery, but I don’t think it’s related to WooCommerce,
   sounds like some files aren’t loading as `js_composer` expects, but it’s hard
   to know without seeing the file.
    It’s also possible to debug more the cause 
   of this issue following this guide: [https://wordpress.stackexchange.com/a/332654/36410](https://wordpress.stackexchange.com/a/332654/36410)
 * Please let me know if it helps.

Viewing 1 replies (of 1 total)

The topic ‘Woo Commerce incompatibility/version errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Claudio Sanches](https://wordpress.org/support/users/claudiosanches/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/woo-commerce-incompatibility-version-errors/#post-13674949)
 * Status: resolved