Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 04h 47m 33s
Claim 50% off
Solved Templates

Error Page with Newsberg Template after Upgrade to Joomla 4

Asked by Sarah Harris 2 years ago Last activity 2 years ago

Hello,
I need urgent assistance to fix an error that ocurrs when you click on an article link from my homepage. The other links work but article links go to an error page that says:

Error: 0 Class "FieldsHelper" Not Found

Call stack

Function Location

1 () JROOT/templates/newsberg/sppagebuilder/addons/articles_layout/site.php:111
2 SppagebuilderAddonArticles_layout->render() JROOT/components/com_sppagebuilder/parser/addon-parser.php:1024
3 AddonParser::getAddonHtmlView() JROOT/components/com_sppagebuilder/parser/addon-parser.php:465
4 AddonParser::viewAddons() JROOT/modules/mod_sppagebuilder/tmpl/default.php:56
.....

This occured after upgrading from J3.10 to J4.

Please help. Thanks

Sarah

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hello Sarah,

You are always welcome:)

Sure! I have added declaration for FieldsHelper in the following location, as this was missing there somehow:

/templates/newsberg/sppagebuilder/addons/articles_layout/site.php

This line was the addition on the first part of the file:

use Joomla\Component\Fields\Administrator\Helper\FieldsHelper;

Best Regards

13 more replies

Rashida Rahman Staff

Hi there!

Sorry for your issue.

Do you have a full site backup? Please let me know.

Best Regards

Sarah Harris Asked this

Yes we have a backup.

Sarah Harris Asked this

Hello,

Are you still working on the site?
The template is broken now. Please let me know if you have a fix.

Thank you,
Sarah

Sarah Harris Asked this

Hello,
I made a backup of the site and I am having it moved to a subdomain folder so that we can work on the fixes there.
Please wait until I get back to you with the new admin link.

Thank you,
Sarah

Sarah Harris Asked this

Hello,

I had the site that you worked on moved to a subdomain. Please see the new link in the hidden content.

Please provide a fix for the broken template that occurred after your changes. Sections of the template (header with main menu, hero, and article modules) are missing.

Your prompt attention to this is appreciated.

Thank you,
Sarah

Sarah Harris Asked this

Hello Rashida ,

Would you please fix my template now?
When you applied the fix for the article links, you removed sections of the template.
I had the site moved to a subdomain so we can work on the fix there.
Please see my new details.

This is urgent. Please help.

Thanks,
Sarah

Rashida Rahman Staff
2 years ago · edited

Hi Sarah,

Sorry for the delayed response.

Have you restored the previous backup from the time before I started to work?

Please let me know.

Best Regards

Sarah Harris Asked this

Rashida,
I moved the site that you worked on to a subdomain and then had the previous backup restored to my live site while we work on the subdomain.

Please fix the subdomain site. All backups have been completed.

Thank you,
Sarah

Rashida Rahman Staff

Sarah,

I have visited this: https://upgraded.suitelifesocal.com

It seems the backup after I have solved the article issue.

But I badly need the backup where the article issue were present, where all your template styles were present.

Can I have that one, please?

Maybe backup from 3/4 days ago?

Best Regards

Sarah Harris Asked this

You can view the live site. It's the version before you fixed the article link issue.
See original site info to access. Thanks.

Sarah Harris Asked this

I have provided the info again.

Rashida Rahman Staff

Great!

Sorry for asking again. Can I have the backup of live one in your subdomain too?

Sarah Harris Asked this

I only have those 2 sites.
Please help.

Sarah Harris Asked this

Hello Rashida,
I am just checking to see if you are still working on this?
Can you provide an update to let me know if you believe you can finish soon?
I am trying to understand the problem and how long it will take to fix.
Thank you,
Sarah

Log in to reply.