Feature Box Cannot Handle Images - Question | JoomShaper

Feature Box Cannot Handle Images

Jörgen Blixt

Jörgen Blixt

Template 9 months ago

Feature_Box does not work when icon is replaced with image. I I select image but browse for an image it still works. After introducing the link the whole page turns white. The webpage show big zero and text "Object of class stdClass could not be converted to string".

I am using the Educon theme and the error has been around for a few years. I have earlier removed the feature boxes on the start page but I thought perhaps you would have found the error by now and could provide an explanation.

If I hide the Feature Box in Page Builder the web page returns to normal. If I change default template to Shaper_Helix the Feature Box is appearing with images too.

Please advice and explain why Feature Box cannot use images in the Educon template as shown on the demo site.

Should I reinstall the Educon template?

I am on Joomla 4.4.10. Web host needs to upgrade MySQL to allow migration to Joomla 5.12. The Educon template is version 4.0.1. Every plugin etc is updated.

0
10 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 9 months ago #181467

Hello Jörgen,

Thank you for reaching out to us. I apologize for the inconvenience this has caused. It seems there is an override add-on, which is likely the reason you’re encountering this error.

I am currently looking into this issue on our end and will do my best to provide you with a solution as soon as possible.

Thank you for your patience and understanding. Please don’t hesitate to reach out if you have any additional details to share in the meantime.

Best regards,

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 9 months ago #181472

Hello,

Please, replace this existing Feature Addon with my provided code both admin.php and site.php

Path: /templates/shaper_educon/sppagebuilder/addons/feature/

Feature Addon: feature.zip

Hope it will resolved your issues.

Best Regards,

0
Jörgen Blixt
Jörgen Blixt
Accepted Answer
9 months ago #181713

Thanks Ziaul for trying. I apologies for not responding directly. Mend a busy life right now. I have downloaded the two files, and replaced the old ones. The feature box including a new or existing image is still failing. In fact, when I edited an existing page and corrected some text the website gave me the null display after save. When I hid the image of a question mark the webpage worked again.

Yes, template may be causing this and some override addon maybe needs to be changed, but which would that be?

I have compared the settings between the Educon and Helix standard template. I found I have, at some point, entered a Custom CSS on the Educon template. Not sure why but it reads:

#sp-page-builder .page-content .sppb-section  { padding: 40px 0; }

#sp-page-builder .sppb-fullwidth-title {
  color:  #bd3a3a;}

#sp-page-builder .sppb-slidehsow-sub-title {
  color:  #bd3a3a;}

.entry-content table {
border: 1px solid #ededed;
border-collapse: collapse;
border-spacing: 0;
font-size: 14px;
line-height: 2;
margin: 0 0 20px;
width: 100%;
}

.entry-content table td {
border: 1px solid #ededed;
padding: 0.5em;
text-align: center;
}

.entry-content table tr:first-of-type td {
background: #68af26;
color: #fff;
font-weight: bold;
}

.entry-content table tr:nth-child(2) td {
background: #68af26;
border: none;
color: #fff;
font-weight: bold;
}

#offcanvas-toggler > i {font-size: 30px;}

Does this have anything to do with issues seen? I tried applying Helix template to one page with error but in fact the error was also manifesting on that page even after purging the cache. Any clues where to look?? Thanks.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 9 months ago #181755

Hello,

Thank you for your time. To proceed with resolving the issue, could you please provide admin access in the hidden content section? Before doing so, please make sure to take a full backup of your site to avoid any potential issues during the process.

Also, could you clarify which pages you’re facing issues with? For better understanding, please note that CSS cannot cause issues related to “title null.”

Thank you for your understanding and cooperation!

Best regards,

0
Jörgen Blixt
Jörgen Blixt
Accepted Answer
9 months ago #181866

Thanks Ziaul, Please go ahead and have a play. Look at page "Hem" #108. Add a section and add "image". Even with default image the webiste returns the null response. Old pages with fully working images can be turned into failed pages after editing texts. I have also noted front page editing fails sometimes and white pages are shown. Thanks again for your kind assistance. There is something wrong here but I cannot address it. Looking forward to your response. Best regards

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 9 months ago #181884

Hello,

Thank you for your reply. Please double check your credentials, as they appear to be incorrect.

Thank you,

0
Jörgen Blixt
Jörgen Blixt
Accepted Answer
9 months ago #182016

Sorry for the trouble. New password created and posted in Hidden Content. I have verified the password works. I am really sorry. Thanks

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 9 months ago #182027

Hello,

There is also a override addon name Image, Just delete this from this path:

/templates/shaper_educon/sppagebuilder/addons/image and use our SP Page Builder Image addon. It will resolve your issues.

Is there anything else that I can assist with?

Thanks

0
Jörgen Blixt
Jörgen Blixt
Accepted Answer
9 months ago #182663

Dear Ziaul and Joomshaper, Thank you very much resolving the isse with images. I did delete old image addon. Now I can include images and the pages look normal again. The biggest learning point for is to turn to experts for great advice. I was not able to solve this myself. So thanks again.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 9 months ago #182681

Hello,

Thank you for your kind words! We’re glad we could assist in resolving the issue with images. It’s always our pleasure to help, and we truly appreciate your trust in us.

If you ever need further support or have any questions, feel free to reach out. We’re always here to help!

If everything is working fine now, you can mark this question as complete.

Best regards,

0