Page MenuHomePhabricator

Occasional PHP fatal errors from API queries
Closed, ResolvedPublic

Description

Author: matthew.britton

Description:
Every once in a while I seem to get an error along these lines when making an API query (HTTP 500 + teal screen of death):

PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php line 238: Class 'ApiQueryRevisions' not found

Retrying the same query immediately (almost) always works, so unfortunately not reproducible.

An example of a query that gave this (Huggle updating its localization files):

http://meta.wikimedia.org/w/api.php?format=xml&action=query&prop=revisions&rvprop=content&titles=Huggle/Localization/ar|Huggle/Localization/bg|Huggle/Localization/ko|Huggle/Localization/no|Huggle/Localization/ru


Version: unspecified
Severity: enhancement

Details

Reference
bz16482

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:23 PM
bzimport set Reference to bz16482.

(In reply to comment #0)

Every once in a while I seem to get an error along these lines when making an
API query (HTTP 500 + teal screen of death):

PHP fatal error in
/usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php line 238:
Class 'ApiQueryRevisions' not found

Retrying the same query immediately (almost) always works, so unfortunately not
reproducible.

Not a bug in MediaWiki, probably a misconfigured or wrongly scapped WMF server.

matthew.britton wrote:

Probably fixed now, apparently. Haven't noticed anything recently.