Another "0 Trim(): Argument #1 ($string) Must Be Of Type String, Array Given" - Question | JoomShaper

Another "0 Trim(): Argument #1 ($string) Must Be Of Type String, Array Given"

DT

Donna Torr

SP Page Builder 1 year ago

Hey Guys,

Another report of this error - canyou advise please?

URL: https://trustvc.org/

0
16 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #166185

Hello Donna Torr

Please share the error page. On the home page, I have not found the error.

Best regards

0
DT
Donna Torr
Accepted Answer
1 year ago #166298

Hi Ofi, have you had a chance to look at this yet?

0
DT
Donna Torr
Accepted Answer
1 year ago #166209

Hi Ofi, I had to disable the Articles Add on within SP Page builder to get the home page to load. I have just re-enabled it.

https://postimg.cc/JD29HjHJ

This is the Home - Default page

https://trustvc.org/administrator/index.php?option=com_sppagebuilder&view=editor&tmpl=component#/editor/9/

0
DT
Donna Torr
Accepted Answer
1 year ago #166517

Hey guys - i still not received a response to this.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #166617

I have checked your issue. You have to add Read More on your articles. For example, this article has Read More. If I select it's category, then it is shown on the site perfectly.

prnt.sc/DsKuy0IgpCQ5

0
DT
Donna Torr
Accepted Answer
1 year ago #166639

This is Page builder error - there is no requirement to add a readmore to a Joomla article - there never has been. There are other posts reporting this same issue: https://www.joomshaper.com/forum/question/34119

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #166967

On SP Page Builder article, you have to add Read More. Try it and let me know. The other link you have added looks like a separate issue to me.

0
DT
Donna Torr
Accepted Answer
1 year ago #167313

Hi this is not true - the article addon works fine on the SP BB 3.8.10 with the same articles - please see the bottom of this page:

https://test.trustvc.org/

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #167317

It has read more if you talking about this section.

prnt.sc/3JfaRNXbfKEx

0
DT
Donna Torr
Accepted Answer
1 year ago #167337

Yes, but I have not changed anything - just downgraded to 3.8.10 - the login credentials are the same if you would like to compare.

I have moved the Articles addon to the top of the home page on https://test.trustvc.org/ so it is easier to view. The Articles addon settings are exactly the same on both sites, the article category selected to show is 'Venture Capital Companies'. See below.

https://ibb.co/4Ws1CCt https://ibb.co/DKPwpNg

The test site is an exact replica of the live site apart from me uploading and installing SPPB 3.8.10 over the top of SPBB 5.3.6 - I have since updated the live site to 5.3.7 and the issue still persists.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #167452

Please take a full site backup with Akeeba Backup in ZIP format and share here. Follow this tutorial. I will check it on my localhost.

0
DT
Donna Torr
Accepted Answer
1 year ago #167465

Url to backup sent privately - thank you.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #167562

Sorry for my previous wrong inspection. The problem is with VC Fields. I have checked that if I turn off these two fields for this article, then the page shows fine. Please check the Fields value. It is customized on your site and we do not provide customization support. I have also checked by changing the template. The same error occurs. So, the template does not have it.

Screenshot at Sep 12 12-59-18.png

0
DT
Donna Torr
Accepted Answer
1 year ago #167867

Hi, - this does not explain why it works on SPPB 3.8.0 - what has changed to make this not work in SPPB 5?

0
DT
Donna Torr
Accepted Answer
1 year ago #168123

Come on now guys - Custome fields are native to Joomla - this is a bug. This has been going on too long now. Can you please escalate this issue to a senior developer.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #168141

Apology for the delay. I have shared your issue to the development team and got a fix. I have overriden the Article addon on your template to fix the issue. Please check this file:

templates/investa/sppagebuilder/addons/articles/site.php

The Articles addon will load on the frontend from this file and there will no issues with the custom fields. Please check and let me know if your issue is solved.

0