• Resolved indienaustausch

    (@indienaustausch)


    The last months everything was worked fine. Even after the update to WordPress 4.9 I was happy with the gallery plugin.

    Yesterday I again uploaded some pictures and videoas (did not create a gallery) and my site stopped working. I got an error 503. Only when I directly opened articles without a gallery everything looked ok. I also could always login to reach the dashboard as well.

    After deactivating the NextGen plugin the error 503 stopped. I tried to delete and reinstall the plugin.

    But after activating it the error 503 started again. What else could I do?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • This is probably related to a recent PHP update, the error occurs after updating from PHP 7.0.25 to 7.0.26 or PHP 7.1.11 to 7.1.12. PHP crashes with a segmentation fault, the PHP error log shows the following error messsage:
    [25-Nov-2017 10:35:15 UTC] PHP Fatal error: Couldn't execute method C_Display_Type::__get in Unknown on line 0

    This could be a bug in PHP or NextGen, a temporary solution would be to switch to an older PHP version like 5.6 until the issue is resolved.

    • This reply was modified 7 years, 3 months ago by tobias1979.
    • This reply was modified 7 years, 3 months ago by tobias1979.
    • This reply was modified 7 years, 3 months ago by tobias1979.
    Thread Starter indienaustausch

    (@indienaustausch)

    Could be. But why did it happen yesterday. There was no php update in the last week and everything worked fine in that time.

    I will try to switch to an older php version to check if it will help. Unfortunatelly I haven’t done that before. I hope I wont crash my whole site ;-(

    Thread Starter indienaustausch

    (@indienaustausch)

    I changed to php 7.0 and the error changed (but the plugin still doesn’t work).

    Now I don’t get the error 503 when I open my site. I sometimes get the error, when I open an article – even if there is no gallery in this article (only a video).
    Sometimes I get the error 503 when I open certain sites like my dashboard. After reloading that page it works fine. These error don’t occure, when I deactivate the NextGEN plugin.

    When I try to look at my galleries all the pictures are still there but I can’t choose a layout. The popup window of NextGen shows the following error messages:
    Warning: Invalid argument supplied for foreach() in /var/www/XXXXX/html/indienblog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/package.module.nextgen_basic_album.php on line 838

    Warning: Invalid argument supplied for foreach() in /var/www/XXXXX/html/indienblog/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/package.module.nextgen_basic_album.php on line 838

    When I try to open the article I can read: We can not display this gallery.

    I tried again to reinstall NextGen. It didn’t change anything.

    You should try PHP 5.6. PHP 7.1.12 was released yesterday and 7.0.26 the day before, I updated both versions yesterday and noticed the same 503 error that you described with both versions. PHP 5.6 should work fine, it’s just a little slower.

    • This reply was modified 7 years, 3 months ago by tobias1979.
    • This reply was modified 7 years, 3 months ago by tobias1979.
    Thread Starter indienaustausch

    (@indienaustausch)

    It is working “fine” now. I had to refresh some galleries in different articles but after that I don’t see any errors (,yet).

    Changing to php 5.6 did help, however I want to change to 7.1 in a forseeable time. Hope that the plugin will get an update soon. Otherwise I have to change the plugin.

    Thanks for the great help!

    Plugin Contributor Imagely

    (@imagely)

    @indienaustausch – We’re not seeing any concerns with PHP 7.1.12 at this time although we are still in testing.

    – Cais.

    Same here – error 503 with PHP 7.1.12 and 7.0.26, everything fine with PHP 5.6.32

    Could be a bug in OpCache: https://bugs.php.net/bug.php?id=75579

    Same Problem here, the downgrade to PHP 5.6 fixed it. @tobias1979 I use W3 Total Cache.

    Plugin Contributor Imagely

    (@imagely)

    @tobias1979 – Thanks for sharing…

    – Cais.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error 503 – When activating NextGen’ is closed to new replies.