-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server 500 error #28
Comments
Very sorry to hear that the plugin isn't working as expected. If this is a server timeout error (usually a 504, but sometimes it masquerades as the more general 500) and the error only appears on the front-end and not the WordPress back-end, the culprit might be an image heavy post. The first time a post/page is loaded after the plugin is activated, the plugin tries to create 2x images for all the images in a post. Sometimes this takes a while, and on image heavy posts the server may timeout once or twice. If this is the problem, a refresh of the timed-out page should get things moving again (you may need to refresh and wait more than once if there are a lot of images to work through). A plugin like Regenerate Thumbnails might also help buy taking care of the image generation from the admin. If this is not a timeout issue or the error appears in the admin, then it is not something I have encountered before. If you can provide more information on the details of your installation I will do my best to duplicate the issue. Thanks very much for the feedback. |
Thanks. I suspected that would be the case however I've run a regen already. I've loaded it in a local host with debugging. I get "Object of class WP_Post could not be converted to string in". I'm using "advanced custom fields" in my theme which could be the cause of the issue. |
Sorry for letting this slip by me. Which file is listed in the error? If your are using ACF for images, I wonder if you might have the return value for your image field set to "Object", and sending the object to Picturefill.WP, which expects to be dealing with an HTML Again, sorry for not replying. I hope it's not causing too much frustration. |
I get a server 500 error when the plugin is activated
The text was updated successfully, but these errors were encountered: