Viewing 6 replies - 1 through 6 (of 6 total)
  • yes, but one thing to do to avoid a warning in debug log :

    In line 304 of /src/Hyyan/WPI/Endpoints.php , change
    “$translations = $polylang->model->get_translations(“
    by
    “$translations = PLL()->model->post->get_translations(”

    Thread Starter leemon

    (@leemon)

    Thanks! Hope Hyyan releases an updated version of the plugin with this fix so we don’t have to fix this manually.

    I do not know if Hyyan will continue its plugin. I hope he will. I suggested him some modifications in github.

    Hallo Harasse,
    I get this error after changing Endpoints.php

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/hosting/freeoneshop_com/publicwww/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Endpoints.php on line 305

    Sorry I am not programmer and I dont know how to fix it.

    Thank you in advance.

    Thread Starter leemon

    (@leemon)

    You have to replace:

    $translations = $polylang->model->get_translations(
                    'post', wc_get_page_id('myaccount')
            );

    with:

    $translations = PLL()->model->post->get_translations(
                    wc_get_page_id('myaccount')
            );

    in the line 305

    woocommerce 2.5.2
    Polylang 1.8

    Hello , I installed your plugin, this error appears. Thanks.

    Fatal error: Call to undefined function Hyyan\WPI\icl_object_id() in /home/canoeyrehj/www/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Endpoints.php on line 193

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Polylang 1.8 and WooCommerce 2.5’ is closed to new replies.