A PHP Error was encountered
Severity: Warning
Message: file_get_contents(https://restcountries.com/v3.1/all): failed to open stream: HTTP request failed!
Filename: views/country_code.php
Line Number: 4
Backtrace:
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/country_code.php
Line: 4
Function: file_get_contents
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/country_code.php
Line: 30
Function: getCountries
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/product_detail.php
Line: 266
Function: include
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/controllers/Main.php
Line: 392
Function: view
File: /home/zenithfilters/domains/zenithfilters.com/public_html/index.php
Line: 316
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: views/country_code.php
Line Number: 8
Backtrace:
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/country_code.php
Line: 8
Function: _error_handler
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/country_code.php
Line: 30
Function: getCountries
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/product_detail.php
Line: 266
Function: include
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/controllers/Main.php
Line: 392
Function: view
File: /home/zenithfilters/domains/zenithfilters.com/public_html/index.php
Line: 316
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: file_get_contents(https://restcountries.com/v3.1/all): failed to open stream: HTTP request failed!
Filename: views/country_code.php
Line Number: 4
Backtrace:
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/country_code.php
Line: 4
Function: file_get_contents
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/product_detail.php
Line: 267
Function: getCountries
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/controllers/Main.php
Line: 392
Function: view
File: /home/zenithfilters/domains/zenithfilters.com/public_html/index.php
Line: 316
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: views/country_code.php
Line Number: 8
Backtrace:
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/country_code.php
Line: 8
Function: _error_handler
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/views/product_detail.php
Line: 267
Function: getCountries
File: /home/zenithfilters/domains/zenithfilters.com/public_html/application/controllers/Main.php
Line: 392
Function: view
File: /home/zenithfilters/domains/zenithfilters.com/public_html/index.php
Line: 316
Function: require_once