This plugin is great, I updated to 6.1 when it came out. I updated a test site to 6.2 and it broke because we run Redhat 6.9 which keeps its php version at 5.3 and does security fixes. Not that easy for me to upgrade to another OS for our website.
The core WordPress requires php 5.2 or later. The error in the apache log was:
PHP Parse error: syntax error, unexpected ‘[‘ in /var/www/cdn/wp-content/plugins/teachpress/core/templates.php on line 475
php 5.3 does not support the array syntax that was used on line 475 need php 5.4 or higher. I fixed like this:
/* $url_displayed = ; */
$url_displayed = array ();
I don’t know if there are any other things in TP that need php 5.4 or higher.
- The topic ‘TP 6.2 needs php 5.4 breaks with php 5.3’ is closed to new replies.