Support » Plugin: Hyyan WooCommerce Polylang Integration » Use order language for order emails settings causes An error of type E_ERROR

  • when i enable this option then i get this message
    There has been a critical error on this website

    An error of type E_ERROR was caused in line 645 of the file /var/www/vhosts/ Error message: Uncaught Error: Attempt to assign property “locale” on bool in /var/www/vhosts/
    Stack trace:

Viewing 1 replies (of 1 total)
  • Plugin Contributor jonathanmoorebcsorg


    Hi, that line of code looks like it is historic and should never be called in recent plugin versions, specifically to get to that line of code means that Polylang does not have the language requested..
    You could try commenting out the related line:

    //20190630: old code used in previous versions of this plugin
    $polylang->curlang->locale = $languageLocale;

    or raise the issue with more detail on
    as there is no support on this forum

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.