[MediaWiki-l] REL1_28 error

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] REL1_28 error

John
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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] REL1_28 error

Paul
What version of MediaWiki are you using?

> On Jun 8, 2017, at 15:12, John <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] REL1_28 error

John
I did a rel1_28 within the last 24 hours

On Thu, Jun 8, 2017 at 5:11 PM Paul <[hidden email]> wrote:

> What version of MediaWiki are you using?
>
> > On Jun 8, 2017, at 15:12, John <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] REL1_28 error

Paul
Not sure what the issue is, maybe someone else can help.

    On Thursday, June 8, 2017 5:22 PM, John <[hidden email]> wrote:
 

 I did a rel1_28 within the last 24 hours

On Thu, Jun 8, 2017 at 5:11 PM Paul <[hidden email]> wrote:

> What version of MediaWiki are you using?
>
> > On Jun 8, 2017, at 15:12, John <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] REL1_28 error

John
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 <[hidden email]> wrote:

> Not sure what the issue is, maybe someone else can help.
>
>     On Thursday, June 8, 2017 5:22 PM, John <[hidden email]>
> wrote:
>
>
>  I did a rel1_28 within the last 24 hours
>
> On Thu, Jun 8, 2017 at 5:11 PM Paul <[hidden email]> wrote:
>
> > What version of MediaWiki are you using?
> >
> > > On Jun 8, 2017, at 15:12, John <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] REL1_28 error

Brian Wolff
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 <[hidden email]> 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 <[hidden email]> wrote:
>
>> Not sure what the issue is, maybe someone else can help.
>>
>>     On Thursday, June 8, 2017 5:22 PM, John <[hidden email]>
>> wrote:
>>
>>
>>  I did a rel1_28 within the last 24 hours
>>
>> On Thu, Jun 8, 2017 at 5:11 PM Paul <[hidden email]> wrote:
>>
>> > What version of MediaWiki are you using?
>> >
>> > > On Jun 8, 2017, at 15:12, John <[hidden email]> 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