• Resolved lateralnw

    (@lateralnw)


    3 days ago my site was no longer responding to requests.
    After doing some checking it seems Gallery-Plugin has failed.

    Checking the logs I found this entry:

    06-May-2020 19:32:14 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home10/sitename/public_html/wp-content/plugins/photo-gallery/framework/BWGOptions.php on line 330

    I renamed the folder for gallery plugin in and was able to get back my site.
    The site is running php 7.n

    Would a reinstall of the plugin fix the problem or is there a fault with the code?

    At the moment I can’t add pictures to the site.

    update:
    attempted to re-enable – came up with this error. Note the line error number has moved.

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home10/sitename/public_html/wp-content/plugins/photo-gallery/framework/BWGOptions.php on line 336

    • This topic was modified 4 years, 4 months ago by lateralnw.
Viewing 15 replies - 1 through 15 (of 22 total)
  • I have the same problem with this plugin.

    • This reply was modified 4 years, 4 months ago by dorinir.

    I have the same error message and I did update via the admin dashboard. The FAQ suggests uploading zip file directly to server via FTP, and installing from there, but will a reinstall erase all my data?

    If this problem is not sorted very shortly I will have to go to another photo gallery plugin. Can anyone suggest an alternative, preferably one I can import photos from 10web? Plus does anyone know where 10web stores my photos?

    PS: I have found where 10web stores my photos…

    Muehli

    (@feuerwerkmuehlthaler)

    I have the same problem after update to 1.5.53
    I replaced the plugin folder with the old one from a backup, now version 1.5.49 is running again, no problems.

    It used a saved archive and I reinstalled this plugin to version 1.5.52. The update to version 1.5.53 is certainly not indicated. I propose to wait for another version higher than 1.5.53.
    If anyone finds another solution, I’ll be glad to to know.

    • This reply was modified 4 years, 4 months ago by dorinir.

    I am now on version 1.5.15 and it works again, what a waste of a day…!!!

    Version 1.5.52 will block the site, it happens to me again. I hope it is not premeditated by the author to move to the paid version.

    Thread Starter lateralnw

    (@lateralnw)

    Asya (@asyag) can you supply some advice here?

    Hi, I was fortunate to have an old zipped file of version 1.5.15, which I simply reinstalled, without uninstalling version 1.5.53. I then activated it and the error message did not appear, so I am currently running on the latest version of WordPress and the old version of Photo Gallery and my site is running as per normal, no loss of data or formatting and most importantly no loss of photographs…!!!

    Hope this helps?

    PS: I did start to delete Photo Gallery until I got the message that all my data would also be deleted, so I stopped at that point and just installed the old version on top of the new version. My Plugin list of course is still telling me there is an new version…!!!

    Dear @lateralnw, @dorinir,@kirkbye, @feuerwerkmuehlthaler,

    Sorry for the delay.

    The newest version of the gallery is now love, version 1.5.54.

    Please update the gallery plugin to eliminate the problem.

    Sorry for any belated actions.

    Sincerely,

    Upgraded to 1.5.54, with some trepidation, but it works fine…the power of the forum…!!!

    Thread Starter lateralnw

    (@lateralnw)

    Hi Asya (@asyag)

    thanks for the reply and the upgrade.

    I notice on my web site that this line now shows at the top of the landing page.

    Warning: mkdir(): No such file or directory in /home10/sitename/public_html/wp-content/plugins/photo-gallery/framework/BWGOptions.php on line 359

    code extract
    357 // Create directory if not exist.
    358 if ( !is_dir($this->upload_dir) ) {
    359 mkdir($this->upload_dir, 0755);
    360 }
    361

    Also,
    It looks like the plugin doesn’t see all the images anymore.

    Is there a way to get the plugin to re-run across the site to catch all missing images?

    Thanks for reply.

    Regards.

    Hi, I have checked all my images and as far as I can tell they are all there, so I don’t know what to suggest..sorry.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘PHP Fatal error: Crashed site Gallery plugin’ is closed to new replies.