Title: Parse error: syntax error
Last modified: July 26, 2018

---

# Parse error: syntax error

 *  Resolved [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/)
 * From one day top the other I now suddenly get the following error:
    Parse error:
   syntax error, unexpected T_USE, expecting T_FUNCTION in /var/www/domains/domain.
   com/www/wp-content/plugins/wps-hide-login/classes/plugin.php on line 8
 * Is there a way to solve this?

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

 *  Plugin Author [NicolasKulka](https://wordpress.org/support/users/nicolaskulka/)
 * (@nicolaskulka)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10537610)
 * Plugin version ?
    PHP version ?
 *  Thread Starter [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10537615)
 * All up-to-date of course 🙂 so:
    WordPress: 4.9.7 WPS Hide Login: 1.4.3
 *  Plugin Author [NicolasKulka](https://wordpress.org/support/users/nicolaskulka/)
 * (@nicolaskulka)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10541220)
 * PHP version ?
 *  Thread Starter [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10541245)
 * PHP 5.3.10 – very old but unfortunately a fact with the shared host where the
   issue is.
    I also suspect this being the problem because this did not cause a
   problem before the latest WPS Hide Login update.
    -  This reply was modified 7 years, 10 months ago by [MeOnline](https://wordpress.org/support/users/webber2012/).
    -  This reply was modified 7 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Author [NicolasKulka](https://wordpress.org/support/users/nicolaskulka/)
 * (@nicolaskulka)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543107)
 * Pass to PHP 5.6 or PHP 7
 *  Thread Starter [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543183)
 * Unfortunately this is not possible since the website is on shared hosting and
   the host has no plans yet to migrate the complete server to a newer php version.
   🙁
    Also there’s no possibility to set the php version higher with an individual
   website like you can do on more modern hosts.
 * As you can see there are other reactions as well with the same problem, this 
   appears to be an issue which much more people have.
 * Would it be possible to make the latest version of WPS Hide Login compatible 
   with the older php version again, it used to work before the 1.4.3 update.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543198)
 * Side note to other people who jumped on this topic and is not the original topic
   poster or the plugin author: If you need support then per the forum guidelines
   please start your own topic.
 * [https://wordpress.org/support/guidelines/#post-in-the-best-place](https://wordpress.org/support/guidelines/#post-in-the-best-place)
 * You can do so here.
 * [https://wordpress.org/support/plugin/wps-hide-login/#new-post](https://wordpress.org/support/plugin/wps-hide-login/#new-post)
 * Those other replies have been removed.
 *  Plugin Author [NicolasKulka](https://wordpress.org/support/users/nicolaskulka/)
 * (@nicolaskulka)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543925)
 * requires PHP 5.6 for last version plugin.
 * so for your PHP version, download : [https://plugins.trac.wordpress.org/browser/wps-hide-login/tags/1.3.4.2](https://plugins.trac.wordpress.org/browser/wps-hide-login/tags/1.3.4.2)
 *  Thread Starter [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543947)
 * Thanks for the help but that means that the latest version of WPS Hide Login 
   will not be made compatible with older versions of php?
    In that case and unfortunately
   I will need to search for another solution.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543965)
 * Note: If you’re using a version of PHP less that 5.6, it’s not being maintained
   nor is it secure. You should contact your host to be on *at least* 5.6, but preferably
   7.1 or better. The PHP 7 version is more secure and faster.
 *  Thread Starter [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543997)
 * I understand fully, problem is the host in question has no plans (yet) to do 
   so. 🙁
    And I believe I am not alone with this issue.

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

The topic ‘Parse error: syntax error’ is closed to new replies.

 * ![](https://ps.w.org/wps-hide-login/assets/icon-256x256.png?rev=1820667)
 * [WPS Hide Login](https://wordpress.org/plugins/wps-hide-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wps-hide-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wps-hide-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wps-hide-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wps-hide-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wps-hide-login/reviews/)

## Tags

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

 * 11 replies
 * 4 participants
 * Last reply from: [MeOnline](https://wordpress.org/support/users/webber2012/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-157/#post-10543997)
 * Status: resolved