J3.x:PHP Warnings on PHP 7.0.9

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎Nederlands

Errors reported

Warning: Parameter 1 to JError::customErrorPage() expected to be a reference, value given in JROOT\libraries\legacy\error\error.php on line 781

PHP Warning: Parameter 1 to PlgSystemRedirect::handleError() expected to be a reference, value given in JROOT/libraries/legacy/error/error.php on line 781

Versions affected

General Information

This pertains only to Joomla! version(s): 3.6.0

What is the cause

A non B/C change in PHP 7.0.9 which will be reverted with 7.0.10 (see: https://bugs.php.net/bug.php?id=72698)

How to fix

Apply: https://github.com/joomla/joomla-cms/pull/11360 or wait for 3.6.1