Hi joomshaper-team,
thanks for the great template Finion which I´ve installed via Quickstart for Joomla 4.0.4 (PHP 7.4.26).
After changing an image in frontend-editing in the addon finatic_services I´ve got the error "Object of class stdClass could not be converted to string" like in a lot of posts from other user described. This addon is used in other templates too and I found a post, where is described to change this file:
/sppagebuilder/addons/finatic_services/site.php on line 36
Old:
$output .= '<img src="' . $service_img . '">'
New:
$output .= '<img src="' . json_decode(json_encode($service_img->img), true) . '">"
See in posts:
https://archive.joomshaper.com/forums/white-page-and-error-message-after-language-update
https://archive.joomshaper.com/forums/object-of-class-stdclass-could-not-be-converted-to-string-in-www-templates-finatic-sppagebuilder-addons-testimonial-slider-site-php-on-line-21
But this dosen´t work and produce another error:
"syntax error, unexpected 'class' (T_CLASS)"
I use PHP-Version 7.4.26 and think, may this is the problem - but - this version of PHP is the next to 8 the current version and I can´t believe that this addon not work in a Template respectively Quickstart Updated Last: 22 June 2021!
Editing the pagebuilder site directly and change an image work, but I need the frontend-editing for my customer and want you to give me and other users a quick and detailed instruction to fix this issue. Hopefully without to have to share an Admin access.
Thanks in advance.
Greets Andre