CPCWiki forum

General Category => CPCWiki Discussion => Topic started by: andycadley on 11:56, 13 July 21

Title: Error on main wiki page
Post by: andycadley on 11:56, 13 July 21
If I go to the main wiki page (not the forum) I get the following error:


Warning: array_merge_recursive(): Argument #1 is not an array in /home/gryzor/cpcwiki_backup/httpdocs/includes/registration/ExtensionProcessor.php on line 294


Fatal error: Uncaught TypeError: Argument 1 passed to MWExceptionHandler::handleException() must be an instance of Exception, instance of Error given in /home/gryzor/cpcwiki_backup/httpdocs/includes/exception/MWExceptionHandler.php:153 Stack trace: #0 [internal function]: MWExceptionHandler::handleException(Object(Error)) #1 {main} thrown in /home/gryzor/cpcwiki_backup/httpdocs/includes/exception/MWExceptionHandler.php on line 153
Title: Re: Error on main wiki page
Post by: Gryzor on 12:00, 13 July 21
Thanks for reporting it :)

Last night the server OS was upgraded and with it many components (such as PHP). Surprisingly, that's the only issue I can see up to now! I will not bother fixing it just yet because another round of upgrades is lined up for the server, but thanks again nonetheless; if people find more issues please do let me know!
Title: Re: Error on main wiki page
Post by: andycadley on 12:19, 13 July 21
No worries, just thought I'd let you know in case it was something weird that only happened in some cases.  :)
Title: Re: Error on main wiki page
Post by: Gryzor on 12:39, 13 July 21
Yes of course, that's why bug reports are always welcome!!
Title: Re: Error on main wiki page
Post by: ComSoft6128 on 13:45, 13 July 21
Same here when looking at:


https://www.cpcwiki.eu/index.php/Goldmark_Systems
Title: Re: Error on main wiki page
Post by: Gryzor on 13:50, 13 July 21
Yes, it's on every page because what it's trying to load is on every page... :)
Title: Re: Error on main wiki page
Post by: eto on 09:55, 30 July 21
Since this error appears, it's also completely broken on the Iphone.



Title: Re: Error on main wiki page
Post by: Gryzor on 10:03, 30 July 21
Yes, that was another weird one (because absolutely nothing changed to make it appear). Seems like the mobile theme has issues. You can try choosing a different one from a desktop PC or requesting desktop mode from your browser...
Title: Re: Error on main wiki page
Post by: eto on 11:37, 30 July 21
Quote from: Gryzor on 10:03, 30 July 21
Yes, that was another weird one (because absolutely nothing changed to make it appear). Seems like the mobile theme has issues. You can try choosing a different one from a desktop PC or requesting desktop mode from your browser...


I did a quick search. Not really weird. Seems this error is known (at least if PHP7 is used) and it's fixed since Media Wiki 1.26.

Is the server running PHP7 now? Then there might be other issues popping up as the currently used Media Wiki version does not officially support PHP7.
Title: Re: Error on main wiki page
Post by: Gryzor on 11:40, 30 July 21
Νο, we're not on the 7.x version. It *is* weird because it appeared out of the blue, without anything having been touched, as I said.
Title: Re: Error on main wiki page
Post by: eto on 12:04, 30 July 21

According to the version page, it's 7.0.33:

https://www.cpcwiki.eu/index.php/Special:Version (https://www.cpcwiki.eu/index.php/Special:Version)
Title: Re: Error on main wiki page
Post by: GUNHED on 18:35, 30 July 21
Getting an error too, using Chrome and Win7 64 bit.
Title: Re: Error on main wiki page
Post by: Animalgril987 on 18:40, 30 July 21
Chrome on Android V10 as well.
Title: Re: Error on main wiki page
Post by: eto on 20:04, 13 September 21
Oh... the error is gone?!
Title: Re: Error on main wiki page
Post by: Gryzor on 22:37, 13 September 21
Ha! The fix worked! 😀

Apparently, and for some reason, only for the desktop version though.
Title: Re: Error on main wiki page
Post by: Animalgril987 on 20:20, 14 September 21
The good news is, if you have Chrome on Android,  tapping the 3 dots and selecting "Desktop site" loads the Wiki normally. :D
Title: Re: Error on main wiki page
Post by: Gryzor on 20:51, 14 September 21
Well yes, all mobile browsers have a Desktop option I think? Thankfully🙂

But we must really start thinking long term here instead of fixing things... 😓
Powered by SMFPacks Menu Editor Mod