Image Gallery Stopped Working After Version 3.8.9 Update - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Image Gallery Stopped Working After Version 3.8.9 Update

RL

Riku Lahteenmaki

SP Page Builder 3 years ago

Image gallery is not showing in the 3.8.9 version of the page builder. In the previous version, everything was working fine, I think.

0
16 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94555

Hi Riku,

that's weird becuase we didn't change anything in Gallery addon code in last update. I tested on my private site, and gallery addon still works. Please answer to all my questions:

  1. Can you show us URL to that page?
  2. Full template name
  3. Have you use any JavaScript compression tool?
  4. Have you tried on different browser, if no, try it.
0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #94593
  1. Page url in the hidden area.
  2. Template does not have an impact, I tested with the default Protostar and the gallery is not showing.
  3. There is no javascript compression tool in use.
  4. Both Firefox and Chrome have the same problem.

When checking the page source code there is the <div.sppb-addon-gallery> block, but no gallery code is rendered within the block.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94600

Indeed HTML code of gallery is empty. Maybe code is somehow broken?

  1. Can you add there a new gallery addon and recheck.
  2. Disable gzip and preview again. Now all your files seems to be gzip'ed, or this is custom template??? Never seen that.

foto_9184_2022.jpg

0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #94607

The gzip option is in the template settings, sorry I did not realize that. Now I disabled gzip and still the gallery is not showing. I also tested with a new gallery addon, but it is not working. Some time ago the ISP changed PHP 7 to PHP 8, but the template did not work, and I asked to revert back to PHP 7. Now the site runs on PHP 7. In this occasion, could some changes to the PHP settings have occurred that could have impacted on the gallery addon? I also fixed some Joomla code to work in PHP 8 (Deprecated function parameters etc.), but not anything in SP Page Builder code.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94611

do you have problem only with that addon? Image addon works OK?

Is that addon somehow overriden in your template?

Can you add Gallery addon on NEW page, where only that addon will be used.

0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #94618

Image addon works fine, but gallery is not showing even in the Joomla default Protostar template. I tested this in a new page with only gallery addon included.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94624

Can you tomorrow morning send me Access to your website as Super User (we have similar time zone, 1h difference)

0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #94625

See in the hidden area.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94688

Thx, I have to ask our developer becuase indeed I cannot find a reason.

it looks like jquery problem/conflict somehow

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #94875

Can you create a subdomain with this same Joomla version, template, SPPB (only those) and try there gallery addon

Thanks

0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #95382

Hi Paul, I am sorry to have bothered you with this issue. I indeed had changed the gallery addon code in the template folder, while fixing error notices in order to upgrade to PHP 8. The notice came from this file: templates/buckle/sppagebuilder/addons/gallery/site.php, where in line 30 $value->title was not defined (Notice: Undefined property: stdClass::$title). Now I have removed this piece of code and no error messages come up any more.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #95416

Ok, great.

So addon was overriden.

0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #95540

If I rename the gallery folder, the whole site will break. So, the template override is part of the Page Builder architecture, right?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #95611

Not rename, delete!

If override was done by somebody else, no. It's like extra code.

0
RL
Riku Lahteenmaki
Accepted Answer
3 years ago #95706

When I rename this folder:

templates/buckle/sppagebuilder/addons/gallery/

to:

templates/buckle/sppagebuilder/addons/xgallery/

the site becomes blank. Removing the folder should have the same effect?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #103994

No, that's why I said

Not rename, delete!

0