Skip to content

Astroid not working under Joomla 5 Alpha 4 DEV #362

@deltapapa01

Description

@deltapapa01

Hey guys,
I have tried a bit with the Joomla 5 Alpha 4 DEV.
Unfortunately, the framework could not be installed here, it comes an error message (red bar) but there is unfortunately nothing inside.
I tried to call the Astroid Plugin, which unfortunately was not there.
Then I turned on the Backward Compatibility Plugin and installed the Astroid framework again, error message at maximum.
After that the page was completely broken.
In the frontend it says: Class "JPlugin" not found".
In the backend comes the following error message:

Attempted to load class "JFactory" from the global namespace.
Did you forget a "use" statement?
Symfony\Component\ErrorHandler\Error
ClassNotFoundError
in /html/cms/administrator/modules/mod_astroid_clear_cache/mod_astroid_clear_cache.php (line 16)
use Joomla\CMS\Extension\ExtensionHelper;use Joomla\CMS\Helper\ModuleHelper;use Joomla\CMS\HTML\HTMLHelper;$joomlaFilesExtensionId = ExtensionHelper::getExtensionRecord('joomla', 'file')->extension_id;$document = JFactory::getDocument();HTMLHelper::_('jquery. framework');$document->addScript(JUri::base('true').'/modules/mod_astroid_clear_cache/js/notify.min.js');$document->addScript(JUri::base('true'). '/modules/mod_astroid_clear_cache/js/script.js');require ModuleHelper::getLayoutPath('mod_astroid_clear_cache', $params->get('layout', 'default'));

Unfortunately, I can't get Astroid to run this way.

Astroid Framework: 2.6.5
PHP: 8.2.5
Joomla: https://developer.joomla.org/nightlies/Joomla_5.0.0-alpha4-dev-Development-Full_Package.zip

WBR,
deltapapa

Metadata

Metadata

Assignees

Labels

Joomla 5Related to Joomla 5

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions