Thread history

From Talk:Maps
Viewing a history listing
Jump to: navigation, search
descTime User Activity Comment
20:29, November 29, 201078.22.179.116 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
20:05, November 29, 201078.22.179.116 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
20:03, November 29, 2010Jeroen De Dauw (Talk | contribs)New reply created (Reply to Fatal error: Unsupported operand types in ...)
08:13, November 29, 2010Jeffdelonge (Talk | contribs)New reply created (Reply to Fatal error: Unsupported operand types in ...)
23:49, November 28, 2010213.224.29.162 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
15:34, November 28, 2010Jeffdelonge (Talk | contribs)Comment text edited 
15:34, November 28, 2010Jeffdelonge (Talk | contribs)Comment text edited 
15:20, November 28, 2010Jeffdelonge (Talk | contribs)New reply created (Reply to Fatal error: Unsupported operand types in ...)
11:22, November 17, 2010213.224.29.162 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
23:35, November 15, 201084.147.11.46 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
23:33, November 15, 201084.147.11.46 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
20:24, November 9, 2010213.224.29.162 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
05:26, November 9, 2010213.224.29.162 (Talk)New reply created (Reply to Fatal error: Unsupported operand types in ...)
04:18, November 9, 2010Kburns (Talk | contribs)New reply created (Reply to Fatal error: Unsupported operand types in ...)
03:51, November 9, 2010Kburns (Talk | contribs)New reply created (Reply to Fatal error: Unsupported operand types in ...)
20:18, November 7, 2010Jeroen De Dauw (Talk | contribs)New reply created (Reply to Fatal error: Unsupported operand types in ...)
05:22, November 7, 2010Kburns (Talk | contribs)Changed subject from "Fatal error: Unsupported operand types in /home/me/public_html/extensions/Maps/Maps.php on line 174" to "Fatal error: Unsupported operand types in ..." 
05:22, November 7, 2010Kburns (Talk | contribs)New thread created 

Hi there -

I am a bit new to MediaWiki, but I have successfully installed a bunch of extensions. My LocalSettings.php has the proper include for Maps.php followed by my google and yahoo api keys.

The error I see is: Fatal error: Unsupported operand types in /home/me/public_html/extensions/Maps/Maps.php on line 174

I am running MediaWiki v1.15.1 and trying to install Maps v0.7.2 (w Validator v0.4.2 that came bundled). As far as I can tell these versions should work together.

Any ideas?

Kburns05:22, November 7, 2010

I'd guess this is some PHP version issue. What version are you using?

Also, can I see the error somewhere online?

Jeroen De Dauw20:18, November 7, 2010

Yea, I am using:

PHP: 5.2.9 (cgi) MySQL: 5.0.91mm-log

I can't show this online because I need to have the site running, but the error message I posted is all that appears when the page loads.

Thanks for your help!

Kburns03:51, November 9, 2010

Not sure if this helps (you probably already knew this), but line 174 is the final line here:


       $wgExtraNamespaces += array(
              	Maps_NS_LAYER => 'Layer',
              	Maps_NS_LAYER_TALK => 'Layer talk'
       );
Kburns04:18, November 9, 2010

That's odd... PHP 5.2.9 should support += for arrays. Anyway, this code is synonymous, so will probably get rid of the issue for you:

       $wgExtraNamespaces = array_merge( $wgExtraNamespaces, array(
              	Maps_NS_LAYER => 'Layer',
              	Maps_NS_LAYER_TALK => 'Layer talk'
       ) );
Jeroen - LQT is failing when I login05:26, November 9, 2010
 
 
 
 
Personal tools
Namespaces
Variants
Views
Actions
Navigation
Manuals
Useful lists
More awesomeness
Toolbox