mediawiki error CryptRand.php

From thelinuxwiki
Jump to: navigation, search

error:

A non well formed numeric value encountered in /path/to/mediawiki/includes/CryptRand.php

solution: edit CryptRand.php and replace line 285:

$bytes .= $iv;

with:

$buffer .= $iv;