A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://geolocation-db.com/json/100.28.0.143): failed to open stream: Connection timed out

Filename: controllers/Groups.php

Line Number: 41

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 41
Function: file_get_contents

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'city' of non-object

Filename: controllers/Groups.php

Line Number: 44

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 44
Function: _error_handler

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'state' of non-object

Filename: controllers/Groups.php

Line Number: 44

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 44
Function: _error_handler

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'country_name' of non-object

Filename: controllers/Groups.php

Line Number: 44

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 44
Function: _error_handler

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'latitude' of non-object

Filename: controllers/Groups.php

Line Number: 45

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 45
Function: _error_handler

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'longitude' of non-object

Filename: controllers/Groups.php

Line Number: 46

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 46
Function: _error_handler

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/customer/www/weedlifestyles.com/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/customer/www/weedlifestyles.com/public_html/application/controllers/Groups.php
Line: 118
Function: get

File: /home/customer/www/weedlifestyles.com/public_html/index.php
Line: 317
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1582

Incorrect parameter count in the call to native function 'radians'

SELECT `groups`.*, `jp_front_users`.`front_user_id`, `jp_front_users`.`first_name`, `jp_front_users`.`last_name`, ( 3959 * acos( cos( radians() ) * cos( radians( `groups`.`lat` ) ) * cos( radians( `groups`.`lng` ) - radians() ) + sin( radians() ) * sin( radians( `groups`.`lat` ) ) ) ) AS distance, (SELECT COUNT(id) FROM group_members WHERE group_id = groups.id) as member_count FROM `groups` JOIN `jp_front_users` ON `groups`.`owner_id`= `jp_front_users`.`front_user_id` WHERE FIND_IN_SET("1794","groups.category") <> '0' HAVING `distance` <= 100 LIMIT 4

Filename: controllers/Groups.php

Line Number: 118