1. Floox
  2. Friday, 12 June 2020
Hello
Im having a blank page problem:

It's about the feature box ox the default home page of the floox template, I changed the icon to an image and got this message :
Recoverable fatal error: Object of class stdClass could not be converted to string in templates/shaper_floox/sppagebuilder/addons/feature/site.php on line 68 along with a blank page.

Thanx for your help, Ive been stuck for a couple of days
Accepted Answer
Hello Peron,
Thank you for your question. Please go to this location templates/shaper_floox/sppagebuilder/addons/feature/ and find site.php file. Open it in any editor and go to 68 line. Change from

. $feature_image .
to

. json_decode( json_encode($feature_image->img), true) .

Screenshot_29.png

- Best regards
Attachments (1)
  1. more than a month ago
  2. Floox
  3. # Permalink
Responses (11)
Hi, Any update on this? I have a deadline and I am stuck as I cannot edit the homepage. Thanks


Please post a new question.

- Best regards
  1. more than a month ago
  2. Floox
  3. # 1
Same here. Its been a week now since I cannot work on the site. Please can you help?
  1. more than a month ago
  2. Floox
  3. # 2
Hi, Any update on this? I have a deadline and I am stuck as I cannot edit the homepage. Thanks
  1. more than a month ago
  2. Floox
  3. # 3
Thanx A LOT! I can finally access the page, no more blank page.

I still have this message though
Notince; Undefined property: stdClass::$img in templates/shaper_floox/sppagebuilder/addons/feature/site.php on line 68

But the prooblem is not quite solved: when I try to access the sp page builder frontend editor, only the header (logo/menu) and the footer appear, with nothing in between, no slideshow, no feature boxes, no content... like it was before the fix you sent me.


Thanx
Peron

I have the same problem, using the travelia template
Trying to get property 'img' of non-object in /public_html/templates/shaper_travelia/sppagebuilder/addons/feature/site.php on line 59

On edit page just see header and footer


Please go to /public_html/templates/shaper_travelia/sppagebuilder/addons/feature/ and find site.php file. Then replace this line

$media .= '<img class="sppb-img-responsive" src="' . $feature_image . '" alt="'.$title.'">';
to this

$media .= '<img class="sppb-img-responsive" src="' . json_decode( json_encode($feature_image->img), true) . '" alt="'.$title.'">';


- Best regards



It doesnt change a thing, still stuck
  1. more than a month ago
  2. Floox
  3. # 4
Same here, I did what you recommended and there 's still no content.
  1. more than a month ago
  2. Floox
  3. # 5
Hi, Thanks for your reply but it is still the same, just header and footer.
I cleared all caches too
Regards
  1. more than a month ago
  2. Floox
  3. # 6
Thanx A LOT! I can finally access the page, no more blank page.

I still have this message though
Notince; Undefined property: stdClass::$img in templates/shaper_floox/sppagebuilder/addons/feature/site.php on line 68

But the prooblem is not quite solved: when I try to access the sp page builder frontend editor, only the header (logo/menu) and the footer appear, with nothing in between, no slideshow, no feature boxes, no content... like it was before the fix you sent me.


Thanx
Peron

I have the same problem, using the travelia template
Trying to get property 'img' of non-object in /public_html/templates/shaper_travelia/sppagebuilder/addons/feature/site.php on line 59

On edit page just see header and footer


Please go to /public_html/templates/shaper_travelia/sppagebuilder/addons/feature/ and find site.php file. Then replace this line

$media .= '<img class="sppb-img-responsive" src="' . $feature_image . '" alt="'.$title.'">';
to this

$media .= '<img class="sppb-img-responsive" src="' . json_decode( json_encode($feature_image->img), true) . '" alt="'.$title.'">';


- Best regards
  1. more than a month ago
  2. Floox
  3. # 7
Thanx A LOT! I can finally access the page, no more blank page.

I still have this message though
Notince; Undefined property: stdClass::$img in templates/shaper_floox/sppagebuilder/addons/feature/site.php on line 68

But the prooblem is not quite solved: when I try to access the sp page builder frontend editor, only the header (logo/menu) and the footer appear, with nothing in between, no slideshow, no feature boxes, no content... like it was before the fix you sent me.


Thanx
Peron


Please set Error Reporting to None and then check your issue.
Screenshot_8.png

- Best regards
Attachments (1)
  1. more than a month ago
  2. Floox
  3. # 8
Thanx A LOT! I can finally access the page, no more blank page.

I still have this message though
Notince; Undefined property: stdClass::$img in templates/shaper_floox/sppagebuilder/addons/feature/site.php on line 68

But the prooblem is not quite solved: when I try to access the sp page builder frontend editor, only the header (logo/menu) and the footer appear, with nothing in between, no slideshow, no feature boxes, no content... like it was before the fix you sent me.


Thanx
Peron

I have the same problem, using the travelia template
Trying to get property 'img' of non-object in /public_html/templates/shaper_travelia/sppagebuilder/addons/feature/site.php on line 59

On edit page just see header and footer
  1. more than a month ago
  2. Floox
  3. # 9
Thanx A LOT! I can finally access the page, no more blank page.

I still have this message though
Notince; Undefined property: stdClass::$img in templates/shaper_floox/sppagebuilder/addons/feature/site.php on line 68

But the prooblem is not quite solved: when I try to access the sp page builder frontend editor, only the header (logo/menu) and the footer appear, with nothing in between, no slideshow, no feature boxes, no content... like it was before the fix you sent me.


Thanx
Peron
  1. more than a month ago
  2. Floox
  3. # 10


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.