Site Loader

A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: models/Countrycoef_model.php

Line Number: 26

Backtrace:

File: /var/www/fr_afc/application/models/Countrycoef_model.php
Line: 26
Function: _error_handler

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 248
Function: getFourYears

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 764
Function: count_crank

File: /var/www/fr_afc/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: models/Countrycoef_model.php

Line Number: 41

Backtrace:

File: /var/www/fr_afc/application/models/Countrycoef_model.php
Line: 41
Function: _error_handler

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 250
Function: getMaxByYear

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 764
Function: count_crank

File: /var/www/fr_afc/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: models/Countrycoef_model.php

Line Number: 47

Backtrace:

File: /var/www/fr_afc/application/models/Countrycoef_model.php
Line: 47
Function: _error_handler

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 250
Function: getMaxByYear

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 764
Function: count_crank

File: /var/www/fr_afc/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: models/Countryrank_model.php

Line Number: 25

Backtrace:

File: /var/www/fr_afc/application/models/Countryrank_model.php
Line: 25
Function: _error_handler

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 252
Function: getPreviousRank

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 764
Function: count_crank

File: /var/www/fr_afc/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/fr_afc/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/fr_afc/application/models/Countryrank_model.php
Line: 27
Function: get

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 252
Function: getPreviousRank

File: /var/www/fr_afc/application/controllers/Rank.php
Line: 764
Function: count_crank

File: /var/www/fr_afc/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `DATE` < (SELECT DATE(DATETIME) AS date FROM generate WHERE YEAR >= -3 AND `' at line 4

SELECT `country`, `rank` FROM `countryrank` WHERE `year` = 'rank' AND `DATE` = (SELECT DISTINCT DATE FROM countryrank WHERE YEAR=rank AND `DATE` < (SELECT DATE(DATETIME) AS date FROM generate WHERE YEAR >= -3 AND `YEAR` <= rank ORDER BY DATETIME DESC LIMIT 1) ORDER BY DATE DESC LIMIT 1)

Filename: models/Countryrank_model.php

Line Number: 27