Thread:Extension talk:Gadgets/mw.loader::execute Exception thrown by ext.gadget.mySandbox: Bad constructor arguments

I am encountering the following error (which is visible in Chrome's console log):

mw.loader::execute> Exception thrown by ext.gadget.mySandbox: Bad constructor arguments

* mySandbox[ResourceLoader|dependencies=mediawiki.util,mediawiki.Title,mediawiki.Uri|default|rights=createpage]|mySandbox.js Add a "my sandbox" link to the personal toolbar area. url = new mw.Uri( title.getUrl ); alert( title.getUrl );
 * I have MediaWiki 1.19.1 and have enabled the default Gadgets extension that came with the site.
 * MediaWiki:Gadgets-definition contains only one entry
 * MediaWiki:Gadget-mySandbox contains the same info as Wikipedia's entry.
 * The Gadgets tab is showing up in Preferences and the checkbox for Add a "my sandbox" link to the personal toolbar area is checked.
 * MediaWiki:Gadget-mySandbox.js contains the same info as Wikipedia's entry.
 * In trying to narrow down the issue, it appears to be blowing up on the following line:
 * I can put an alert right before that line and successfully get a value back for:
 * So it appears to be choking on creating the new Uri object

Not that it would factor in to client-side script error, but here are the specifics on our WAMP environment:
 * Windows Server 2008
 * Apache 2.4.2
 * MySQL 5.5.27
 * PHP 5.4.5
 * MediaWiki 1.19.1

Any assistance would be appreciated. Thanks!

-- Mattsmith321 (talk) 15:50, 27 September 2012 (UTC)