Archived topic
Sidebar has disappeared in the blog page
10 replies · Started by Arturo Garcia on October 17, 2016
Hi Tom,
One of my clients have a problem, the sidebar is not showing in the blog page and just in the blog page: http://www.protectuswealth.com/blog/
It shows correctly in the posts and in the rest of the pages (when enable):http://www.protectuswealth.com/sp500-earnings-predicen-9-8-12-meses/
But I cannot make it work in the blog page.
If you look at the code the sidebar is not there, I mean, You can see the "content" div, the "primary" div but the "right-sidebar" div is not there.
I have updated all the plugins and deactivated all of them, except GP Premium to get the guilty with no result.
Any suggestions?
Regards.
Strange, the body element has the .right-sidebar class which means the sidebar is enabled for the blog.
Yet, the element isn't there.. Hmm..
Are there any custom functions/page templates going on?
No Tom, we are using the default "content/sidebar" layout. I have tried now to activate the twenty sexteen theme and it works ok, it shows the sidebar correctly.
Hmm, any chance you can email me temporary admin login details so I can take a look?
Of Course, I have just sent the details to you.
Ah, there's a PHP error stopping the rest of the page from rending (no footer, admin bar etc..).
Can you get them to ask their host to install ImageMagick on the server?
Ok Tom, I have asked the client to contact with the server, I´ll tell you what they say.
Thank you!
Hi Tom,
The server has already answered my client, they say that ImageMagick is installed by default and the provide this link: http://www.inmotionhosting.com/support/website/software/using-imagemagick
Regards.
Here's the specific error:
Fatal error: Call to undefined method WP_Image_Editor_Imagick::get_error_message()
I just did some digging around and found this might happen when an image is uploaded as your featured image that isn't a JPG or PNG - maybe you can check that?
If that's the case, that's very strange and I'll have to find a workaround for that.
Let me know :)
Hi Tom,
You were right, one of the last images was uploaded as .gif
It is the post: http://www.protectuswealth.com/barometro-mercado-octubre-2016-seguimos-alcistas/
Once I have deleted the featured image the sidebar has appeared again.
Thank you for your help, I would have never found the problem without you :)
Glad I could help! Now it's time to figure out why that would happen.. :)