Skip to:

Fatal Error on Google Maps

  • I keep getting an error ever since I used google maps plugin on WPMU. I know i should be reporting this to the plugin author but I think you guys can help me. The error says:

    Fatal error: Cannot use object of type stdClass as array in /home/a4600264/public_html/wp-content/mu-plugins/bp-google-maps.php on line 9

    The line contains:

    $profile_link = $bp . $bp . ‘/’;

    Can someone help me. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Profile photo of GiovanniCaputo


    i think that you use plug in for beta release, while you have installed BP RC1.

    Profile photo of Plrk


    Indeed, you should be reporting it to the plugin author.

    Since some time, there as been a change in the structure of $bp: see this topic.

    You should edit that line to instead read:

    $profile_link = $bp->loggedin_user->domain . $bp->profile->slug . '/';

    thanks plrk. this got rid of the error. I just changed the structure of all $bp. however, i still don’t see the google map. :(

    did you ever get this figured out? i’m wanting to use that plugin also, and am having the same problem.

    Profile photo of Jeff Sayre
    Jeff Sayre



    Since the OP of this thread has not been active on these forums for some time–not to mention that this thread is over 4 months old–you more than likely will not get a response from them.

    Your best bet when dealing with 3rd-party plugin issues is to contact the plugin dev directly and ask them for support.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error on Google Maps’ is closed to new replies.
Skip to toolbar