• Hi! There are errors appear after plugin activation. A few months ago you wrote that you were planning to add it. I am planning to buy a plugin, but I noticed that there is no polylang support now. Please tell me how things are going, as this criterion affects the purchase of the plugin.

Viewing 1 replies (of 1 total)
  • JJ

    (@jjtristargroup)

    Hi @k4m1k4dz3 (and others who might find this like me),

    I’m not associated with this Plug-in, but I did just stumble upon -probably- the same error. And I know how to atleast prevent it from breaking the whole plug-in.

    It does require modifying the plug-in, so updating it would remove the fix.

    Steps how to fix it:

    1. Navigate to: /wp-content/plugins/premmerce-woocommerce-product-filter/src/Admin/Tabs/
    2. Open: Taxonomy.php
    3. Go to functions “switchToDefaultLanguage()” & “switchToCurrentLanguage()” (They’re below each other)

    Change the first “if” statement in both these functions from:
    if (defined('ICL_LANGUAGE_CODE'))
    to:
    if (defined('ICL_LANGUAGE_CODE') && isset($sitepress))

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Polylang support’ is closed to new replies.