Forum Replies Created
-
AuthorPosts
-
December 9, 2016 at 6:26 pm in reply to: Warning: Illegal string offset 'language_code Enfold Theme #722568
@Yigit enjoy your weekend too and keep up the awesome work.
Ciao!Fulvio
December 9, 2016 at 6:21 pm in reply to: Warning: Illegal string offset 'language_code Enfold Theme #722563Thanks Yigit,
found the same solution and posted it before refreshing the page so I did not see your super-quick answer.
Cheers,Fulvio
December 9, 2016 at 6:18 pm in reply to: Warning: Illegal string offset 'language_code Enfold Theme #722561Hello,
visited WPML website (https://wpml.org/forums/topic/language-switcher-url-issues-links-to-lange-instead-of-en/) and they provided a temporary code to be included in the functions.php file of any website. Apparently it solved the issue. The code is this one:
/**
* 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 );
}Hope it helps.
Cheers,
FulvioDecember 9, 2016 at 6:11 pm in reply to: Warning: Illegal string offset 'language_code Enfold Theme #722552Hello,
same problem here. The issue is present on the homepage and the ‘news’ (blog) section.
issue: Warning: Illegal string offset ‘language_code’ in …/home/wp-content/themes/enfold/config-wpml/config.php on line 488
Please help as the website is live and my client won’t like this we he’ll realize.Regards,
FulvioWow, that was really simple. Didn’t think about it.
Thanks a lot!Fulvio
Hi Rikard,
thanks for your answer. I was running version 3.5.3, you’re right.
I did manage to get the background image displayed on mobile also on the old version I was running. This, because I got rid of the footer and breadcrumbs- I think this is the reason. The bkg image is not fixed and it scrolls though (but this result is fine to me).
Same result when I updated to version 3.5.4.Thanks,
FulvioHi!
I know this is an old thread but I’m actually facing the same issue. I’ve chosen a fixed image as background but, on mobile devices, either it does not appear (I just get a white background, in my case) or it scrolls – depending on the device (I’ve tried on two different phones).
Everything’s fine on Chrome on my Mac, though.Thanks for your help.
Fulvio -
AuthorPosts