WARNING [2] Use of undefined constant API_SERVER - assumed 'API_SERVER' (this will throw an Error in a future version of PHP)
Error on line 39 in file /var/www/bloc/kb/common/includes/api/class.api.php
PHP 7.2.15-0ubuntu0.18.04.1 (Linux), EDK 4.4.2.0 (Onslaught 1.0)
File: /var/www/bloc/kb/common/includes/api/class.api.php, line: 39, class: EDKError, function: handler
File: /var/www/bloc/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 33, class: API, function: __construct
File: /var/www/bloc/kb/mods/allicorpstats_page/corp_stats.php, line: 127, class: AlliCorpStats, function: generate
File: /var/www/bloc/kb/common/index.php, line: 320, function: include
File: /var/www/bloc/kb/index.php, line: 26, function: include


Fatal error: Uncaught InvalidArgumentException: Missing the required parameter $search when calling getSearch in /var/www/bloc/kb/common/esi/lib/EsiClient/SearchApi.php:335 Stack trace: #0 /var/www/bloc/kb/common/esi/lib/EsiClient/SearchApi.php(307): EsiClient\SearchApi->getSearchWithHttpInfo(Array, NULL, 'tranquility', NULL, NULL, NULL, true) #1 /var/www/bloc/kb/common/includes/esi/class.helpers.php(226): EsiClient\SearchApi->getSearch(Array, NULL, 'tranquility', NULL, NULL, NULL, true) #2 /var/www/bloc/kb/common/includes/class.alliance.php(65): ESI_Helpers::getExternalIdForEntity(NULL, 'alliance') #3 /var/www/bloc/kb/mods/allicorpstats_page/class.allicorpstats.php(37): Alliance->getExternalID() #4 /var/www/bloc/kb/mods/allicorpstats_page/corp_stats.php(127): AlliCorpStats->generate() #5 /var/www/bloc/kb/common/index.php(320): include('/var/www/bloc/k...') #6 /var/www/bloc/kb/index.php(26): include('/var/www/bloc/k...') #7 {main} thrown in /var/www/bloc/kb/common/esi/lib/EsiClient/SearchApi.php on line 335