Envira -> not loading

Hi

I have some custom type page which are supposed to displayed a specific envira galery.
It used to work but since last update (2.5.5), the page won"t load and the gallery never show up.

I tried to delete all plugin, removed the envira galery plugin + reinstall, update my server to the last nginx / php 7.2, nothing worked.

Any idea how to fix it ?
Thanks.

Page not working : http://de.agence-lemon.biz/realisations/formula-e/

The code :

    	  	    <div class="galerie">
    	  		<?php	
    if ( function_exists( 'envira_gallery' ) ) { envira_gallery( $galerie ); } 
    	  		?>
    		</div><!-- galerie -->

Hello @AXEL,

Thanks for writing in!

Your code is incorrect. It should be:

<div class="galerie">
	<?php	
		if ( function_exists( 'envira_gallery' ) ) { envira_gallery( 'sample-post', 'slug' ); }
	?>
</div><!-- galerie -->

wherein sample-post is the Envira gallery slug.

Or you can just use this code:

<div class="galerie">
	<?php	
		if ( function_exists( 'envira_gallery' ) ) { envira_gallery( '1234' ); }
	?>
</div><!-- galerie -->

wherein 1234 is the ID of the Gallery.

Hope this helps. Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.