• Hi,

    after installing and trying to activate the plugin i got this error message:

    /var/www/vhosts/**********/wp-content/plugins/phpls/admin/init.php on line 176

    Activating the plugin is not possible 🙁

    Can you serve me?

    Kind regards Joerg

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vinzzb



    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,

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error in init.php’ is closed to new replies.