Plugin Author
cip
(@cip)
Hi!
Most likely it is not the plugin, but still, could you provide the full error message that includes the file name and the line number?
Thank you!
PS: we are here to assist anyone using this plugin.
Hi
The full error message is
Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /websites/123reg/LinuxPackage21/la/ur/ah/*MYWEBSITE*.co.uk/public_html/wp-content/plugins/enhanced-category-pages/enhanced-category-pages.php on line 17
I’ve replaced my sites URL in the message as I haven’t finished the site yet so it isnt ready to be visited.
Thanks, Laura.
Plugin Author
cip
(@cip)
Hi Laura!
I am glad that you stumbled upon this error because it shows an important server setup problem. This is because we are using anonymous functions that were introduced in PHP 5.3.
I see from your file location that you are using 123reg as hosting company. Follow the instructions to upgrade your PHP version on 123reg. My suggestion is to update to 5.5.x if available for your account.
Cheers!
PS: let us know if everything went well. Some minimal coding skills are required, make sure to check the install version and if problems occur read the other support topics and if still it did not work, just let us know.
Plugin Author
cip
(@cip)
I hope you were able to upgrade your PHP version and all worked well.