When I click on "Recent activity" I get the following error:
Strict Standards: Only variables should be assigned by reference in
****/mod/lightboxgallery/lib.php on line 221
I guess the solution is to remove & in this statement: $modinfo = & get_fast_modinfo($course);
because I think we can apply here this: "As of PHP 5, the new operator returns a reference automatically, so assigning the result of new by reference results in an E_DEPRECATED message in PHP 5.3 and later, and an E_STRICT message in earlier versions." (from: http://php.net/manual/en/language.operators.assignment.php)
When I click on "Recent activity" I get the following error:
Strict Standards: Only variables should be assigned by reference in ****/mod/lightboxgallery/lib.php on line 221
I guess the solution is to remove & in this statement: $modinfo = & get_fast_modinfo($course); because I think we can apply here this: "As of PHP 5, the new operator returns a reference automatically, so assigning the result of new by reference results in an E_DEPRECATED message in PHP 5.3 and later, and an E_STRICT message in earlier versions." (from: http://php.net/manual/en/language.operators.assignment.php)