Jump to content
Sign in to follow this  
jjcubz

Parse error

Recommended Posts

jjcubz

I just tried to activate Platform PRO and got this error: Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/s/p/a/spapmd/html/wordpress/wp-content/themes/platformpro/sections/nav/section.nav.php on line 13 How do I fix this?

Share this post


Link to post
Share on other sites
jjcubz

Yes, I'm using the latest version. I downloaded it yesterday from that link you posted. Any other ideas?

Share this post


Link to post
Share on other sites
bryan-hadaway

Bumping this to developer support for you. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns

A function might not be closed in the update? We'll take a look at it.

Share this post


Link to post
Share on other sites
Simon

This error is typically produced when you host is using PHP4. PlatformPro requires PHP5. Is this 1&1 hosting?

Share this post


Link to post
Share on other sites
jjcubz

I'm hosting the site on GoDaddy.com. How do I know if they are using PHP4 or 5? If they're on 4, can I somehow switch the site to 5?

Share this post


Link to post
Share on other sites
Andrew

Hey Jennifer, Do you know which version of PHP you are on? You may be using PHP 4. Andrew

Share this post


Link to post
Share on other sites
jjcubz

I switched to PHP5 and all is running smoothly now. Thank you all for your help!

Share this post


Link to post
Share on other sites
jaredf

I'm having the same problem with godaddy but it says i have php 5.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×