Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Soft79

    (@josk79)

    Please try replacing line 261 with:

    $type = preg_split("/_/", $r->element_type, 2);
    $type = $type[0];

    It’s probably because you use an older version of PHP

    Plugin Author Soft79

    (@josk79)

    Did this resolve your issue?

    Thread Starter remopini

    (@remopini)

    The error actually seems to have gone away by itself (probably due to updating some other plugins in the meantime)

    Plugin Author Soft79

    (@josk79)

    Magic!

    How did/does your WPML to qTranslate migration work out?

    Thread Starter remopini

    (@remopini)

    Pretty flawlessly… had to adjust a few settings here and there, but the migration has no issues whatsoever.

    Plugin Author Soft79

    (@josk79)

    Excellent. Could you please leave a rating?

    Hi, we have the same issue. We replaced line 261 but the error comes back on another place and says:

    Parse error: syntax error, unexpected T_STATIC in /home/netlex/public_html/dev.etnofilm.com/wp-content/plugins/w2q-wpml-to-qtranslate/w2q-helpers.php on line 11

    This surely has to do something with our older PHP version on server. We’ll try to move on server with newer PHP version and let you know.

    Plugin Author Soft79

    (@josk79)

    What if you replace all occurances of static:: with self:: ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error on line 261: unexpected "["’ is closed to new replies.