Warning (2): count(): Parameter must be an array or an object that implements Countable [APP/Plugin/Football/Controller/MatchesController.php, line 972]Code Context {
$match = json_decode(@file_get_contents(Router::fullbaseUrl().$this->base.'/football/matches/json/1.json?api_key='.Configure::read('Site.api_key').'&page=1&limit=1&scheduleId='.$scheduleId.'&user_id='.$this->Session->read('Auth.User.id').'&get_meta=1&get_body=1', false, $this->Function->open_ssl()), true);
if (count($match['data']) > 0) {
$scheduleId = '291441'
$match = null
$http_response_header = array()
MatchesController::view() - APP/Plugin/Football/Controller/MatchesController.php, line 972
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
CroogoAppController::invokeAction() - APP/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php, line 220
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
require - APP/webroot/index.php, line 105
[main] - APP/index.php, line 18
Warning (2): Cannot modify header information - headers already sent by (output started at /home/footballlives.net/public_html/Vendor/cakephp/cakephp/lib/Cake/Utility/Debugger.php:794) [APP/Plugin/Football/Controller/MatchesController.php, line 995]Code Context $this->set(compact('title_for_layout', 'match', 'description', 'image', 'meta_json', 'match_json'));
} else {
header('HTTP/1.1 301 Moved Permanently');
$scheduleId = '291441'
$match = null
$http_response_header = array()
header - [internal], line ??
MatchesController::view() - APP/Plugin/Football/Controller/MatchesController.php, line 995
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
CroogoAppController::invokeAction() - APP/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php, line 220
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
require - APP/webroot/index.php, line 105
[main] - APP/index.php, line 18