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
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
Dear Yigit,
many thanks for the quick support,
now the page works fine.
Have a nice day,
Daniel