Undefined index notification when crating a session course.
Stack trace :
( ! ) Notice: Undefined index: versionDb in /var/www/claroline/claroline/inc/lib/add_course.lib.inc.php on line 438
Call Stack
1 0.0000 245768 {main}( ) ../create.php:0
2 0.0231 1882200 ClaroCourse->save( ) ../create.php:96
3 0.1740 1888968 register_course( ) ../claroCourse.class.php:263
( ! ) Notice: Undefined index: clarolineVersion in /var/www/claroline/claroline/inc/lib/add_course.lib.inc.php on line 439
Call Stack
1 0.0000 245768 {main}( ) ../create.php:0
2 0.0231 1882200 ClaroCourse->save( ) ../create.php:96
3 0.1740 1888968 register_course( ) ../claroCourse.class.php:263
This bug is due to a variable scope issue under PHP 5.5. The installer has been fixed in rev14884, but this will not change the existing file on the disk.
The only solution is to edit the platform/currentVersion.inc.php and replace $versionDb with $GLOBALS['versionDb'] and $clarolineVersion with $GLOBALS['clarolineVersion'].
I will check the upgrade script to see if we can solve that issue when upgrading the platform.