Object of class stdClass could not be converted to string - Forum | JoomShaper
Solved Templates

Object of class stdClass could not be converted to string

Asked by Gaone Mogae 2 years ago Last activity 2 years ago

Am getting this error on shaper rental template,

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi,

I have made modifications on this file:

"/templates/shaper_rental/sppagebuilder/addons/rental_feature/site.php" in template "shaper_rental".

One of them is to change the line number 57 from this:

$output .= '<img class="sppb-img-responsive" src="' . $image . '" alt="'. $alt_text .'">';

To this:

$output .= '<img class="sppb-img-responsive" src="' . (is_string($image) ? $image : $image->src) . '" alt="'. $alt_text .'">';

Please check again your issues.

Best Regards

7 more replies

Rashida Rahman Staff

Hi there!

Sorry for your experience.

Would you please give me your admin access to check the issue for you?

Please keep a full site bakup before giving the access.

Best Regards

Gaone Mogae Asked this

Any feedback regarding my question?

Gaone Mogae Asked this

ok will share

Rashida Rahman Staff

Thanks for the access. Where you getting the error, please? Would you redirect me there?

Rashida Rahman Staff

Thanks, checking...

Gaone Mogae Asked this

Am still waiting for your response![https://prnt.sc/AL4e3-g0mmYX] this happens whenever i change the url index.php/listings/listing-details

Rashida Rahman Staff

BTW, which listing you mean actually?

Rashida Rahman Staff

Hi there!

The error you have mentioned has been resolved. Please check and let me know.

Best Regards

Gaone Mogae Asked this

ok will check

Gaone Mogae Asked this

Kindly advice where to change or edit in order to solve the problem, because am getting errors on my 2 pages being activities and destinations

Rashida Rahman Staff

Did you check?

Gaone Mogae Asked this

Yes .Thank you

Rashida Rahman Staff

You are always welcome:)

Have a nice day!

Log in to reply.