Page MenuHomePhabricator

InvalidArgumentException from line 85 of ResourceLoaderImage.php: Invalid file type for image files of 'edit' (valid: svg, png, gif, jpg)
Open, Stalled, Needs TriagePublic

Description

Hi, when i upgraded echo to the latest commit on the master branch i get this error

#0 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(268): ResourceLoaderImage->__construct(string, string, array, string, array)
#1 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(434): ResourceLoaderImageModule->getImages(DerivativeResourceLoaderContext)
#2 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(423): ResourceLoaderImageModule->getFileHashes(DerivativeResourceLoaderContext)
#3 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderModule.php(764): ResourceLoaderImageModule->getDefinitionSummary(DerivativeResourceLoaderContext)
#4 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(646): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext)
#5 [internal function]: ResourceLoader->{closure}(string)
#6 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(659): array_map(Closure, array)
#7 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderStartUpModule.php(423): ResourceLoader->getCombinedVersion(DerivativeResourceLoaderContext, array)
#8 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderStartUpModule.php(396): ResourceLoaderStartUpModule->getAllModuleHashes(DerivativeResourceLoaderContext)
#9 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderModule.php(764): ResourceLoaderStartUpModule->getDefinitionSummary(DerivativeResourceLoaderContext)
#10 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(646): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext)
#11 [internal function]: ResourceLoader->{closure}(string)
#12 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(659): array_map(Closure, array)
#13 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(739): ResourceLoader->getCombinedVersion(ResourceLoaderContext, array)
#14 /home/randomwi/public_html/en/load.php(53): ResourceLoader->respond(ResourceLoaderContext)
#15 {main}

[8f39e3404359864be8e33f69] /load.php?debug=false&lang=en&modules=startup&only=scripts&skin=metrolook InvalidArgumentException from line 85 of /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImage.php: Invalid file type for image files of 'thanks' (valid: svg, png, gif, jpg)
Backtrace:
#0 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(268): ResourceLoaderImage->construct(string, string, array, string, array)
#1 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(434): ResourceLoaderImageModule->getImages(DerivativeResourceLoaderContext)
#2 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(423): ResourceLoaderImageModule->getFileHashes(DerivativeResourceLoaderContext)
#3 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderModule.php(764): ResourceLoaderImageModule->getDefinitionSummary(DerivativeResourceLoaderContext)
#4 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(646): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext)
#5 [internal function]: ResourceLoader->{closure}(string)
#6 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(659): array_map(Closure, array)
#7 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderStartUpModule.php(423): ResourceLoader->getCombinedVersion(DerivativeResourceLoaderContext, array)
#8 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderStartUpModule.php(396): ResourceLoaderStartUpModule->getAllModuleHashes(DerivativeResourceLoaderContext)
#9 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderModule.php(764): ResourceLoaderStartUpModule->getDefinitionSummary(DerivativeResourceLoaderContext)
#10 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(646): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext)
#11 [internal function]: ResourceLoader->{closure}(string)
#12 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(659): array_map(Closure, array)
#13 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(739): ResourceLoader->getCombinedVersion(ResourceLoaderContext, array)
#14 /home/randomwi/public_html/en/load.php(53): ResourceLoader->respond(ResourceLoaderContext)
#15 {main}
Global Code — load.php:15[c74cf9f187197bec2458b950] /load.php?debug=false&lang=en&modules=ext.echo.controller%2Cdm%2Clogger%2Csecondaryicons%2Cui%7Cext.echo.styles.notifications%7Cext.echo.ui.desktop%7Cmediawiki.api.options%7Cmoment%2Coojs-ui-core%2Coojs-ui-widgets%7Coojs-ui-core.styles%7Coojs-ui.styles.icons%2Cicons-alerts%2Cicons-content%2Cicons-interactions%2Cicons-moderation%2Cicons-user%2Cindicators%2Ctextures&skin=metrolook&version=09pqvew InvalidArgumentException from line 85 of /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImage.php: Invalid file type for image files of 'thanks' (valid: svg, png, gif, jpg)
Backtrace:
#0 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(268): ResourceLoaderImage->
construct(string, string, array, string, array)
#1 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(434): ResourceLoaderImageModule->getImages(DerivativeResourceLoaderContext)
#2 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderImageModule.php(423): ResourceLoaderImageModule->getFileHashes(DerivativeResourceLoaderContext)
#3 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoaderModule.php(764): ResourceLoaderImageModule->getDefinitionSummary(DerivativeResourceLoaderContext)
#4 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(646): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext)
#5 [internal function]: ResourceLoader->{closure}(string)
#6 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(659): array_map(Closure, array)
#7 /home/randomwi/public_html/en/includes/resourceloader/ResourceLoader.php(739): ResourceLoader->getCombinedVersion(ResourceLoaderContext, array)
#8 /home/randomwi/public_html/en/load.php(53): ResourceLoader->respond(ResourceLoaderContext)
#9 {main}

Which can be found on https://en.random-wikisaur.tk/wiki/Main_Page disabling the echo extension fixes the errors. I am running mw 1.29 wmf 17.

Related Objects

Event Timeline

Paladox created this task.Mar 25 2017, 10:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Paladox renamed this task from InvalidArgumentException from line 85 of ResourceLoaderImage.php: Invalid file type for image files of 'edit' (valid: svg, png, gif, jpg) Backtrace: to InvalidArgumentException from line 85 of ResourceLoaderImage.php: Invalid file type for image files of 'edit' (valid: svg, png, gif, jpg).Mar 26 2017, 11:30 PM
Paladox updated the task description. (Show Details)
Paladox updated the task description. (Show Details)

Did you also upgrade the Thanks extension?

Aklapper changed the task status from Open to Stalled.Apr 26 2017, 6:39 PM

@Paladox: Could you please answer the last comment(s)?

Woop sorrys, didn't see comment. Nope, i didn't have the thanks extension installed.

Restricted Application added a project: Growth-Team. · View Herald TranscriptSep 2 2018, 3:40 PM