Support » Plugin: PHPEnkoder » Problem after Update from 1.11 to 1.12

  • Resolved Michael Luther


    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

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];


    $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


    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, 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 ‘Problem after Update from 1.11 to 1.12’ is closed to new replies.