• Resolved smartsmell

    (@smartsmell)


    Hello!

    Error shown below is a result of trying open any product for editing. This caused by new version of the plugin installed today and disappeared after plugin deactivation.

    I use polylang that has been updated today as well.

    Can you help with this issue?

    Fatal error: Uncaught Error: Call to undefined function Cyr_To_Lat\pll_get_post_language() in /home/smartsme/smart-smell.com.ua/www/wp-content/plugins/cyr2lat/classes/class-main.php:434 Stack trace: #0 /home/smartsme/smart-smell.com.ua/www/wp-includes/class-wp-hook.php(287): Cyr_To_Lat\Main->pll_locale_filter(‘ru_RU’) #1 /home/smartsme/smart-smell.com.ua/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘ru_RU’, Array) #2 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(41): apply_filters(‘locale’, ‘ru_RU’) #3 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(137): get_locale() #4 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(1277): determine_locale() #5 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(1239): _get_path_to_translation_from_lang_dir(‘ga-google-analy…’) #6 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(1209): _get_path_to_translation(‘ga-google-analy…’) #7 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(1307): _load_textdomain_just_in in /home/smartsme/smart-smell.com.ua/www/wp-content/plugins/cyr2lat/classes/class-main.php on line 434

    Fatal error: Uncaught Error: Call to undefined function Cyr_To_Lat\pll_get_post_language() in /home/smartsme/smart-smell.com.ua/www/wp-content/plugins/cyr2lat/classes/class-main.php:434 Stack trace: #0 /home/smartsme/smart-smell.com.ua/www/wp-includes/class-wp-hook.php(287): Cyr_To_Lat\Main->pll_locale_filter(‘ru_RU’) #1 /home/smartsme/smart-smell.com.ua/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘ru_RU’, Array) #2 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(41): apply_filters(‘locale’, ‘ru_RU’) #3 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(137): get_locale() #4 /home/smartsme/smart-smell.com.ua/www/wp-includes/l10n.php(828): determine_locale() #5 /home/smartsme/smart-smell.com.ua/www/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain() #6 [internal function]: WP_Fatal_Error_Handler->handle() #7 {main} thrown in /home/smartsme/smart-smell.com.ua/www/wp-content/plugins/cyr2lat/classes/class-main.php on line 434

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author kaggdesign

    (@kaggdesign)

    Спасибо за сигнал, исправляю.

    Plugin Author kaggdesign

    (@kaggdesign)

    Apologies, fixed. Please install the latest version 4.6.1.

    Version 4.6.1.
    Fatal error: Uncaught Error: Call to undefined function Cyr_To_Lat\PLL() in /
    Fatal error: Uncaught Error: Call to undefined function Cyr_To_Lat\PLL() in /

    Plugin Author kaggdesign

    (@kaggdesign)

    @zeos007 How to reproduce it?

    https://*****/wp-admin/post.php
    When creating a new page

    Fatal error: Uncaught Error: Call to undefined function Cyr_To_Lat\PLL() in /home/site/site.com/www/wp-content/plugins/cyr2lat/classes/class-main.php:451 Stack trace: #0 /home/site/site.com/www/wp-includes/class-wp-hook.php(287): Cyr_To_Lat\Main->pll_locale_filter(‘ru_RU’) #1 /home/site/site.com/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘ru_RU’, Array) #2 /home/site/site.com/www/wp-includes/l10n.php(41): apply_filters(‘locale’, ‘ru_RU’) #3 /home/site/site.com/www/wp-includes/l10n.php(137): get_locale() #4 /home/site/site.com/www/wp-includes/l10n.php(1277): determine_locale() #5 /home/site/site.com/www/wp-includes/l10n.php(1239): _get_path_to_translation_from_lang_dir(‘disable-admin-n…’) #6 /home/site/site.com/www/wp-includes/l10n.php(1209): _get_path_to_translation(‘disable-admin-n…’) #7 /home/site/site.com/www/wp-includes/l10n.php(1307): _load_textdomain_just_in in /home/site/site.com/www/wp-content/plugins/cyr2lat/classes/class-main.php on line 451

    Fatal error: Uncaught Error: Call to undefined function Cyr_To_Lat\PLL() in /home/site/site.com/www/wp-content/plugins/cyr2lat/classes/class-main.php:451 Stack trace: #0 /home/site/site.com/www/wp-includes/class-wp-hook.php(287): Cyr_To_Lat\Main->pll_locale_filter(‘ru_RU’) #1 /home/site/site.com/www/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘ru_RU’, Array) #2 /home/site/site.com/www/wp-includes/l10n.php(41): apply_filters(‘locale’, ‘ru_RU’) #3 /home/site/site.com/www/wp-includes/l10n.php(137): get_locale() #4 /home/site/site.com/www/wp-includes/l10n.php(828): determine_locale() #5 /home/site/site.com/www/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain() #6 [internal function]: WP_Fatal_Error_Handler->handle() #7 {main} thrown in /home/site/site.com/www/wp-content/plugins/cyr2lat/classes/class-main.php on line 451

    Plugin Author kaggdesign

    (@kaggdesign)

    @zeos007 I cannot reproduce it on my test site, what is strange. But I know how to fix it, will be ready in 20 min.

    Plugin Author kaggdesign

    (@kaggdesign)

    @zeos007 Fixed. Please download version 4.6.2.

    Thank you for the bug report.

    Thanks! Its work!)))

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error while trying to open product to edit’ is closed to new replies.