When saving a new Wiki page, you get a white Screen of Death.
PHP Fatal error: Call-time pass-by-reference has been removed in ... on line 97
In PHP version 5.4 >
There is no reference sign on a function call - only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. As of PHP 5.3.0, you will get a warning saying that "call-time pass-by-reference" is deprecated when you use & in foo(&$a);.
For example, use:
// Right way!
function myFunc(&$arg) { }
myFunc($var);
Rather than:
// Wrong way!
function myFunc($arg) { }
myFunc(&$arg);
Remove the & from line 97 in:
lib\core\Reports\Manager.php
public function addToCache(&$watches, $data)
{
$users = $this->reportsUsers->getAllUsers();
$this->reportsCache->add($watches, $data, $users);
}
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |