Author: carlb613
Description:
On page move over redirect, I'm seeing errors where the move may fail with "PHP Fatal error: Call to a member function timestamp() on a non-object in ...includes/Title.php on line 2860"
Title.php: function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) invokes
$rcts = $dbw->timestamp( $nt->getEarliestRevTime() );
without first checking that $dbw is a valid object.
I've tried substituting:
$rcts = '';
if ($dbw != null)
$rcts = $dbw->timestamp( $nt->getEarliestRevTime() );
for this code, which allows the move operation to proceed. I'm running the MW 1.16alpha obtained from SVN on August 15th, 2009.
Version: 1.16.x
Severity: enhancement
OS: Linux
Platform: PC
URL: http://desciclopedia.org/wiki/Forum:Problema_pra_mover_p%C3%A1ginas