Page not loading with envira gallery

hello
this page: https://www.bio-pack.it/azienda/ and its corresponding english version https://www.bio-pack.it/en/company/ aren’t loading their content anymore. if i turn on w3 TC it gives a 500 error.
Recently i’ve added some images to one of the galleries and for some hours they were loading slowly but worked.
i’ve noticed that removing one of the two gallery inside or disabling the plugin they start working again

edit: please, use this page for testing. i’m changing envira with the grid on the real pages until its back to normal
https://www.bio-pack.it/azienda1/

Hello @envi_snc,

Thanks for asking. :slight_smile:

I am getting Internal Server Error error message upon visiting your website. Please see screenshot. https://cl.ly/1D1H0t3V0o1Z

Kindly let us know the issue is resolved ad we will take a closer look.

Thanks.

i’ve disabled the cache, you should be able to see the page now.
please remember that the “broken” page is this one: https://www.bio-pack.it/azienda1/
The other two are now using “The Grid” plugin

Hi there,

I was going to check your site and see if there is something I could find in the admin section that might be causing the issue but I can’t seem to find the login page of your site as /wp-admin and /wp-login.php goes to a 404 page.

Kindly provide us with the login URL of your site so that we can investigate further.

Thank you.

the login details are in my first post

Hello @envi_snc,

Thanks for sharing the details.

I tried changing the number of gallery columns under gallery configurations to see if it makes any difference but time and again it’s showing up 500 error message. Other then that I don’t see any error message in the console or issues with the configurations. Can you please try to completely delete Envira Gallery from /wp-content/plugins/ folder and then reinstall from Pro > Validation > Extensions and let us know how it goes.

Thanks.

hi @Prasant,
i already tried uninstalling the plugin from wordpress, tried now deleting its folder through ftp and reinstalling it but nothing changes.
anyway i saw that there is a small difference in the page if i’m logged in the wp-admin while visiting it or if i’m not: https://imgur.com/a/TAQRxDR

Hi There,

Could you please enable WP_DEBUG mode on your site by editing the wp-config.php file on your server which can be located in the root of your WordPress installation.

define('WP_DEBUG', true);

Then re-visit your page and see if you’re getting a PHP error message which explains your issue.

If you’re using a PHP version below 5.6.x, make sure to update your PHP version and re-test your issue.

Let us know how it goes.
Thanks!

hello, i’ve activated for a couple of minutes the wp-debug mode, this is what it shows: https://imgur.com/a/wQa8amW
The php i’m using is the 5.6.33, hopefully we will upgrade to 7 soon.
Do you need to have it on to test it yourself? i might need to speak with my client for this

Hey @envi_snc,

The error is related to max execution time. Please follow the solution suggested in this article.

Thanks.

ok well, i followed the instruction and if i add the code in the htaccess it has no effect as it still show the same fatal error. otherwise applying the code in the php.ini something changes but the page still gives me 500 error

Modifying the max execution time depends on your host that is why there are several methods in the article I showed you. In some host, it is not even possible to increase it even following all of the methods. You need to check with them if the fatal error persists.

Regarding 500 error, that’s a different story. It usually is caused by files and folder permissions but it’s not limited to that. Try following this. If that does not help, please give us FTP access. Just note that we need to troubleshoot and that process would require turning debugging on, deactivating third party plugins, switching to the default theme, etc… If that could not be done to your live site, please copy your site to a staging server and give us WP admin and FTP access there.

Thanks.

I’m having the same issue, my page won’t load with Envira Gallery. Loading all the pictures is using all my hosting resources and making the website time out. Not sure why though, Envira Gallery is suppose to use lazy loading so that way the resource usage isn’t so high and the website doesn’t slow down. It seems to be an issue with Envira Gallery or the interaction with Envira and the theme. I think I might switch to The Grid like @envi_snc.

Hello @vmars9,

Thanks for asking. :slight_smile:

I request you to please create a new ticket and share the problem with Envira gallery you are facing in the same. Someone from support team will help you out. Please take a look at following article on how we provide support.

Thanks.

It was not a question. I was just furthering the discussion on the issue with Envira Gallery. :slight_smile:

@vmars9 no problem, feel free to open a new thread any time you have any question, this will help us providing support more efficiently for every one.

Thanks.

ok, i’ve set up a copy of the website at www.enzovarenna.it
you can do whatever you want here

Hi there,

There is no error because the new URL has incomplete data. The Envira grids don’t have content and pages are empty when loaded in the builder. This could be due to the way you clone your site and it wiped out the serialized data required for it to work.

So then I added a new grid on this page https://www.enzovarenna.it/azienda1/ and it works (the existing shortcode content was overwritten since it’s initially empty).

Perhaps the internal error is only specific to your original site?

Thanks!

that’s odd because i’ve downloaded all the files via ftp and reuploaded them to enzovarenna.it making the needed customization to wp-config file to have a working website. as far as the database i’ve replaced every “bio-pack.it” with “enzovarenna.it” so it should be fine.
Anyway i’ve restored the page as it is on the real website. while trying to restore also the envira galleries the plugin seems unable to add more than 9 images on the gallery “showroom” and can’t even add 1 in the gallery “ufficio”. is it like this because i didn’t activated the theme?
i’m starting to think this plugin is just garbage…

edit: i tried to re-import the database: the plugin is still “broken”/“bugged”: it refuses to import images as i said before

Hi there,

That’s not enough, you should clone it exactly as is including data and not just files :slight_smile:. Hence, migration tools or service is highly recommended as there is no way you could safely edit serialized data manually (should be done automatically).

Theme activation should have no issue with Envira Gallery.

Would you mind providing a video recording of how to reproduce it? Seems to be working fine on my end (adding images). I added 13 images.

Thanks!