- This topic has 10 replies, 2 voices, and was last updated 6 years, 11 months ago by Tom.
October 17, 2016 at 8:56 am #236010Arturo Garcia
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.
Regards.October 17, 2016 at 9:01 am #236013TomLead DeveloperLead Developer
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?October 17, 2016 at 9:14 am #236018Arturo Garcia
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.October 17, 2016 at 9:15 am #236019TomLead DeveloperLead Developer
Hmm, any chance you can email me temporary admin login details so I can take a look?October 18, 2016 at 1:38 am #236283Arturo Garcia
Of Course, I have just sent the details to you.October 18, 2016 at 9:04 am #236456TomLead DeveloperLead Developer
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?October 19, 2016 at 1:24 am #236819Arturo Garcia
Ok Tom, I have asked the client to contact with the server, I´ll tell you what they say.
Thank you!October 20, 2016 at 4:07 am #237266Arturo Garcia
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.October 20, 2016 at 9:10 am #237369TomLead DeveloperLead Developer
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 🙂October 20, 2016 at 12:53 pm #237429Arturo Garcia
You were right, one of the last images was uploaded as .gif
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 🙂October 20, 2016 at 12:54 pm #237430TomLead DeveloperLead Developer
Glad I could help! Now it’s time to figure out why that would happen.. 🙂
- You must be logged in to reply to this topic.