Hi ! I was also stuck with the Unknown flow type 'discussion' requested Backtrace. After some time, i tried at least with :
- MW versions (2.22, 2.23),
- Flow versions (Master, REL_1.22, REL_1.23)
- Different configurations (with/without visualEditor, with/without Echo, with differents namespaces, ...)
All seems fine but responses with an error. In my LocalSettings.php, i change :
$wgEnableParserCache = true;
$wgMainCacheType = CACHE_DB;
to
$wgEnableParserCache = true;
// $wgMainCacheType = CACHE_DB;
And... It appears to work Oo'
The update.php run without problem and i can access Talk pages (NS_TALK). It display some input boxes and elements. But when i click the button to post a subject, it trhow me that :
Une valeur non valide a été fournie lors du chargement du contenu du flux.
[edaeaea2] /wiki/index.php?title=Discussion:Agentivit%C3%A9&workflow=ruw4yp3yjq5vhry4&action=new-topic Exception from line 135 of C:\wamp\www\wiki\extensions\Flow\includes\WorkflowLoader.php: Invalid workflow requested by id
Backtrace:
#0 C:\wamp\www\wiki\extensions\Flow\includes\WorkflowLoader.php(84): Flow\WorkflowLoader->loadWorkflowById(Title, Flow\Model\UUID)
#1 C:\wamp\www\wiki\extensions\Flow\includes\WorkflowLoader.php(346): Flow\WorkflowLoader->__construct(Title, Flow\Model\UUID, boolean, Flow\DbFactory, Flow\Data\LocalBufferedCache, Flow\Data\ManagerGroup, Flow\Data\RootPostLoader, Flow\NotificationController)
#2 C:\wamp\www\wiki\extensions\Flow\Hooks.php(268): Flow\WorkflowLoaderFactory->createWorkflowLoader(Title, Flow\Model\UUID)
#3 [internal function]: FlowHooks::onPerformAction(OutputPage, Article, Title, User, WebRequest, MediaWiki)
#4 C:\wamp\www\wiki\includes\Hooks.php(199): call_user_func_array(string, array)
#5 C:\wamp\www\wiki\includes\GlobalFunctions.php(3877): Hooks::run(string, array)
#6 C:\wamp\www\wiki\includes\Wiki.php(430): wfRunHooks(string, array)
#7 C:\wamp\www\wiki\includes\Wiki.php(312): MediaWiki->performAction(Article, Title)
#8 C:\wamp\www\wiki\includes\Wiki.php(602): MediaWiki->performRequest()
#9 C:\wamp\www\wiki\includes\Wiki.php(467): MediaWiki->main()
#10 C:\wamp\www\wiki\index.php(49): MediaWiki->run()
#11 {main}
Here is the line 135 of Workflowloader.php, where it seems to be a bug with $workflow (but how? why? (need help)) :
protected function loadWorkflowById( /* Title or false */ $title, $workflowId ) {
$workflow = $this->storage->getStorage( 'Workflow' )->get( $workflowId );
if ( !$workflow ) {
throw new InvalidInputException( 'Invalid workflow requested by id', 'invalid-input' );
}