[envira Gallery] Problems with Portfolio Gallery

I have been having trouble with my envira portfolio plugin but I do not believe it is the plug itself. At first, I was often getting a blank page but we seemed to have fixed that as we discovered an issue with the SSL Insecure Content Fixer plugin. But now I notice that the individual galleries are not working properly, When you click on an image it should run a slideshow and show a lightbox. https://designerpre.staging.wpengine.com/envira/living-rooms/

this does not happen and I notice that several of the pictures are not shown up either.

All plugs are up to date.

Envira has been great trying to find the solution. this is from them before I discovered the SSl plug was causing issues.

I actually have the same issue when trying to edit the page when the theme is activated. The page stops responding in the admin.

Even if I create a new page without the page builder, the page stops loading when trying to save the draft and then I get the blank page when trying to view.

So there's a script that is killing the page load on the frontend and backend for that page. Which is why the single standalone Album page loads.

But when you activate Twenty Seventeen – the page loads (frontend and backend) as expected.

Unfortunately, it does point to a theme issue but I can't work out what it is as we have many users on Divi theme.

It could be a conflict with the theme and one of the other plugins and that's why you don't see the issue with the Twenty Seventeen theme.

When I did enable debug, you could see this that may or may not have something to do with the script dying on the page:

[14-Jun-2018 18:26:13 UTC] WordPress database error Table 'snapshot_designerpre.wp_et_social_stats' doesn't exist for query SELECT COUNT(*) FROM wp_et_social_stats WHERE action = 'share' AND post_id = 15506 AND network = 'twitter' /* From [designerpre.staging.wpengine.com/wp-admin/admin-ajax.php] in [/nas/content/staging/designerpre/wp-content/plugins/monarch/monarch.php:3744] */ made by do_action('wp_ajax_get_shares_count':wink:, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, ET_Monarch->get_shares_count, ET_Monarch->get_shares_number

I do see there's an update to the Divi theme, could you make a back up of your site and update the theme to see if that helps. I'm not sure what would be loading on page.php (your default template for pages) that isn't loading on single.php (the theme's template Envira uses load the standalone link).

thank you

  • Kasia Swiderska
    • Support nomad

    Hello Marina,

    I’m not sure if I understand correctly your message. Do you have issue with creating backup of your site before updating Divi theme? From what I understand it looks like Divi has conflict with Envira gallery and update might help with this problem.

    I’m seeing that url of site related to this ticket is a staging site, so you can update theme safely there without harming your live site. If update will be working on staging and nothing will break then you can update it on the live site.

    Please let me know more details.

    kind regards,

    Kasia

  • Marina
    • Flash Drive

    Hi Kasia, the site is already updated with Divi. I am trying to figure out what is messing with my Envira Galleries. Envira support says they have other clients using Divi with no issues. Why do you think it is a conflict with the theme? Any other ideas on what could be causing the issue?

  • Marina
    • Flash Drive

    can you please tell me where I add this file??

    I get this note from Hummingbird~

    Hummingbird could not locate the WP_CACHE constant in wp-config.php file for WordPress. Please make sure the following line is added to the file:

    define(‘WP_CACHE’, true);

  • Huberson
    • Recruit

    Hello Marina

    The 'WP_CACHE' constant is for Hummingbird page caching. This should be added automatically to 'wp-config.php' file when page caching activated.

    But if not added for some reason you can copy the line( define('WP_CACHE', true); ), access your site root folder via FTP or Cpanel and paste it before the following comment line:

    /* That's all, stop editing! Happy blogging. */

    [attachments are only viewable by logged-in members]

    Regarding your initial issue with Envira gallery, looking further at the log from your initial post looks like there's some database error coming from Monarch plugin(apparently by elegantthemes). If all already updated, you can try deactivating that plugin(and the other plugins) to test Envira gallery alone with Divi.