PHP Warnings in content_timeline_class.php
|Closed||31127||Normal||Content Timeline WP|
I’m using WPML with 2 langs: EN and IT (Where IT is the default one). In the backend, editing a timeline setted up as Italian, I’ve a warning about “undefined $lang var” on content_timeline_class.php:230 and a warning about “undefined $my_lang var” on content_timeline_class.php:236.
230: <?php if (isset($_GET['lang']))$lang=$_GET['lang'];
now the problem seems fixed and the generated js code has the var my_ctimeline_lang correctly setted to “it”.
Could you please take a look to the problem and eventually fix it?
Thanks in advance,
P.S.: I’m on