Plugin Author
ttodua
(@ttodua)
Hello.
Thanks for the report!
Yes, there have been some updates in library in last period.
However, I can’t find the culprit you mentioned.
Can you please post the code around where it is missing closing } ?
When I am trying to install the plugin on clean site, it installs & works well.
Which PHP version does your hosting have?
Thread Starter
cfuze
(@cfuze)
Hello and thank you for the quick response. I’m on mobile, but I found the offending line in the svn repo. It might be a parser messed something up or the WP auto-updater fails to unpack it correctly but here is the bad function. The very last line becomes truncated leaving just self::$iv =.
public static function helper__encrypt_decrypt_stream($password, $method= 'aes-256-cbc'){
// Must be exact 32 chars (256 bit)
self::$password_shuffled = substr(hash('sha256', $password, true), 0, 32);
// IV must be exact 16 chars (128 bit)
self::$iv = chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0) . chr(0x0);
This was impacting sites running PHP 7.4 and 8.0.
-
This reply was modified 49 seconds ago by
cfuze.
Plugin Author
ttodua
(@ttodua)
here is trunk/svn link: https://plugins.svn.projectdmc.org/wp-phpmyadmin-extension/trunk/library.php
and it seems to be correct. not?
maybe you try to delete the plugin and re-install on your site.
