mediawiki error CryptRand.php

From thelinuxwiki
Revision as of 17:17, 25 February 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;