It looks like another plugin is causing a fatal error, which you can see if you scroll down to the footer:
Fatal error: Unsupported operand types in wp-content/plugins/widget-wrangler/common/display.php on line 335
What happens if you disable that plugin?
P.S. You should disable PHP’s display_errors
setting because exposing log output on production servers will leak potentially sensitive information to hackers.
Thank you for the response, after disabling the “Widget Wrangler” plugin the error has changed to
Fatal error: Call to undefined function ww_the_widget() in /home/organ113/public_html/wp-content/themes/organic_lighting/sidebar.php on line 129
Any ideas?
I will look into disabling PHP’s errors. Thank you for that.
That doesn’t seem to have anything to do with BGMP. It sounds like the theme is assuming that the plugin is active, which is kind of fragile. It’s safer to check if external dependencies exist before trying to use them.
So change,
ww_the_widget()
…to
if ( function_exists( 'ww_the_widget' ) ) {
ww_the_widget();
}
That should avoid that particular error, although there may be new ones that appear.
Hi all,
WW author here. Not sure why you would run ww_the_widget in your theme directly at all. I don’t recommend this, nor have any plans to support it.
I’ll look into the unsupported operands error.
Thanks,
Jonathan
Thank you both for your input, as I said before I didn’t create this site. This was already done prior to me being with the company. As a in house IT, they kind of just put the responsibility on me after a while and here I am trying to figure it out.
I really apprecaite your guidance, again I am not too familiar with WP.
I did also download and test a theme (didn’t launch it, just previewed it within the panel) and noticed that the google map did work…would this make my issue directly related to the theme?
If so, I can find a theme and edit my way through – it might just take a little more than a simple theme swap I’m assuming.
——-
Okay so before posting this I tried using the code you provided Ian and it worked like a freaking CHARM!
I changed it on one line, but as you said there were new ones that appeared but they were exactly the same thing!
THANK YOU SO FREAKING MUCH YOU JUST MADE MY MORNING START OFF SO GOOD!!!!!!!!!!!
I’m glad to hear that helped 🙂
Yeah, I think the problems are related to the theme and the other plugin, so switching to a different theme will probably help.