i think you can be more polite as you are using a free and open plugin.
you even couldt digg into it and write a patch…
@netzgestaltung Thank you
@minasato Hi, you use php 5.4? I heighly recommend you update your PHP. Version 5.4 reached end of support about two years ago. Thats a massive security issue. Unbelievable.
http://php.net/supported-versions.php
However, i will have a look on the code. Ich only tested this version on PHP 7 and above.
i do have an error when reactivating the plugin on one of the affected pages:
Das Plugin kann nicht aktiviert werden, da es einen fatalen Fehler erzeugt.
Parse error: syntax error, unexpected ‘[‘ in /wp-content/plugins/crop-thumbnails/functions/save.php on line 206
PHP Versions running on sites that are affected on my side:
5.3.27
5.6.31
5.3.27
all other installations (~20) do work – i assume they are on PHP 7 allready
i now tested setup PHP to 7 and reinstalled the plugin on one site: worked.
good catch to update PHP versions π
So, i am finally home, and will have a look on it – asume there will be version 1.0.1 in about 1-2 hours.
Hi,
i just released version 1.0.1 wich addresses the 2 bugs.
Problem is, i cant test it really well. On non of my servers runs a Version older than 5.5.
- The short-array-notation was introduced with PHP 5.4.
- The “Canβt use function return value in write context” error seems to be a php-setting on older versions – didn’t get this error nether.
Let me know if the plugin runs in Version 1.0.1.
@volkmar-kantor Thanks for looking into this, and sorry for the rant.
On a Sunday morning several websites went down on an old server and it was slightly disappointing it was due to the update – surely I used wrong language to point that out.
I really appreciate your work, this plugin proved really useful and way better than others from the same category.
So – Thank you, and apologies.
Keep up the good job.
Hi, I had the same issue (5.4). I’ve updated the plugin and it seems fine now, thanks