• 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)
  • 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

    (@raithuge)

    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.

    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

    (@raithuge)

    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.