WordPress.org

Support

Support » Plugins and Hacks » PHPEnkoder » [Resolved] Problem after Update from 1.11 to 1.12

[Resolved] Problem after Update from 1.11 to 1.12

  • Dear Michael,

    at first, thank you for these useful and simple plugin.

    While i updated some of my WP-Sites i detected an fatal error.

    Parse error: syntax error, unexpected ‘[‘ in /…/wp-content/plugins/php-enkoder/enkoder.php on line 438

    After the update Backend & Frontend were not available. I fixed this by deleting the plungin via ftp and upload the old plugin folder again.

    Probably something is wrong.

    Regards, Michael

    http://wordpress.org/plugins/php-enkoder/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Had same problem and what fixed for me was to edit the line 438 from:

    $ord = unpack("N",$c)[1];

    to:

    $ord = unpack("N",$c);
    $ord = $ord[1];

    I had the same error, this fixed it for me.

    Thanks fcalloni!

    Thanks, the fixed worked like a charm!

    Looks like this is fixed with 1.12.1.

    Seems like they changed it to:

    $bs = unpack("N",$c);
    $ord = $bs[1];

    Everything works fine again. Big thanks to fcalloni and Michael for update the plugin!!

    Plugin Author michael_greenberg

    @michael_greenberg

    This was exactly the reason for 1.12.1—apparently PHP doesn’t have compositional syntax. Sorry to crash your websites!

    If anyone has suggestions on how to get a testbed that covers a variety of PHP/Wordpress deployments, I’d love to hear them.

    Finally: feel free to email me at phpenkoder@weaselhat.com, especially for showstopping bugs like these. Not only is it more direct, it’s also a little faster than the forums.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Problem after Update from 1.11 to 1.12’ is closed to new replies.
Skip to toolbar