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?
Let me know if the PHP upgrade fixes the issue – I will release a patch this evening to mitigate further occurrences of this.
I am on version 7.0.33
I use Bluehost and I believe they update that automatically.
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.
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.
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)!
@shaunart,
Thanks, but unfortunately this seems like the Apache error log. Any chance you have the PHP error log?
@judywebsmartsierra,
Can you start your own thread, please, with information such as the your PHP version and the type of gallery you have?
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
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.
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.
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!