Title: Syntax Error /includes/general.php
Last modified: June 6, 2017

---

# Syntax Error /includes/general.php

 *  Resolved [kamildesigner](https://wordpress.org/support/users/kamildesigner/)
 * (@kamildesigner)
 * [9 years ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/)
 * Hello,
 * I installed pods. When this plugin is enabled, an error is displayed:
 * Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/pods/
   includes/general.php on line 1002
 * Can You help me?
    Best Regards

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

 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [9 years ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9200792)
 * What version of PHP are you using?
 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [9 years ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9207334)
 * Sounds like you need to upgrade to PHP 5.3 or higher. I just received a similar
   message through twitter that had the same error and they were on PHP 5.2. Pods
   has a minimum PHP requirement of 5.3 (though, of course, running a higher version
   would be better).
 * If you have your hosting account upgrade your PHP, I’m fairly sure your issue
   will resolve.
 *  [john_6x6](https://wordpress.org/support/users/john_6x6/)
 * (@john_6x6)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9233312)
 * I have the same problem, however my PHP version is 5.6.29 on Bluehost.com. I 
   deleted and reinstalled Pods 2.6.9 and I still cannot re-activate Pods without
   this error:
 * Parse error: syntax error, unexpected T_FUNCTION in /home2/piriroch/public_html/
   wp-content/plugins/pods/includes/general.php on line 1002
 * Thoughts?
 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9234505)
 * Hi [@john_6x6](https://wordpress.org/support/users/john_6x6/),
 * This parse error is not very common in PHP 5.6. I have Pods installed at some
   hosts with PHP 5.6.x and even PHP 5.4.x (sigh) and it works fine.
    If a parse
   error would happen on 5.6 then this support forum should overflow with issues.
   A parse error is not specific to a configuration or anything so it would break
   every installation with the same PHP version. Which is not the case.
 * Please double-check your PHP version.
    [http://php.net/manual/en/function.phpversion.php](http://php.net/manual/en/function.phpversion.php)
 * Regards, Jory
 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9234620)
 * Go to Pods Admin > Settings and let us know what PHP version it says there. Sometimes
   what PHP version the host says and what it uses is different because some directories
   can be set either by mistake or manually overridden as other PHP versions.
 *  [john_6x6](https://wordpress.org/support/users/john_6x6/)
 * (@john_6x6)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9234833)
 * [@sc0ttkclark](https://wordpress.org/support/users/sc0ttkclark/), you were right
   on. I couldn’t activate the plugin to check there, so I added the file with “
   phpinfo()” instead. Shows it’s actually 5.2.17. I will notify the host.
 * Thank you all!
 *  [john_6x6](https://wordpress.org/support/users/john_6x6/)
 * (@john_6x6)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9234938)
 * FYI… they updated the PHP version to 5.6.29 right away and all is fine now. Thanks
   again for the help.
 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9292934)
 * Hey glad to hear it [@john_6x6](https://wordpress.org/support/users/john_6x6/)
   🙂

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

The topic ‘Syntax Error /includes/general.php’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

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

 * 8 replies
 * 5 participants
 * Last reply from: [Jim True](https://wordpress.org/support/users/jimtrue/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-includesgeneral-php/#post-9292934)
 * Status: resolved