Page MenuHomePhabricator

PHP BadMethodCallException exception on load.php
Closed, DeclinedPublic

Description

https://withoutvowels.org/wiki/Without_Vowels_project calls https://withoutvowels.org/w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector which triggers this JavaScript message:

[752b1bab0fc7ef63d003f9b0] 2018-04-27 18:40:14: Fatal exception of type "BadMethodCallException"

Please do the proper thing to remove this error.

MediaWiki 1.29.2

Event Timeline

Nirmos subscribed.

I'm pretty sure the BadMethodCallException is PHP, not JavaScript. The code below that is JavaScript, though.

Aklapper changed the task status from Open to Stalled.Apr 28 2018, 2:30 PM

[752b1bab0fc7ef63d003f9b0] 2018-04-27 18:40:14: Fatal exception of type "BadMethodCallException"
Please do the proper thing to remove this error.

Thanks for reporting this. Please provide a stacktrace: https://www.mediawiki.org/wiki/Manual:How_to_debug
Thanks!

Krinkle renamed this task from Weird JavaScript error message to PHP BadMethodCallException exception on load.php.Apr 30 2018, 7:52 PM
Krinkle triaged this task as Medium priority.

Marking a stalled right now, because in its currently form this isn't actionable.

@VictorPorton The "load.php" entry-point is powered of ResourceLoader and delivers JavaScript code, but the error from your description (Fatal exception of type BadMethodCallException) actually indicates that MediaWiki was unable to create the response.

It's possible that this is due to a bug in MediaWiki. But, without more details, we cannot know what that bug is. The problem may be caused by the configuration of withoutvowels.org, or an extension you have installed.

I recommend to first follow https://www.mediawiki.org/wiki/Manual:How_to_debug, and submit a more detailed error message to this task.

After that, the problem might become obvious. If not, then I recommend disabling some of the extensions you have installed, and re-enable one-by-one to narrow down the problem.

Krinkle closed this task as Declined.EditedJun 15 2018, 3:40 PM

Closing report of exception that has been inactive for several months without actionable details for us.

If you have more information, please do submit it and the task can be re-opened. Alternatively, you may also find support on https://discourse-mediawiki.wmflabs.org/.

Vvjjkkii renamed this task from PHP BadMethodCallException exception on load.php to w2daaaaaaa.Jul 1 2018, 1:14 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
Mainframe98 renamed this task from w2daaaaaaa to PHP BadMethodCallException exception on load.php.Jul 1 2018, 7:41 AM
Mainframe98 closed this task as Declined.
Mainframe98 lowered the priority of this task from High to Medium.
Mainframe98 updated the task description. (Show Details)
Mainframe98 added a subscriber: Aklapper.