Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author dFactory

    (@dfactory)

    Are you using string translation wpml module? What wpml version you’re running?

    Thread Starter Nick Sirigos

    (@visitinggreece)

    3.1.9.5

    Thread Starter Nick Sirigos

    (@visitinggreece)

    I dont use string translation

    Plugin Author dFactory

    (@dfactory)

    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.

    Thread Starter Nick Sirigos

    (@visitinggreece)

    Thank you

    Plugin Author dFactory

    (@dfactory)

    Did you enable string translation? Did it help?

    Thread Starter Nick Sirigos

    (@visitinggreece)

    yes

    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?

    Plugin Author dFactory

    (@dfactory)

    @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!

    Plugin Author dFactory

    (@dfactory)

    Good,

    I’ll fix that in the next release.

    Regards,
    Bartosz

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘class-wpml.php on line 151’ is closed to new replies.