Plugin Author
vinzzb
(@vinzzb)
Hi,
First of all, sorry for the late response. I did not receive any notification email for your question. I have to check my settings on this site…
Nevertheless, I looked at your problem and could not find anything that would result in this error. Line 176 is the end of my Php script.
Could you tell me what version of PHP you are using? You must run PHP 5.3 or higher because the plugin is Object Oriented (OOP) written. I think this may be the problem? I should’ve mentioned that in the installation guide. I’ll change that on a next release.
Kind regards,
Vincent
hi there
after reviewing your code,i noticed, that short open tags are used.
add in php.ini
short_open_tag = On
with that i use this nifty plugin under php7.4
other way ist to do a
find . -iname “\*.ph\*” -type f -print0 |xargs -0 sed -i -e ‘s/<? /<?php /g’ -e ‘s/<?\/\//<?php \/\//g’ -e ‘s/<?\/\*/<?php \/\*/g’ -e ‘s/<?\=/<?php echo/g’
to replace <? with <?php .
kind regards and thx