Page 1 of 1
Call to a member function get() on string
Posted: 26 Feb 2024, 13:09
by gentoojedi
Hy
I use phoca gallrey, phoca download and gusetbook. When i'd like to make new category (and new guestbook) this is error message n all three cases.
Joomla 5, phoca 5.0, php 8.2
Re: Call to a member function get() on string
Posted: 26 Feb 2024, 14:34
by Benno
Hi,
Please set in the global configuration:
'Error Reporting=Maximum'
and
'Debug System=Yes'
to get a more detailed error message with file name and line number (Call Stack) and post it here.
Thank you and best regards,
Benno
Re: Call to a member function get() on string
Posted: 26 Feb 2024, 15:11
by gentoojedi
2024-02-26T13:42:05+00:00 ERROR 77.221.39.110 mail Error in Mail API: Result: true
2024-02-26T13:42:12+00:00 CRITICAL 77.221.39.110 error Uncaught Throwable of type Error thrown with message "Call to a member function get() on string". Stack trace: #0 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(242): plgEditorSwitcher->__construct(Object(Joomla\Event\Dispatcher), Array)
#1 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(160): Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem('switcher', 'editors')
#2 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(99): Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Exte...', 'switcher:editor...', '/web/leose90/le...')
#3 [ROOT]/libraries/src/Plugin/PluginHelper.php(232): Joomla\CMS\Application\CMSApplication->bootPlugin('switcher', 'editors')
#4 [ROOT]/libraries/src/Plugin/PluginHelper.php(192): Joomla\CMS\Plugin\PluginHelper::import(Object(stdClass), true, Object(Joomla\Event\Dispatcher))
#5 [ROOT]/libraries/src/Service/Provider/EditorsRegistry.php(48): Joomla\CMS\Plugin\PluginHelper::importPlugin('editors', NULL, true, Object(Joomla\Event\Dispatcher))
#6 [ROOT]/libraries/vendor/joomla/di/src/ContainerResource.php(166): Joomla\CMS\Service\Provider\EditorsRegistry->Joomla\CMS\Service\Provider\{closure}(Object(Joomla\DI\Container))
#7 [ROOT]/libraries/vendor/joomla/di/src/Container.php(95): Joomla\DI\ContainerResource->getInstance()
#8 [ROOT]/libraries/src/Editor/Editor.php(100): Joomla\DI\Container->get('Joomla\\CMS\\Edit...')
#9 [ROOT]/libraries/src/Editor/Editor.php(151): Joomla\CMS\Editor\Editor->__construct('none')
#10 [ROOT]/administrator/components/com_phocagallery/views/phocagalleryc/view.html.php(52): Joomla\CMS\Editor\Editor::getInstance()
#11 [ROOT]/libraries/src/MVC/Controller/BaseController.php(697): PhocaGalleryCpViewPhocaGalleryC->display()
#12 [ROOT]/administrator/components/com_phocagallery/controller.php(65): Joomla\CMS\MVC\Controller\BaseController->display(false, Array)
#13 [ROOT]/libraries/src/MVC/Controller/BaseController.php(730): PhocaGalleryCpController->display()
#14 [ROOT]/administrator/components/com_phocagallery/phocagallery.php(50): Joomla\CMS\MVC\Controller\BaseController->execute('')
#15 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/web/leose90/le...')
#16 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/web/leose90/le...')
#17 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#18 [ROOT]/libraries/src/Application/AdministratorApplication.php(150): Joomla\CMS\Component\ComponentHelper::renderComponent('com_phocagaller...')
#19 [ROOT]/libraries/src/Application/AdministratorApplication.php(195): Joomla\CMS\Application\AdministratorApplication->dispatch()
#20 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\AdministratorApplication->doExecute()
#21 [ROOT]/administrator/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#22 [ROOT]/administrator/index.php(32): require_once('/web/leose90/le...')
#23 {main}
Re: Call to a member function get() on string
Posted: 26 Feb 2024, 15:50
by gentoojedi
Problem solved!
I have uninstall the obsolote plg_editor_switcher, and it works!
Re: Call to a member function get() on string
Posted: 26 Feb 2024, 15:55
by Benno
Perfect!
Kind regards,
Benno