Topic on Extension talk:Cognitive Process Designer/Flow

Get mediaWiki Error: Class "MWStake\MediaWiki\Component\ProcessManager\ProcessManager" not found

3
149.220.16.9 (talkcontribs)

I have installed mediaWiki with version 1.39 LTS together with the extension "Page Forms" and the "Cognitive Process Designer".

The wiki of the Cognitive Process Designer says that you should enter this command in the terminal for the background service:

php extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait


Unfortunately, I get the following errors when I do this:

/usr/bin/php /var/www/html/mediawiki/extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait

[f84ac3ccf60395c0b4824c20] [no req] Error: Class "MWStake\MediaWiki\Component\ProcessManager\ProcessManager" not found Backtrace:

from/var/www/html/mediawiki/extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php(31)

/var/www/html/mediawiki/maintenance/includes/MaintenanceRunner.php(309): ProcessRunner->execute() /var/www/html/mediawiki/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()

/var/www/html/mediawiki/extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php(157): require_once(string)

{main}


I have called the given command. I expect the background service to start.

2003:E9:AF48:F101:E192:EA8B:CE81:8693 (talkcontribs)

Thank you for this feedback! CPD is currently reworked and we hope to release a new version end of Q2. For your problem please use our forum, which provides a higher attention by the developers https://community.bluespice.com/ RH

Driedmueller (talkcontribs)

Hello and thanks for your hint! We had a second look and found a bug related to this problem. We plan to release the bugfix end of april 2024.

Since then you could also fix it by yourself if you add these two lines to the extension.json file in the Cognitive Process Designer extension:

"load_composer_autoloader": true, 
"callback": "mwsInitComponents",

and run maintenance/update.php.

We hope, we could help you with this.

Reply to "Get mediaWiki Error: Class "MWStake\MediaWiki\Component\ProcessManager\ProcessManager" not found"