Search for answers:
The OptimizePress Support Site Has Moved: Click here to access the new Support site

Parse Error Syntax Error T_FUNCTION ....

If you receive an error such as below please follow this guide:

Parse error: syntax error, unexpected T_FUNCTION in \vhosts\\httpdocs\wp-content\plugins\optimizePressPlugin\lib\framework.php on line 299"

The Parse error you are receiving is because OptimizePress requires version 5.3 of PHP or above. Some of the latest features in OptimizePress require this and therefore if you're running an older version of PHP you may receive errors such as this.

To fix this, you need to contact your hosting company and ask them to upgrade your hosting to use version 5.3 or above of PHP (version 5.4 or 5.5 will also work).

Unfortunately this is not something we can change from our side as it is reliant on your hosting company to make this change.

Didn't find an answer to your question? Contact Our Support Team (Submit a ticket)
Was this article helpful?
1 out of 1 found this helpful


Other Help Categories:

Get Started Guide

Watch our Ultimate Getting Started guide video

Pre-Sales Questions

Ask questions before purchasing our products

Login Problems

If you're having issues logging into our members hub

Accounts & Billing

Update your billing, request a refund and other accounts help

API Key Issues

Get help with licensing your site and API key issues

Membership Help

Get help creating Membership portals and courses

LiveEditor Help

If you need help using or troubleshooting the LiveEditor


Find out about the many integrations possible with OptimizePress

Affiliate Questions

Have questions about promoting OptimizePress

Clubhouse Questions

Questions about our Clubhouse Membership Subscription