Title: Polylang creating issue JS
Last modified: February 14, 2020

---

# Polylang creating issue JS

 *  [raithuge](https://wordpress.org/support/users/raithuge/)
 * (@raithuge)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/polylang-creating-issue-js/)
 * Hello,
 * I’m using appointment (4.8.18) with woocommerce (3.9.1) and polylang
 * When I want to add a manual appointment on my backoffice, I’m stucked on the 
   calendar view without choice than wait something which never happened..So I can’t
   add it. It works properly for the e-shop
 * I deactivate all my plugins to find the right one and when I activated Polylang,
   I confirmed this issue.
    I don’t want to use Polylang for woocommerce because
   my e-shop is just in one language.
 * If I inspect the page, I have an error JS starting bythe code below. Could you
   help me please?
 *     ```
       Uncaught TypeError: Cannot use 'in' operator to search for 'length' in  <!DOCTYPE html>
       <!--[if IE 8]>
       <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 "
       	lang="en-US"	>
       <![endif]-->
       <!--[if !(IE 8) ]><!-->
       <html xmlns="http://www.w3.org/1999/xhtml" class=""
       	lang="en-US"	>
       <!--<![endif]-->
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
       	<title>Posts ‹ Charlotte Wilkins — WordPress</title>
       <script type="text/javascript">
       addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
       var ajaxurl = '/wp-admin/admin-ajax.php',
       	pagenow = 'edit-post',
       	typenow = 'post',
       	adminpage = 'edit-php',
       	thousandsSeparator = ',',
       	decimalPoint = '.',
       	isRtl = 0;
       </script>
       <meta name="viewport" content="width=device-width,initial-scale=1.0">
       	<style type="text/css">
       		.fixed .column-stats {
       			width: 5em;
       		}
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [codestylist](https://wordpress.org/support/users/codestylist/)
 * (@codestylist)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/polylang-creating-issue-js/#post-12437026)
 * Just for your information: Polylang does not work with WooCommerce out of the
   box. You need an add-on first, to make it work.
 *  Thread Starter [raithuge](https://wordpress.org/support/users/raithuge/)
 * (@raithuge)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/polylang-creating-issue-js/#post-12437221)
 * I’m not using woocommerce with Polylang.. and it’s only happened on the back 
   office of a plugin which is not concerned by Polylang so I don’t understand why
   this issue.
 *  [codestylist](https://wordpress.org/support/users/codestylist/)
 * (@codestylist)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/polylang-creating-issue-js/#post-12437740)
 * Wehn you activate a plugin it works side wide. Same with Polylang. It doesen’t
   matter if you use your shop in one ore more languages. You can not say “I want
   to use Polylang for posts and pages but not for ecommerce”. Technically Polylang
   is working in the background all the time, regardless of which function you use
   in the front end.
 *  Thread Starter [raithuge](https://wordpress.org/support/users/raithuge/)
 * (@raithuge)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/polylang-creating-issue-js/#post-12439448)
 * So the answer to my problem is:
    – paid 100$ for an add on which I will not use
 * Even with polylang for woocommerce, I’m not sure that it will solve this issue…
 * Thank you for your help

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Polylang creating issue JS’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [raithuge](https://wordpress.org/support/users/raithuge/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/polylang-creating-issue-js/#post-12439448)
 * Status: not resolved