Jump to content

Topic on Talk:Structured Discussions/Flow

Error when moving from flow back to liquidthreads.

3
50.254.138.165 (talkcontribs)

Hello,

Due to some minor issues with flow that I won't go into, I have decided to go back to LIquidthreads temporarily. I removed the "require_once "$IP/extensions/Flow/Flow.php";" statement for flow from LocalSettings.php, and re-added the require once statement for liquidthreads. Everything is working great except on the talk pages I had created when I was using Flow. To clarify, talk pages that were not created when flow was enabled work fine, only the ones that were created using flow. When I try to access the talk pages that previously had flow pages created on them I get the error:

/index.php/Talk:Organization MWUnknownContentModelException from line 353 of /var/www/html/includes/content/ContentHandler.php: The content model 'flow-board' is not registered on this wiki.

See https://www.mediawiki.org/wiki/Content_handlers to find out which extensions handle this content model.

Backtrace:

#0 /var/www/html/includes/content/ContentHandler.php(290): ContentHandler::getForModelID(string)

#1 /var/www/html/includes/MediaWiki.php(405): ContentHandler::getForTitle(Title)

#2 /var/www/html/includes/MediaWiki.php(286): MediaWiki->initializeArticle()

#3 /var/www/html/includes/MediaWiki.php(745): MediaWiki->performRequest()

#4 /var/www/html/includes/MediaWiki.php(519): MediaWiki->main()

#5 /var/www/html/index.php(43): MediaWiki->run()

#6 {main}

I know this has something to do with ContentHandler.php and switching the content model away from flow board, but I am unsure how to do this.

Thanks and any help is greatly appreciated.

Mattflaschen-WMF (talkcontribs)

"I removed the "require_once "$IP/extensions/Flow/Flow.php";" statement for flow"

By doing so, you uninstalled Flow. That is why Flow boards no longer work. I don't recommend uninstalling Flow. I think it will cause issues such as broken logs. (You can add that line back to re-enable it.)

If you want to stop using it, you can just move the Flow boards to archive pages (there is a moveBatch.php in core that may be helpful).

If you really want to uninstall Flow, you can first use maintenance/convertToText.php (in the Flow extension) to convert the pages to text, then delete the original Flow versions.

50.254.138.165 (talkcontribs)

Thank you.

Reply to "Error when moving from flow back to liquidthreads."