ImpressCMS / impresscms

A multilingual, extensible, community oriented CMS developed in PHP
https://www.impresscms.org
Other
26 stars 35 forks source link

error page when visiting the editor admin page #804

Closed fiammybe closed 2 years ago

fiammybe commented 3 years ago

Describe the bug

When I want to visit the editor admin page, I get an error : Fatal error: Uncaught Error: Call to a member function getAlias() on null in /home/x/domains/xxx/public_html/beta/core/Extensions/Editors/EditorsRegistry.php:153 Stack trace: #0 /home/x/domains/xxx/public_html/beta/core/Extensions/Editors/EditorsRegistry.php(230): ImpressCMS\Core\Extensions\Editors\EditorsRegistry->getList() #1 /home/xxx/domains/xxx/public_html/beta/modules/system/admin/preferences.php(205): ImpressCMS\Core\Extensions\Editors\EditorsRegistry::getListByType('') #2 /home/xxx/domains/xxx/public_html/beta/modules/system/admin.php(113): include_once('/home/xxx...') #3 /home/xxx/domains/xxx/public_html/beta/core/Controllers/LegacyController.php(56): require('/home/xxx...') #4 /home/xxx/domains/xxx/public_html/beta/vendor/league/route/src/Strategy/ApplicationStrategy.php(23): ImpressCMS\Core\Controllers\LegacyController->proxy(Object(GuzzleHttp\Psr7\ServerRequest), Array) #5 /home/xxx/domains/imp in /home/xxx/domains/xxx/public_html/beta/core/Extensions/Editors/EditorsRegistry.php on line 153

To Reproduce

Steps to reproduce the behavior:

  1. Go to '/htdocs/modules/system/admin.php?fct=preferences&op=show&confcat_id=1'
  2. See error
MekDrop commented 3 years ago

I think I have fixed this with #800 . This is also composer v2.x related bug.

github-actions[bot] commented 3 years ago

This issue was automatically marked as stale

fiammybe commented 2 years ago

this is no longer there. Fixed