Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #723714

    Hy.

    On my live site after updating plugins there are 2 errors.

    Warning: Illegal offset type in isset or empty in /home/umetne01/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/class-wpml-lang-subdir-converter.php on line 91

    Warning: Illegal offset type in isset or empty in /home/umetne01/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/class-wpml-lang-subdir-converter.php on line 91

    Please help me to solve the problem.

    Best regards,
    Daniel

    #723727

    Hi Daniel

    Please try adding following code to Functions.php file in Appearance > Editor

    /**
    * This fixes the issue with truncated links in Enfold theme with WPML 3.6.0
    * WARNING: ILLEGAL STRING OFFSET 'LANGUAGE_CODE' IN …\WP-CONTENT\THEMES\ENFOLD\CONFIG-WPML\CONFIG.PHP ON LINE (number of line)
    */
    add_action( 'init', 'wpmlcore_3776_temporary_fix' );
    function WPMLcore_3776_temporary_fix() {
    remove_filter( 'WPML_filter_link','avia_change_wpml_home_link', 10 );
    }

    Best regards,
    Yigit

    #724249

    Dear Yigit,

    many thanks for the quick support,
    now the page works fine.

    Have a nice day,
    Daniel

    #724278

    Hi!

    You are welcome, glad we could help :)
    For your information, latest version of WPML 3.6.2 fixes the issue as well without needing a code :)

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.