WordPress.org

Forums

User Language Switch
cannot activate it (4 posts)

  1. Rene Hermenau
    Member
    Posted 1 year ago #

    Parse error: syntax error, unexpected T_FUNCTION in /html/wp-content/plugins/user-language-switch/uls-rewrite-rules.php on line 26

    http://wordpress.org/plugins/user-language-switch/

  2. Webilop
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Rene,

    Thanks for report this, could you please provide us with your PHP version and WordPress version?

    The plugin uses anonymous functions and they are supported from PHP >= 5.3:
    http://www.php.net/manual/en/functions.anonymous.php
    http://php.net/manual/en/class.closure.php

    We'll work on this to support earlier PHP versions.

    Regards,

  3. Rene Hermenau
    Member
    Posted 1 year ago #

    Thats not the prob. I use
    PHP Version 5.3.3-7+squeeze15 and WordPress 3.5.2

    Maybe any incompatibility with another plugin. I try to check it out, but my time is rare actually.

    Regards, René

  4. Webilop
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    This is weird, we did a change to not use anonymous functions, could you please check if the new version works for you?

    Thanks!

    Webilop Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Language Switch
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.