I am writing to report an issue I am experiencing on my Joomla 6 site, using the Helix Ultimate framework in combination with the 4AI extension.
When 4AI (or any similar extension) attempts to save or manipulate articles in the background using AJAX calls, I consistently get this fatal error: "Error loading data from server. Call to a member function getWebAssetManager() on null".
Upon investigating the issue, it turns out that the error is triggered by the editor button override files injected by Helix Ultimate. The exact files causing the crash are:
plugins/system/helixultimate/overrides/layouts/joomla/editors/buttons/button.php
templates/shaper_helixultimate/html/layouts/joomla/editors/buttons/button.php
The error occurs because the code in these files attempts to load CSS/JS files by calling getWebAssetManager(), even when the system is processing a simple background data request (JSON/AJAX) that does not support this method.
For now, I can only get the site to work by manually deleting these two files via FTP, so that Joomla falls back to its default core files. Unfortunately, with every Helix Ultimate update, the files are recreated and the error returns, blocking my workflow again.
I kindly ask if you could fix this behavior in future releases of the framework (for example, by adding a simple check to verify that the document is actually an HTML document before calling the asset manager).
Thank you very much for your help and your excellent work!