• Resolved Vad

    (@vadym1)


    Hi!

    Problem: I can not save when the font is Cyrillic (Taxonomies Posts Carousel and Grid). The Block freezes, and I can not save.

    Example, category name: Категория
    I rename category: Categ

    But I can not save, and block freezes.

    I edit “Livemesh Grid” and, Fatal error:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /mysite.com/wp-content/plugins/addons-for-elementor/includes/helper-functions.php on line 76

    Elementor 1.6.5 – The plugin stopped working.
    Plugin “Addons for Elementor” – I deactivated.

    I use plugin Polylang – It displays categories only for the selected language. Maybe it also affects the problem.

Viewing 1 replies (of 1 total)
  • Plugin Author livemesh

    (@livemesh)

    Vad – Sorry we took some time to get back to you. I had a tough time reproducing this. Can you pls check if the following change to function in helper-functions.php line number 66 fixes the issue? –

    function lae_get_taxonomy_info($taxonomies) {
        $output = '';
        $output .= '<span class="lae-terms">';
        $term_count = 0;
        foreach ($taxonomies as $taxonomy) {
            $terms = get_the_terms(get_the_ID(), $taxonomy);
            if (!empty($terms) && !is_wp_error($terms)) {
                foreach ($terms as $term) {
                    if ($term_count != 0)
                        $output .= ', ';
                    $term_link = get_term_link($term->slug, $taxonomy);
                    if (!empty($term_link) && !is_wp_error($term_link))
                        $output .= '<a href="' . $term_link . '">' . $term->name . '</a>';
                    else
                        $output .= $term->name;
                    $term_count = $term_count + 1;
                }
            }
        }
        $output .= '</span>';
        return $output;
    }

    I will provide an update once I receive your confirmation that this works well enough in this situation. Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘I can not save when the font is Cyrillic.’ is closed to new replies.