Are you using string translation wpml module? What wpml version you’re running?
I dont use string translation
Ok, can you enable string translation? It’s required for permalinks translation feature in EM.
But the upcoming release will include a fix for the issue you have now.
Did you enable string translation? Did it help?
i am getting
Strict Standards: Only variables should be passed by reference in events-maker/includes/class-wpml.php on line 155
(same for lines 156, 157, 158)
Event Maker 1.6.3
WPML Multilingual CMS 3.1.9.7
WPML String Translation 2.1.4
Any ideas why?
@permanyer, i’m surprised you’re getting that kind of notice.
What’s all about? This lines of code call WPML icl_t() function. For some reason it requires 4th parameter to be a variable – it can’t be called directly.
So we’re using this: icl_t( arg1, arg2, arg3, $has_translation = null ) to give the function variable but set it value to null (which is expected).
You may try to set the $has_translation var before the icl_t function is used and see if it removes the notice.
Defining $has_translation = null first and then passing icl_t( arg1, arg2, arg3, $has_translation ) works (the notice does not appear).
Thank you!
Good,
I’ll fix that in the next release.
Regards,
Bartosz