Attempted To Load Class "Helper" From Namespace "HelixUltimate\Framework\Platform". Did You Forget A "use" Statement For Another Namespace? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Attempted To Load Class "Helper" From Namespace "HelixUltimate\Framework\Platform". Did You Forget A "use" Statement For Another Namespace?

U

Ursula Wörgötter-Wagner

Helix Framework 3 weeks ago

Error when updating from Joomla 5.4 to Joomla 6.0. SP Pagebuilder Pro 6.1 and Helix Ultimate 2.2.1 are installed. After I performed the update, this error occurred. The frontend and backend are no longer accessible. This error is displayed in the frontend.

0
6 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 weeks ago #208062

You're most welcome! I'm glad to hear that the reinstallation and update went smoothly and that everything is now working properly. Updating the PHP version and the Regular Labs Email Protector plugin was the right approach. Please let me know if you need any further assistance.

Please marked the issue as solved

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 weeks ago #208046

Hello Ursula,

Thank you for bringing this to our attention. I'm sorry for the inconvenience you're experiencing with the "Helper" class error.

To assist you more effectively, would you be willing to grant us temporary administrative access to your site? This will allow us to thoroughly investigate and resolve the issue.

Before sharing credentials, we strongly recommend creating a complete backup of your site to ensure data security.

Looking forward to your response.

Best regards

0
U
Ursula Wörgötter-Wagner
Accepted Answer
3 weeks ago #208054

Thank you for your reply. A backup is available and can be restored at any time. However, I would like to know what the error is.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 weeks ago #208056

Apolozy for the inconvenience. The issue may have occurred due to a corrupted upgrade process. Please restore your website from the backup you had before the update and try performing the update again. We appreciate your patience and understanding.

0
T
Torsten.S
Accepted Answer
3 weeks ago #208055

Well , i'll get into this as well and from my disccusion with Nicolas from Akeeba:

Ever since Joomla! 1.5 –released 18 (eighteen) years ago in 2007– the recommendation has been that extensions should place their static media files in a subdirectory of the media folder named after the extension. This has always been a security-focused recommendation. Do note that Joomla! 1.5 did not enforce the naming of the media subdirectory. Joomla 1.6/1.7/2.5 did enforce the naming of the media subdirectory and defaulted to it.

Ever since Joomla! 3.0 –released 13 (thirteen) years ago in 2012– the recommendation was upgraded to a reasonable expectation. In other words, it was reasonably expected and assumed that all extensions which are fully compatible with Joomla 3.x will follow this scheme for placing their media files in a correctly named media subdirectory. While one could work around that, it was strongly discouraged. The old methods for circumventing the use of a media subdirectory were marked as deprecated about ~8 years ago.

As of Joomla! 4.0 –released four and a half years ago in 2021– using a subdirectory of the media folder named after the extension is mandatory for all extensions as a very much intended consequence of introducing the WebAssetManager.

Since Joomla 4.2 –released in 2022– it is also mandatory for templates to place their static media files in a subdirectory of media/templates. This is an intended consequence of child templates.

Since Joomla 5.0 –released in 2023– deviation of these mandatory requirements is considered a show stopper bug of the extension. This is an intended consequence of the public folder feature being introduced. The code to work around the media subdirectory requirement was removed from Joomla.

Helix developers should have known that:

for the past 18 years (predating their template's existence) their system template should be putting its media files under media/plg_system_helixultimate.
for the past three years their template should be putting its static media files under media/templates/site/TEMPLATE_NAME where TEMPLATE_NAME is the name of the template (without the tpl_ prefix).

Their template is not following Joomla's standards. It violates the static media files placement requirement which is in place for very good security reasons.

The .htaccess Maker will only include default settings which allow extensions following Joomla's very reasonable security standards to function properly, without having to do any configuration changes. Extensions like Helix Ultimate which DO NOT follow Joomla's security standards will always require additional configuration.

Alternatively, JoomShaper should shape up (pun intended) their code so that it follows a Joomla standard that's been around longer than their company or, indeed, Admin Tools itself. If they do that then their template will work without any configuration change whatsoever to the out-of-the-box settings of the .htaccess Maker. It will also allow their users to create child templates, and it would allow them developers to deliver versions of their template compatible with newer Joomla releases faster as there would be one less security control in Joomla they have to figure out how to circumvent every single time there's a new Joomla version. In short, it's absolutely bonkers that for well over a decade they flat out refuse to fix their code to follow Joomla's standards.

1
U
Ursula Wörgötter-Wagner
Accepted Answer
3 weeks ago #208060

I have now reinstalled the site and updated the PHP version to 8.4. I also noticed that the Regular Labs Email Protector plugin was not up to date. The update worked perfectly. Thank you.

0