Topic-icon [solved] showing friends breaks code

  • arathra
  • arathra's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
25 Sep 2013 19:19 - 26 Sep 2013 00:33 #19538 by arathra
[solved] showing friends breaks code was created by arathra
A map shows ok on JomSocial with just the owner's location. However, if I try to show the location of friends as well on the map I get this error:

Fatal error: Call to a member function setQuery() on a non-object in [path to plugins] plugins/community/geommunitylocator/geommunitylocator.php on line 379
Last edit: 26 Sep 2013 00:33 by nordmograph.

Please Log in or Create an account to join the conversation.

More
25 Sep 2013 23:50 #19539 by nordmograph
Replied by nordmograph on topic [solved] showing friends breaks code
I'll fix it right right away.

Open the file and replace line 379 with
$db->setQuery($query);

It'll fix the issue

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
25 Sep 2013 23:51 #19540 by nordmograph
Replied by nordmograph on topic [solved] showing friends breaks code
And the line after needs to have
$this->db
replaced with $db too.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

  • arathra
  • arathra's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
26 Sep 2013 00:16 #19541 by arathra
Replied by arathra on topic [solved] showing friends breaks code
Great, thanks. Seems to be working fine now. Cheers.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Copyright © 2021 Nordmograph - Joomla extensions. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
Browser of the future