Error Page With Newsberg Template After Upgrade To Joomla 4 - Question | JoomShaper

Error Page With Newsberg Template After Upgrade To Joomla 4

SH

Sarah Harris

Template 1 year 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

0
19 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #169070

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #168635

Hi there!

Sorry for your issue.

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

Best Regards

0
SH
Sarah Harris
Accepted Answer
1 year ago #168658

Yes we have a backup.

0
SH
Sarah Harris
Accepted Answer
1 year ago #168696

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168726

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168825

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168886

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #168890

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168914

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #168937

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168939

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168940

I have provided the info again.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #168942

Great!

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

0
SH
Sarah Harris
Accepted Answer
1 year ago #168944

I only have those 2 sites. Please help.

0
SH
Sarah Harris
Accepted Answer
1 year ago #168981

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #169036

Hi Sarah,

Your issue has been solved, please check and let me know.

I have solved the issue for your live site: https://www.suitelifesocal.com/categories/magazine/education/apply-now-sept-3-is-financial-aid-deadline-for-california-community-colleges

And there are many updates pending as i can see, so please update them after being ensure about the compatibility with your current environment.

Best Regards

0
SH
Sarah Harris
Accepted Answer
1 year ago #169063

Thank you for the fix. I have other template issues, but I will open a separate ticket/question on that.

Thank you for fixing this issue. I would like to know what the issue was so that I understand it for reference.

Sarah

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #169071

You may accept the most useful answer in order to close the post:)

Have a nice day!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #169188

Thanks for accepting the answer and have a nice day:)

0