• Resolved Shaunart

    (@shaunart)


    So sad! I love this plugin but after updating it today my whole website went down. I got this error:

    “This page isn’t working http://www.shaunart.net is currently unable to handle this request. HTTP ERROR 500”

    My webhost tech support disabled the plugin, and the site is back up, but I’m hoping for a fix so that I can reactivate all my galleries.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Which PHP version are you on? It looks like I inadvertently introduced code that doesn’t work for older versions of PHP. Can you try upgrading to PHP 5.5 or higher if you are on a lower version?

    Plugin Author Sayontan Sinha

    (@sayontan)

    Let me know if the PHP upgrade fixes the issue – I will release a patch this evening to mitigate further occurrences of this.

    Thread Starter Shaunart

    (@shaunart)

    I am on version 7.0.33

    I use Bluehost and I believe they update that automatically.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Hmm… that’s weird – I am pretty sure I have nothing on that will break for PHP 7+.

    What type of galleries did you have? Native WordPress or something else? Can you provide me with any other information pertaining to your galleries, like types of layouts you were using?

    Also, do you by any chance have access to your server’s error logs? The reason I ask is because the 500 error code is almost impossible to decipher without access to the error logs, so if you are able to see any messages pertaining to Photonic in your server’s error logs, those will help me troubleshoot.

    Thread Starter Shaunart

    (@shaunart)

    Yes!!
    I was using Flickr galleries. Mostly the mosaic or justified blocks

    And I found my error log!

    [ SNIP! ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @shaunart Past 10 lines, log data doesn’t work here. If you want to share that log data please use https://pastebin.com/ and share the link to that paste instead.

    Thread Starter Shaunart

    (@shaunart)

    I had to back out the update. Hope you get this figured out – our host did not have the error log (even tho supposed to)!

    Plugin Author Sayontan Sinha

    (@sayontan)

    @shaunart,
    Thanks, but unfortunately this seems like the Apache error log. Any chance you have the PHP error log?

    Plugin Author Sayontan Sinha

    (@sayontan)

    @judywebsmartsierra,
    Can you start your own thread, please, with information such as the your PHP version and the type of gallery you have?

    Thread Starter Shaunart

    (@shaunart)

    I’m so sorry about that. I clearly don’t know what I’m looking at. I believe this is what you’re asking for:

    https://pastebin.com/Sb8HXZ3b

    Plugin Author Sayontan Sinha

    (@sayontan)

    Thanks! That’s exactly what I was looking for.

    It does look like your PHP version is still old. This specific error occurs for PHP versions below 5.5:
    PHP Fatal error: Can't use function return value in write context

    I know I have PHP 5.4 as the minimum version, so this is an error on my part for sure, but in the meanwhile if your host can confirm you have upgraded to a later PHP version that will surely solve the issue.

    Thread Starter Shaunart

    (@shaunart)

    Ok, I contacted my web host again and they confirmed that while they offer PHP 7+ blah blah, that I was running 5.4. They updated me to 5.6. I reactivated the plugin and my galleries came back! Awesome!! This is a great plugin. Thank you so much for the work that you do.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Phew!

    Thanks for confirming. At least I know what to fix for older PHP versions, because without this information it wouldn’t have been possible for me to figure the issue out!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘HTTP ERROR 500 after update’ is closed to new replies.