Last modified: 2009-07-19 20:21:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20751, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18751 - Impossible to launch mediawiki (EmbedVideo extension)
Impossible to launch mediawiki (EmbedVideo extension)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.16.x
All All
: Normal blocker (vote)
: ---
Assigned To: Brion Vibber
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-10 12:00 UTC by Bertrand GRONDIN
Modified: 2009-07-19 20:21 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Handle an object in the hook array when naming profiled functions (1.19 KB, patch)
2009-06-22 04:33 UTC, Laurence 'GreenReaper' Parry
Details

Description Bertrand GRONDIN 2009-05-10 12:00:17 UTC
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
Comment 1 Laurence 'GreenReaper' Parry 2009-06-22 04:33:16 UTC
Created attachment 6246 [details]
Handle an object in the hook array when naming profiled functions
Comment 2 Laurence 'GreenReaper' Parry 2009-06-22 04:33:58 UTC
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.
Comment 3 Brion Vibber 2009-07-19 20:21:43 UTC
Applied in r53492

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links