Title: PHP Parse error: syntax error, unexpected T_STRING, expecting &#8216;,&#8217; or &#8216;;&#8217;
Last modified: February 17, 2019

---

# PHP Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’

 *  Resolved [Alvaro Gois dos Santos](https://wordpress.org/support/users/alvarogois/)
 * (@alvarogois)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/)
 * I’m getting this PHP error that’s stopping my page to work:
 * `PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in */
   wp-content/plugins/minimal-coming-soon-maintenance-mode/framework/public/views/
   html.php on line 43`
 * What should I do?
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-parse-error-syntax-error-unexpected-t_string-expecting-or%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/#post-11216114)
 * Hi, sorry to hear you’re having problems.
 * Your server is using a very old version of PHP (5.2) that we no longer support,
   nor does WordPress 🙁 I suggest contacting your hosting company and asking them
   to upgrade that for you.
 *  Thread Starter [Alvaro Gois dos Santos](https://wordpress.org/support/users/alvarogois/)
 * (@alvarogois)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/#post-11217198)
 * Thanks [@webfactory](https://wordpress.org/support/users/webfactory/). My bad
   then.
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/#post-11217308)
 * You’re welcome!
 * If they tell you they can’t / won’t upgrade – email [support@webfactoryltd.com](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/support@webfactoryltd.com?output_format=md)
   and reference this thread. I can’t guarantee anything but our guys will take 
   a look 🙂
 *  Thread Starter [Alvaro Gois dos Santos](https://wordpress.org/support/users/alvarogois/)
 * (@alvarogois)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/#post-11217327)
 * No problem with my hosting company. I can change my PHP version up to 7.3. 😉
   It’s just that it was an old install (with WordPress auto-updates on), and the
   PHP version didn’t follow WordPress updates. All is working good now. Thanks 
   again.
    -  This reply was modified 7 years, 3 months ago by [Alvaro Gois dos Santos](https://wordpress.org/support/users/alvarogois/).
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/#post-11217339)
 * Great to hear that 🙂

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

The topic ‘PHP Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’’
is closed to new replies.

 * ![](https://ps.w.org/minimal-coming-soon-maintenance-mode/assets/icon-256x256.
   png?rev=1797141)
 * [Minimal Coming Soon – Coming Soon Page](https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/minimal-coming-soon-maintenance-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/minimal-coming-soon-maintenance-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/minimal-coming-soon-maintenance-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/minimal-coming-soon-maintenance-mode/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [WebFactory](https://wordpress.org/support/users/webfactory/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-t_string-expecting-or/#post-11217339)
 * Status: resolved