Last modified: 2012-12-25 21:59:00 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 T44648, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42648 - GoogleNewSitemap: Cannot use object of type Message as array
GoogleNewSitemap: Cannot use object of type Message as array
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GoogleNewsSitemap (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Bawolff (Brian Wolff)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-03 16:24 UTC by Sam Reed (reedy)
Modified: 2012-12-25 21:59 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-12-03 16:24:30 UTC
PHP Fatal error:  Cannot use object of type Message as array in /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php on line 541


PHP Fatal error:  Cannot use object of type Message as array in /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php on line 548


Stack traces to come
Comment 1 Sam Reed (reedy) 2012-12-03 16:26:37 UTC
[03-Dec-2012 16:25:40] Fatal error: Cannot use object of type Message as array at /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php on line 541
Server: srv192
Method: GET
URL: http://en.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&categories=Published&notcategories=No%20publish|Archived|AutoArchived|disputed&namespace=0&count=30&hourcount=124&ordermethod=categor$
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php(541): GoogleNewsSitemap::getKeywords()
#1 /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php(182): GoogleNewsSitemap->getKeywords(Object(Title))
#2 /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php(98): GoogleNewsSitemap->makeFeed(Object(AtomFeed), Object(ResultWrapper))
#3 /usr/local/apache/common-local/php-1.21wmf5/includes/SpecialPage.php(612): GoogleNewsSitemap->execute(NULL)
#4 /usr/local/apache/common-local/php-1.21wmf5/includes/SpecialPageFactory.php(497): SpecialPage->run(NULL)
#5 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#6 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(555): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(448): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.21wmf5/index.php(59): MediaWiki->run()
#9 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#10 {main}




[03-Dec-2012 11:37:10] Fatal error: Cannot use object of type Message as array at /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php on line 548
Server: srv210
Method: GET
URL: http://fa.wikinews.org/w/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D8%AE%D9%88%D8%B1%D8%A7%DA%A9_%D8%A7%D8%AE%D8%A8%D8%A7%D8%B1&feed=atom&categories=%D9%85%D9%86%D8%AA%D8%B4%D8%B1%D8%B4%D8%AF%D9%87&not$
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php(548): GoogleNewsSitemap::getKeywords()
#1 /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php(182): GoogleNewsSitemap->getKeywords(Object(Title))
#2 /usr/local/apache/common-local/php-1.21wmf5/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php(98): GoogleNewsSitemap->makeFeed(Object(AtomFeed), Object(ResultWrapper))
#3 /usr/local/apache/common-local/php-1.21wmf5/includes/SpecialPage.php(612): GoogleNewsSitemap->execute(NULL)
#4 /usr/local/apache/common-local/php-1.21wmf5/includes/SpecialPageFactory.php(497): SpecialPage->run(NULL)
#5 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#6 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(555): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(448): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.21wmf5/index.php(59): MediaWiki->run()
#9 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#10 {main}
Comment 2 Sam Reed (reedy) 2012-12-03 16:27:59 UTC
Error is occurring rather frequently on 1.21wmf5 wikis
Comment 3 Bawolff (Brian Wolff) 2012-12-04 17:19:45 UTC
Gerrit change #26593 needs to be reverted.

Specificly it introduced the line:
$catMap = $this->msg( 'googlenewssitemap_categorymap' );

Where $catMap was already the name of a variable being used for something else.
Comment 4 Bawolff (Brian Wolff) 2012-12-04 17:27:03 UTC
Apparently gerrit allows me to revert things even though I'm on a computer where i don't have git or anything :).

Anyhow, Gerrit change #36786
Comment 5 Siebrand Mazeland 2012-12-04 17:49:14 UTC
Non-revert fix in Gerrit change #36791.
Comment 6 Alex Monk 2012-12-25 21:59:00 UTC
(In reply to comment #5)
> Non-revert fix in Gerrit change #36791.

Merged by Brian Wolff on the 4th.

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


Navigation
Links