Page MenuHomePhabricator

Impossible to launch mediawiki (EmbedVideo extension)
Closed, ResolvedPublic

Description

Impossible to launch mediawiki. I've the following message :

Catchable fatal error: Object of class EmbedVideo could not be converted to string in /var/www/wiki/includes/Setup.php on line 312


Version: 1.16.x
Severity: blocker

Details

Reference
bz18751

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:36 PM
bzimport set Reference to bz18751.
Grondin created this task.May 10 2009, 12:00 PM

Created attachment 6246
Handle an object in the hook array when naming profiled functions

Attached:

The profiling naming code does not correctly handle the situation where the first array option is an object (number 3 in http://www.mediawiki.org/wiki/Manual:$wgHooks).

The above patch should deal with this.

brion added a comment.Jul 19 2009, 8:21 PM

Applied in r53492