Not compatible with polylang and php 7
-
When is active polylang yith vive me error when is active one of them (only yith or only polulang) works.
this is the error
with php 5.6:
Call to a member function get_default_language() on a non-object in /…/wp-content/plugins/plugins/yith-woocommerce-request-a-quote/includes/class.yith-request-quote.php on line 511with php 7:
Fatal error: Uncaught Error: Call to a member function get_current_language() on null in /../wp-content/plugins/yith-woocommerce-request-a-quote/includes/class.yith-request-quote.php:511 Stack trace: #0 /…/wp-content/plugins/yith-woocommerce-request-a-quote/includes/class.yith-request-quote-frontend.php(203): YITH_Request_Quote->get_raq_page_url() #1 /…/wp-content/plugins/yith-woocommerce-request-a-quote/includes/class.yith-request-quote-frontend.php(179): YITH_YWRAQ_Frontend->print_button() #2 /…/wp-includes/class-wp-hook.php(286): YITH_YWRAQ_Frontend->add_button_single_page(”) #3 /…/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /…/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /…/wp-content/plugins/woocommerce/templates/content-single-product.php( in /…/wp-content/plugins/yith-woocommerce-request-a-quote/includes/class.yith-request-quote.php on line 511
Thank you!
- The topic ‘Not compatible with polylang and php 7’ is closed to new replies.