• bashmao

    (@bashmao)


    Hi.

    Until now I have been using Woodmart theme + Woocommerce + Polylang plugin+ Hyyan WooCommerce Polylang Integration plugin. Hyyan translates things that can be translated only in the paid Polylang version (variable products and some other things, I do not remember exactly, but I could not avoid using Hyyan).

    The above combination worked with PHP7, but now I migrated to PHP8, and that is where Hyyan plugin shows PHP errors.

    Fatal error: Uncaught Error: Call to undefined function Hyyan\WPI\pll_default_language() in /var/www/chbd6f72ad/www/my-site/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Plugin.php:335 Stack trace: #0 /var/www/chbd6f72ad/www/my-site/wp-includes/class-wp-hook.php(324): Hyyan\WPI\Plugin::wpi_ensure_woocommerce_pages_translated(Object(WP_Screen)) #1 /var/www/chbd6f72ad/www/my-site/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /var/www/chbd6f72ad/www/my-site/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/chbd6f72ad/www/my-site/wp-admin/includes/class-wp-screen.php(424): do_action(‘current_screen’, Object(WP_Screen)) #4 /var/www/chbd6f72ad/www/my-site/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen() #5 /var/www/chbd6f72ad/www/my-site/wp-admin/admin.php(213): set_current_screen() #6 /var/www/chbd6f72ad/www/my-site/wp-admin/plugins.php(10): require_once(‘/var/www/chbd6f…’) #7 {main} thrown in /var/www/chbd6f72ad/www/my-site/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Plugin.php on line 335

    The reason is that Hyyan has not been updated for 5 years.

    So, I am looking for a plugin or a plugin combination to make my website multilingual, but without having to pay annual fee which is quite expensive for me. Though a one-time payment is acceptable.

    More details:

    • my webiste is 2 languages
    • I need to create a separate page with a separate slug for each language (SEO for each language, including seo title and description).
    • translate header, footer, product category and variable goods
    • This topic was modified 7 months ago by bashmao.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    An undefined function error sounds more like incompatibility between plugins more than anything regarding PHP versions. The PolyLang function pll_default_language() is still a valid function name, but it may not be defined when needed for a back end request. It’s likely possible to patch things up to get them working again.

    However, relying upon a plugin that has not been updated in 5 yrs is a poor proposition at best. You’re right in wanting to find a more sustainable solution. There are many translation plugins available, try out a few that sound good and see which works best. Since you’re requiring support for WooCommerce, you might prefer to investigate translation extensions from WooCommerce.

    FWIW, one time payment is rather rare these days in the WP ecosystem. Most paid “pro” plugins all operate on an annual subscription basis. In some cases you can choose to not renew the subscription and the version you have will continue to work into the ensuing years. However, at some point that same old plugin that’s never updated will again fail to work and you’re right back here in the same situation again.

Viewing 1 replies (of 1 total)

The topic ‘Multilangual site, free plugins combination’ is closed to new replies.