Your webhost is using a very old version of PHP, something earlier than 5.3.0. Some hosts allow you to update your version of PHP. That’s something you should look into, as running old versions of PHP can leave your site less secure.
Thank you for letting me know!
Got in contact with host, was informed that version of PHP was 5.4, and I requested an upgrade to version 7.0. After this upgrade, the plugin worked perfectly.
Thank you for the awesome plugin!
Glad you were able to get it taken care of so quickly! Was just coming here to give you directions for rolling back to a previous version. 🙂
I’ve had that happen to me. I also upgraded from PHP 5.2, and the issue resolved.
Excellent plugin.
I receive the error
parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/***/public_html/wp-content/plugins/mooberry-book-manager/includes/helper-functions.php on line 361
The server runs PHP 5.2 and updating that to a newer version is currently out of question. So that means I can’t use the plugin?
-
This reply was modified 7 years, 6 months ago by lhk.
I can see about fixing the function to be compatible with 5.2 next week, however I can’t guarantee that other parts of the plugin will be compatible. PHP 5.2 is not supported. It was end of life in 2011ish I believe, and it has security vulnerabilities.
Well, most hosts I know still work with versions 5.* and you can’t just ask them to upgrade on shared hosting platforms. I have accounts at different hosts ranging from 5.0 to 5,6.
You really should calculate with a certain lag in hosts applying the newest software versions. A fairly recent PHP version shouldn’t break a whole site or a plugin.
-
This reply was modified 7 years, 6 months ago by lhk.
PHP 5.2 is not a recent PHP version. It was end of life 5 years ago. It has known security vulnerabilities.
PHP 5.5 is now about to go end of life.
I am on shared hosting platforms as many of my customers are. You absolutely can upgrade your PHP version on shared hosting platforms, and usually yourself through the control panel. Don’t even need the host involved. Maybe not your shared hosting platform (I don’t know who you are using) but it’s definitely not true that just because you are using shared hosting you can’t run a version of PHP that is more recent than 5 years from its end of life.
I’ve yet to hear of a host that won’t upgrade from 5.2 to a higher 5.x version. In fact, given the security vulnerabilities of 5.2, I would be wary of using a host that refused to upgrade from 5.2.