If you need support for a commercial extension, you must use the account you used to make the purchase and items must be listed on your profile. First, search the forum, make sure your issue has not been resloved yet. Post describing precisely what the issue is, mentioning the Joomla, PHP, versions and a URL to the concerned page or a descriptive screenshot.
Welcome, Guest
Username Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Invalid foreach()

Invalid foreach() 1 year, 11 months ago #1433

  • Diesel9a1
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Warning: Invalid argument supplied for foreach() in /home/sites/website.org.uk/public_html/modules/mod_geommunity/tmpl/default.php on line 77

Just downloaded and installed. I have coordinates on two user profiles. The map displays in the area I set in the module params, but with the above error.

The map shows fine in the user profiles, but not for all users. Any thoughts?
Last Edit: 1 year, 11 months ago by Diesel9a1.

Re: Invalid foreach() 1 year, 11 months ago #1435

  • nordmograph
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 3372
  • Karma: 60
The error might be because you try to set 'on' paramaters for 3rd party extensions that are not installed on your site, could be alphauserpoints, kunena, puarcade etc...

Does it help?

Also for visitors, map doesn't show if profile owner has not set any coordinates.
Map shows on profile for every profile owner.

Re: Invalid foreach() 1 year, 11 months ago #1468

  • Diesel9a1
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
That was it. I had enabled View Status without the required CB plugin.

Thanks for that.

Re: Invalid foreach() 1 year, 11 months ago #1560

  • hebole
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
No location set!
I have also this problem:

Warning: Invalid argument supplied for foreach () in / storage/mijndomein/users/166695/public/sites/www.aannemersdossier.nl/modules/mod_geommunity/tmpl/default.php on line 77

In no way do I resolve. See attachement for institutions. Can you help me?

Greatz,

Herman

Re: Invalid foreach() 1 year, 11 months ago #1561

  • nordmograph
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 3372
  • Karma: 60
- Disable warnings in your php settings
or
- Add at list 1 user to the map
or
- Do not enable 3rd party integrations you don't have installed on your site.

Let me knwo

Re: Invalid foreach() 1 year, 11 months ago #1562

  • hebole
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
No location set!
I do not know what is 3rd party integrations.
Can I set?
  • Page:
  • 1
  • 2
Time to create page: 1.42 seconds