@oxdeer
Hey mate, thanks for the patch, however one I activate your plugin my site crashes with
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Any idea what could be causing this?
@itsflanno did you disable the old plugin before activating the new one?
Thanks for the patch @oxdeer, it works fine on my website.
@exdeer
Yep, followed your instructions… š
@itsflanno a server 500 error has a ton of potential possibilities. If you cannot deactivate the plugin and restore your site functionality, you’ll want to contact your web host and see if they can tell you what the error logs on your server say.
They should also be able to access your database directly and clear out the active plugins field, disabling all plugins and allowing you to access your site again.
If you happen to find out what the error log from your host states, please share it here. If it’s an easy problem to avoid in the future then I’d be happy to adjust the plugin code.
@oxdeer
Hey mate,
It is super weird, the site errors with 500, but I can still access the wp dashboard. The site then works once I deactivate your patch, making both plugins deactivated.
I will contact my host and see if they can get me the logs.
Thanks
That fixed my issue! LOVE YOU. Wish the author would merge that fix in.
Another Fix to this is to replace
$image_data['url'] = $result['display_src'];
in line 949 of the plugin instaram_slider.php
With this
/// resolves the issues
$srcn = preg_split('/\?/',$result['display_src']);
$image_data['url'] = $srcn[0];
The new instagram urls come back like this:
https://scontent.cdninstagram.com/t51.2885-15/e35/12783255_560370694128931_356804048_n.jpg?ig_cache_key=MTE5MTk5MjQwMTE5NTg5MTgxOQ%3D%3D.2
Parsing that into the function thinks its extension is a 2.
so by splitting it up works out ok.
thanks
Andi
Thank you very very much Andi, your fix worked for me.
@oxdeer Many many thanks to you, I’ve manually added your temp fix into the code, and boom, fixed! Thank you for your time and for sharing.
@oxdeer – Thanks for the fix. Works for us as well.
@oxdeer I activated your patched plug-in but for some reason still can’t get my feed to appear. I placed the code underneath my social media icons on the side bar ( at kittyclique.com )
Thanks you for this solution!
@jetonr
any update on a official fix?