"Wikitravel has a speed and convenience the books' publishers can only envy." — Time Europe
Tech:Fatal error Call to a member function on a nonobject
From Wikitravel Shared
Moved from en:Wikitravel:Bug reports 1.4.x-1.5.x/Fixed by Evan
This link [1] gets me the following every time: Jpatokal 05:36, 22 Jan 2006 (EST)
Fatal error: Call to a member function on a non-object in /var/www/wikitravel/mw/extensions/Cache404.php on line 736
- So does [2]. It appears that en:Malacca_ৠstateৡ does not exist. -- Huttite 06:43, 22 Jan 2006 (EST)
- But this works: http://wikitravel.org/en/Malacca_%28state%29. The link above is directly from the Recent changes page...? Jpatokal 06:47, 22 Jan 2006 (EST)
- No, it's silly code in MediaWiki. It has URL-encoded "(" and ")" twice -- once to make "%28" and "%29", another time to make "%2528" and "%2529". "%25" is the URL code for "%". Anywho, there's some code somewhere in Mediawiki that reverses the error, but my code was messing it up. I moved my code out of the way, and it seems to work fine now. --Evan 12:36, 22 Jan 2006 (EST)

