Last modified: 2014-07-23 13:36:32 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 T70394, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68394 - Fatal error: Call to a member function getText() on a non-object in php-1.24wmf14/includes/OutputPage.php on line 1296
Fatal error: Call to a member function getText() on a non-object in php-1.24...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-22 19:17 UTC by Sam Reed (reedy)
Modified: 2014-07-23 13:36 UTC (History)
7 users (show)

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


Attachments

Description Sam Reed (reedy) 2014-07-22 19:17:34 UTC
[2014-07-22 19:14:37] Fatal error: Call to a member function getText() on a non-object at /usr/local/apache/common-local/php-1.24wmf14/includes/OutputPage.php on line 1296
Server: mw1052
Method: POST
URL: http://commons.wikimedia.org/wiki/Special:GWToolset
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf14/includes/OutputPage.php(1296): OutputPage::addCategoryLinks()
#1 /usr/local/apache/common-local/php-1.24wmf14/includes/OutputPage.php(1310): OutputPage->addCategoryLinks(Array)
#2 /usr/local/apache/common-local/php-1.24wmf14/extensions/GWToolset/includes/Forms/PreviewForm.php(309): OutputPage->setCategoryLinks(Array)
#3 /usr/local/apache/common-local/php-1.24wmf14/extensions/GWToolset/includes/Forms/PreviewForm.php(142): GWToolset\Forms\PreviewForm::getMetadataAsWikitext(Array, Object(RequestContext))
#4 /usr/local/apache/common-local/php-1.24wmf14/extensions/GWToolset/includes/Handlers/Forms/MetadataMappingHandler.php(558): GWToolset\Forms\PreviewForm::getForm(Object(RequestContext), Array, Array, Array)
#5 /usr/local/apache/common-local/php-1.24wmf14/extensions/GWToolset/includes/Handlers/Forms/FormHandler.php(176): GWToolset\Handlers\Forms\MetadataMappingHandler->processRequest()
#6 /usr/local/apache/common-local/php-1.24wmf14/extensions/GWToolset/includes/Specials/SpecialGWToolset.php(119): GWToolset\Handlers\Forms\FormHandler->execute()
#7 /usr/local/apache/common-local/php-1.24wmf14/extensions/GWToolset/includes/Specials/SpecialGWToolset.php(72): GWToolset\SpecialGWToolset->processRequest()
#8 /usr/local/apache/common-local/php-1.24wmf14/includes/specialpage/SpecialPage.php(382): GWToolset\SpecialGWToolset->execute(NULL)
#9 /usr/local/apache/common-local/php-1.24wmf14/includes/specialpage/SpecialPageFactory.php(515): SpecialPage->run(NULL)
#10 /usr/local/apache/common-local/php-1.24wmf14/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#11 /usr/local/apache/common-local/php-1.24wmf14/includes/MediaWiki.php(603): MediaWiki->performRequest()
#12 /usr/local/apache/common-local/php-1.24wmf14/includes/MediaWiki.php(452): MediaWiki->main()
#13 /usr/local/apache/common-local/php-1.24wmf14/index.php(46): MediaWiki->run()
#14 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#15 {main}
Comment 1 Gerrit Notification Bot 2014-07-22 19:18:51 UTC
Change 148439 had a related patch set uploaded by Reedy:
Call to a member function getText() on a non-object

https://gerrit.wikimedia.org/r/148439
Comment 2 Bawolff (Brian Wolff) 2014-07-22 22:20:42 UTC
For reference, according to http://lists.wikimedia.org/pipermail/glamtools/2014-July/000231.html this was triggered by input that looked somewhat like:

<?xml version="1.0" encoding="UTF-8"?>

<records>

<record>
 <URL>http://mochila_images.s3.amazonaws.com/aaa008.jpg</URL>
  <mochila_titulo>Mochila_Cangrejos de colores</mochila_titulo>
 <description>Cangrejo Halloween en la Isla Iguana, Los
Santos</description>
<author>José Manuel Castrellon</author>
<source>Fundación Almanaque Azul</source>
<mochila_relacion_programa_educativo>{{Information
field|name=mochila_relacion_programa_educativo|value=Los seres vivos y su
ambiente}}</mochila_relacion_programa_educativo>
 <mochila_provincia>{{Information field|name=mochila_provincia|value=Los
Santos}}</mochila_provincia>
<mochila_distrito>{{Information
field|name=mochila_distrito|value=Pedasí}}</mochila_distrito>
<mochila_corregimiento>{{Information
field|name=mochila_corregimiento|value=Mariabé}}</mochila_corregimiento>
<mochila_lugar>{{Information field|name=mochila_lugar|value=Isla
Iguana}}</mochila_lugar>
<Location>{{Location|7.63|-80.00|PA-7>}}</Location>
<mochila_georef_type>{{Information
field|name=mochila_georef_type|value=Centroide}}</mochila_georef_type>
<date>-</date>
<Category>Gecarcinus quadratus</Category>
<mochila_ecosistema>{{Information
field|name=mochila_ecosistema|value=}}</mochila_ecosistema>
<mochila_grupos_humanos>{{Information field|name=mochila_grupos
humanos|value=}}</mochila_grupos_humanos>
<mochila_palabras_clave>{{Information
field|name=mochila_palabras_clave|value=Animal, Crustáceo, Cangrejo,
Isla}}</mochila_palabras_clave>
<mochila_tema>{{Information field|name=mochila_tema|value=Interacción
hombre- ambiente}}</mochila_tema>
<mochila_paisaje>{{Information
field|name=mochila_paisaje|value=Natural}}</mochila_paisaje>
<mochila_nombre_comun>{{Information
field|name=mochila_nombre_comun|value=Cangrejo de mangle, cangrejo de
tierra, cangrejo hóloween}}</mochila_nombre_comun>
<mochila_codigo_admin>{{Information
field|name=mochila_codigo_admin|value=70503}}</mochila_codigo_admin>
<mochila_geologia>{{Information
field|name=mochila_geologia|value=Sedimentarias}}</mochila_geologia>
<mochila_cuenca>{{Information
field|name=mochila_cuenca|value=}}</mochila_cuenca>
<mochila_SINAP>{{Information field|name=mochila_SINAP|value=R.V.S. Isla
Iguana}}</mochila_SINAP>

</record>

</records>
Comment 3 Gerrit Notification Bot 2014-07-22 22:34:36 UTC
Change 148533 had a related patch set uploaded by Brian Wolff:
Fix valid category check during preview form.

https://gerrit.wikimedia.org/r/148533
Comment 4 Gerrit Notification Bot 2014-07-23 01:57:06 UTC
Change 148439 merged by jenkins-bot:
Call to a member function getText() on a non-object

https://gerrit.wikimedia.org/r/148439
Comment 5 db [inactive,noenotif] 2014-07-23 08:12:48 UTC
Status Merged
Comment 6 Gerrit Notification Bot 2014-07-23 13:36:32 UTC
Change 148533 merged by jenkins-bot:
Fix valid category check during preview form.

https://gerrit.wikimedia.org/r/148533

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


Navigation
Links