[Mediawiki-l] Title::makeTitle solved

FxParlant f-x.p at laposte.net
Sun Feb 19 20:08:39 UTC 2006


Solved by adding @ before the call:

$nt = @Title::makeTitle( $row->page_namespace, $row->page_title );

François

Brion Vibber wrote:
> FxParlant wrote:
>> My extension shouts this warning:
>>
>> Warning: Problem with method call - please report this bug in
>> /home/f/fxparlant/www/mediawiki/extensions/Calendar.php on line 135
>>
>> After some mixing up, this seem to be the line at the source of the warning:
>>
>> $nt = Title::makeTitle( $row->page_namespace, $row->page_title );
>>
>> Should I have declared something special in the extension to get it
>> working ?
> 
> I already told you to report it to PHP, like the error message requests, if
> you've already upgraded to the latest PHP release.
> 
> -- brion vibber (brion @ pobox.com)
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list