Page MenuHomePhabricator

PHP Catchable fatal error: Argument 1 passed to Flow\Templating::getContent() must be an instance of Flow\Model\AbstractRevision, null given
Closed, ResolvedPublic

Description

[2014-07-07 14:17:46] Catchable fatal error: Argument 1 passed to Flow\Templating::getContent() must be an instance of Flow\Model\AbstractRevision, null given, called in /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/Block/Topic.php on line 477 and defined at /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/Templating.php on line 230
Server: mw1027
Method: GET
URL: http://www.mediawiki.org/w/index.php?title=Talk:Search&workflow=rx8qm4zhw12zv27t
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/Templating.php(230): Flow\Templating::getContent()
#1 /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/Block/Topic.php(477): Flow\Templating->getContent(NULL, 'wikitext')
#2 /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/View.php(103): Flow\Block\TopicBlock->renderAPI(Object(Flow\Templating), Array)
#3 /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/Actions/Action.php(74): Flow\View->show(Object(Flow\WorkflowLoader), 'view')
#4 /usr/local/apache/common-local/php-1.24wmf12/extensions/Flow/includes/Actions/Action.php(28): Flow\Actions\FlowAction->showForAction('view')
#5 /usr/local/apache/common-local/php-1.24wmf12/includes/Wiki.php(431): Flow\Actions\FlowAction->show()
#6 /usr/local/apache/common-local/php-1.24wmf12/includes/Wiki.php(295): MediaWiki->performAction(Object(Article), Object(Title))
#7 /usr/local/apache/common-local/php-1.24wmf12/includes/Wiki.php(603): MediaWiki->performRequest()
#8 /usr/local/apache/common-local/php-1.24wmf12/includes/Wiki.php(452): MediaWiki->main()
#9 /usr/local/apache/common-local/php-1.24wmf12/index.php(46): MediaWiki->run()
#10 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#11 {main}


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=63247

Details

Reference
bz67595

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:39 AM
bzimport set Reference to bz67595.
bzimport added a subscriber: Unknown Object (MLST).

Catchable fatal error: Argument 1 passed to Flow\Templating::getContent() must be an instance of Flow\Model\AbstractRevision, null given, called in /usr/local/apache/common-local/php-1.24wmf15/extensions/Flow/includes/Block/Topic.php on line 479 and defined in /usr/local/apache/common-local/php-1.24wmf15/extensions/Flow/includes/Templating.php on line 231

Moved slightly

Change 150383 had a related patch set uploaded by EBernhardson:
Cleanup failure case for moderated topic view

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

2 Catchable fatal error:  Argument 1 passed to Flow\Templating::getContent() must be an instance of Flow\Model\AbstractRevision, null given, called in /usr/local/

apache/common-local/php-1.24wmf16/extensions/Flow/includes/Block/Topic.php on line 490 and defined in /usr/local/apache/common-local/php-1.24wmf16/extensions/Flow/inclu
des/Templating.php on line 231

Change 150383 merged by jenkins-bot:
Cleanup failure case for moderated topic view

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

All patches mentioned in this report were merged or abandoned - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?

(In reply to Andre Klapper from comment #6)

All patches mentioned in this report were merged or abandoned - is there
more work left to do here (if yes: please reset the bug report status to NEW
or ASSIGNED), or can you close this ticket as RESOLVED FIXED?

No reply to last comment - assuming this bug is FIXED.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.