It would be helpful if you could get a full backtrace (Add a "throw
new MWException();" at the point causing the issue, and set
$wgShowExceptionDetails=true;). It sounds like the maintenance script
is calling into the Skin code, which assumes you're viewing an actual
page, which isn't true in the script.

--
bawolff

On Fri, Jun 9, 2017 at 1:55 AM, John <[email protected]> wrote:
> After doing some digging it looks like lines 210-220 of skin.php where
> refactored. I pulled an older version of that function and it made the
> issue go away.
>
> On Thu, Jun 8, 2017 at 5:57 PM, Paul Keffer <[email protected]> wrote:
>
>> Not sure what the issue is, maybe someone else can help.
>>
>>     On Thursday, June 8, 2017 5:22 PM, John <[email protected]>
>> wrote:
>>
>>
>>  I did a rel1_28 within the last 24 hours
>>
>> On Thu, Jun 8, 2017 at 5:11 PM Paul <[email protected]> wrote:
>>
>> > What version of MediaWiki are you using?
>> >
>> > > On Jun 8, 2017, at 15:12, John <[email protected]> wrote:
>> > >
>> > > I am running
>> > > php refreshImageMetadata.php -f
>> > >
>> > > PHP Fatal error:  Call to a member function canExist() on null in
>> > > /var/www/html/pfs/includes/skins/Skin.php on line 212
>> > >
>> > >
>> > > Any ideas what is going on?
>> > > _______________________________________________
>> > > MediaWiki-l mailing list
>> > > To unsubscribe, go to:
>> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>> > _______________________________________________
>> > MediaWiki-l mailing list
>> > To unsubscribe, go to:
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to