I have already enabled the core modules "Configuration Translation", "Content Translation" and "Interface Translation" which are used for implementing the multilingual feature.
Now I tried to enable the contributed module "workflow" and I got the following error message :
PHP Fatal error: Call to a member function getPath() on null in /core/modules/config_translation/src/ConfigNamesMapper.php on line 233
My drupal core version is 8.3.7.
Is there any solution to this?
I uninstalled the core module "Configuration Translation" and then tried to install the workflow module. Then workflow module got installed without any issues. But "Configuration Translation" module is necessary for implementing the multilingual feature and I cannot uninstall it.
Comments
Comment #2
aswathyajish commentedComment #3
johnvComment #4
johnvSorry, I cannot reproduce the error. Please give me a complete list of your enabled modules (e.g., from admin/modules/uninstall).
Or try updating to 8.4.0
Comment #5
johnvThis is fixed via #2823659-19: Route for workflow_transition configuration field entity missing
Comment #6
aswathyajish commentedI tried to enable the module "Workflow UI". Then it asked for enabling the module "Workflow" also. Then both "Workflow UI" and "Workflow" modules are installed without any errors. But when I tried to uninstall the "Workflow UI" module, the following error message is shown :
Fatal error: Call to a member function getPath() on null in core/modules/config_translation/src/ConfigNamesMapper.php on line 233
But still when I enbale "Workflow" module only, the mentioned error message is shown. When "Workflow UI" is enabled, both "Workflow UI" and "Workflow" are enabled without issues.
I have upgraded the drupal core to the version 8.4.0. Then also same error is shown.
My site contains all core modules and only 1 contributed module - Workflow.
Comment #7
johnvThanks. Did you do the latest test with the latest dev-version? IMO the problem is solved a few days ago.
Comment #9
johnv