Support » Plugin: Photo Gallery by Supsystic » PHP Fatal Error

  • Resolved stacyhankinson

    (@stacyhankinson)


    Gallery not loading. Text posting in place of gallery: “Failed to write cache file “/nas/content/live/pai3449/wp-content/uploads/grid-gallery/cache/twig/ea/ea5981d17514d6f5c607f6f9f948423528966634726f2057cab9e1917d64aad4.php”. Have latest version of 1.14.7; wordpress 5.4.1 and php 7.3 and beaver builder theme. site hosted on WPEngine. I reverted my site several times, but could not find issue. Have you seen this error and how to fix?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author supsystic

    (@supsysticcom)

    Hello, @stacyhankinson
    Thank you for contacting us regarding your question.
    Most likely the problem is that your site does not have write permission to this folder.
    For solving issue you can read this arcticle – https://www.wpbeginner.com/beginners-guide/how-to-fix-file-and-folder-permissions-error-in-wordpress/

    Don’t hesitate to contact me in case of any questions. We are always glad to help you!

    Best regards,
    Ole

    stacyhankinson

    (@stacyhankinson)

    I’ve worked with my host wpengine for a few hours to fix issue and the permissions.

    WpEngine doesn’t allow file to write to disk (under Disk Write protection). Here is their reference:
    WP Engine Security Envirno

    According to WPEngine: your piece of code where their plugin is calling the “grid-gallery/cache/twig/ea/” folder and the code line 192-211; specifically line 203 ‘cache_twig’ => ‘/grid-gallery/cache/twig’,
    is the issue.

    They even tried setting file permissions for that folder to 777 which would make it writeable to anyone and that didn’t fix it.

    Please advise if there’s a solution,
    Stacy

    Last update plugin worked for a few galleries and then others TWIG errors. Too much time to fix so just de-activated plugin and using wp media gallery. Not as pretty but works.

    Plugin Support Support Ole

    (@trsupsys)

    In the latest Free version of the plugin, the TWIG library has been updated.
    Now it works in a completely different way. Whatever the problem arises, update the PRO version to the latest. – 2.8.9
    Deactivate and remove old Gallery plugins.
    Install the new Free version.
    Download new PRO version and install it.
    If your license is expired and you cannot update the plugin to the latest version, roll back the Free version.
    Don’t hesitate to contact me in case of any questions. We are always glad to help you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.