Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/speedypin/wp-includes/functions.php on line 6121 SpeedyPin Warning: file_get_contents(https://restcountries.com/v3.1/all): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /var/www/speedypin/wp-content/themes/speedypin/functions.php on line 40
Fatal error: Uncaught TypeError: usort(): Argument #1 ($array) must be of type array, null given in /var/www/speedypin/wp-content/themes/speedypin/functions.php:44
Stack trace:
#0 /var/www/speedypin/wp-content/themes/speedypin/functions.php(44): usort()
#1 /var/www/speedypin/wp-content/themes/speedypin/template/template-calling-cards.php(5): get_countries()
#2 /var/www/speedypin/wp-includes/template-loader.php(106): include('...')
#3 /var/www/speedypin/wp-blog-header.php(19): require_once('...')
#4 /var/www/speedypin/index.php(17): require('...')
#5 {main}
thrown in /var/www/speedypin/wp-content/themes/speedypin/functions.php on line 44