• Resolved Organic Lighting Systems

    (@organic-lighting-systems)


    I have been reading around and seeing a lot of issues with W3 Total Cache and Basic Google Maps Placemarks, I did not code of create this site it was already created by somebody else prior to me being employed by this company.

    I am not too familiar with WordPress but I have some experience but as I have been stuck the past few days I figured I would resort to the forums.

    PLEASE HELP ME, I WOULD GREATLY APPRECIATE IT!

    The site: Home Page
    The map: click here

    It seems like there is some type of js error after using W3 Total Cache but if I could get some guidance on exactly what to do because I really have no idea at this point even after all of the research I have done.

    Thank you in advanced for anybody taking the time to help.

    https://wordpress.org/plugins/basic-google-maps-placemarks/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    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.

    Thread Starter Organic Lighting Systems

    (@organic-lighting-systems)

    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.

    Plugin Author Ian Dunn

    (@iandunn)

    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

    Thread Starter Organic Lighting Systems

    (@organic-lighting-systems)

    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!!!!!!!!!!!

    Plugin Author Ian Dunn

    (@iandunn)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Loading Map…’ is closed to new replies.