Title: Parse error in init.php
Last modified: October 21, 2020

---

# Parse error in init.php

 *  [joergwigger](https://wordpress.org/support/users/joergwigger/)
 * (@joergwigger)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/parse-error-in-init-php/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-in-init-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [vinzzb](https://wordpress.org/support/users/vinzzb/)
 * (@vinzzb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/parse-error-in-init-php/#post-13917047)
 * 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
 *  [micha1](https://wordpress.org/support/users/micha1/)
 * (@micha1)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/parse-error-in-init-php/#post-14233565)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/phpls.svg)
 * [PhpList Subber](https://wordpress.org/plugins/phpls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/phpls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/phpls/)
 * [Active Topics](https://wordpress.org/support/plugin/phpls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phpls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phpls/reviews/)

## Tags

 * [init](https://wordpress.org/support/topic-tag/init/)

 * 2 replies
 * 3 participants
 * Last reply from: [micha1](https://wordpress.org/support/users/micha1/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/parse-error-in-init-php/#post-14233565)
 * Status: not resolved