Can't activate plugin

SupportCan't activate plugin
Ki asked 6 years ago
When I try to activate, I get the error "Parse error: syntax error, unexpected T_FUNCTION in /home/qwert/public_html/contact/wp-content/plugins/easy-appointments/main.php on line 126" Any idea of how I can fix this?  I've changing PHP versions.
2 Answers
Nikola Loncar Staff answered 6 years ago
Can you please tell me what is the version that you are using? Best regards, Nikola
Nikola Loncar Staff replied 6 years ago

also can you check what is the version of PHP on your hosting?

ki-wi Staff replied 6 years ago

Version 2.3.6 and PHP (php56), although I’ve tried all available versions on my hosting.

Nikola Loncar Staff answered 6 years ago
WordPress version is 2.3.6? You should update it :( Best regards, Nikola
ki-wi Staff replied 6 years ago

Have updated to latest plugin, tried every version of php available with still no luck. Still the same error.

ki-wi Staff replied 6 years ago

Have also tried deactivating all other plugins. Are there any other plugins or telles on to work? Or any hosting requirements that siteground doesn’t have?

ki-wi Staff replied 6 years ago

Please disregard, there was an obsolete folder on hosting, which I was changing PHP for and it wasn’t activated in the right direction. Sorry for wasting your time! Cheers 🙂