Finion Quickstart - Finatic_services Can´t Change Image In Frontend-editing - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Finion Quickstart - Finatic_services Can´t Change Image In Frontend-editing

A

Andre Göckler

Template 3 years ago

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

0
15 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #46773

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
A
Andre Göckler
Accepted Answer
3 years ago #46775

Hi Toufiq, thanks for your answer. I will send you the login data. Please let me know the solution so that I can understand where the error was. Greets Andre

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #46782

Hi there, I have updated the code.

templates/your_template/sppagebuilder/addons/finatic_services/site.php

site.zip

-Thanks

0
A
Andre Göckler
Accepted Answer
3 years ago #46787

Hi Toufiq, thank you very much for your help - know it works as expected. SP Pagebuilder (up to v. 3.7.10) itself is compatible with PHP 8 and if I change PHP version from 7.4 to 8 in future your edited code will work too, right?

Greets Andre

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #46798

Yes, PHP 8 will work in the future. Thanks

0
A
Andre Göckler
Accepted Answer
3 years ago #46830

Hi Toufiq, thanks! I just recognized, that there ist the same problem with the addon "advance_slideshow". Could you please edit the file "site.php" for this addon and send me for integration? I have already deleted your admin login and hope, you can send me the updated file just like this without testing if possible. When you need admin account again let me. Thanks in advance. Greets Andre

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #46918

Hi there, I have updated the code.

templates/your_template/sppagebuilder/addons/finatic_services/site.php

File site.zip

-Thanks

0
A
Andre Göckler
Accepted Answer
3 years ago #46924

Hi Toufiq, you haven´t read my comment. I talk about the same error but in the addon "advance_slideshow".

/templates/finion/sppagebuilder/addons/advance_slideshow/site.php

Thanks for your help

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #46926

Did you change administrator access?

0
A
Andre Göckler
Accepted Answer
3 years ago #46930

Hi Toufiq, yes, as I wrote in comment. But I activated it know and you can login again. It´s the slideshow on Page "Startseite" (frontpage). Greets Andre

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47088

Just remind me on monday. Thanks

0
A
Andre Göckler
Accepted Answer
3 years ago #47187

Hi Toufiq, I should remind you of the further processing on monday. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47247

I think this problem comes from the page builder. Can you give me FTP access? Thanks

0
A
Andre Göckler
Accepted Answer
3 years ago #47261

Hi Toufiq, ok, you find access data attached. Hope you find the error. When it is a problem from page builder itself I hope it will be fixed in next version too. Also I hope that it will work with php version 8 when I switch version. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #47280

Please allow me one more day. Thanks

0