A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'site_settings'

Filename: controllers/Guesscountry.php

Line Number: 10

Backtrace:

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 10
Function: _error_handler

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: controllers/Guesscountry.php

Line Number: 10

Backtrace:

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 10
Function: _error_handler

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'site_sidebar_right'

Filename: controllers/Guesscountry.php

Line Number: 11

Backtrace:

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 11
Function: _error_handler

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: controllers/Guesscountry.php

Line Number: 11

Backtrace:

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 11
Function: _error_handler

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'site_footer'

Filename: controllers/Guesscountry.php

Line Number: 12

Backtrace:

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 12
Function: _error_handler

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: controllers/Guesscountry.php

Line Number: 12

Backtrace:

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 12
Function: _error_handler

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/whizcom/public_html/application/core/MY_Model.php
Line: 67
Function: get

File: /home/whizcom/public_html/application/controllers/Guesscountry.php
Line: 58
Function: fetchAll

File: /home/whizcom/public_html/index.php
Line: 318
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1055

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'whizcom__ans.l.leaderboard_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT l.*, u.first_name, u.last_name, max(l.score) as maxscore, u.picture FROM `leaderboard` `l` INNER JOIN user_details u ON u.user_id = l.user_id WHERE `l`.`deleted` =0 GROUP BY `u`.`user_id` ORDER BY max(l.score) DESC LIMIT 10

Filename: core/MY_Model.php

Line Number: 67