Internet Explorer is not supported. Please upgrade to a more modern browser.
Uncaught TypeError
count(): Argument #1 ($value) must be of type Countable|array, null given
(File: /var/www/vhosts/infinityroyale.it/vps.Infinityroyale.it/sito/Sito/custom/templates/Cobalt/template.php)
Link:
Frame #4
/var/www/vhosts/infinityroyale.it/vps.Infinityroyale.it/sito/Sito/custom/templates/Cobalt/template.php:312
Frame #3
/var/www/vhosts/infinityroyale.it/vps.Infinityroyale.it/sito/Sito/custom/templates/Cobalt/template.php:425
Frame #2
/var/www/vhosts/infinityroyale.it/vps.Infinityroyale.it/sito/Sito/modules/Core/pages/panel/templates.php:174
Frame #1
/var/www/vhosts/infinityroyale.it/vps.Infinityroyale.it/sito/Sito/index.php:89
File: /var/www/vhosts/infinityroyale.it/vps.Infinityroyale.it/sito/Sito/custom/templates/Cobalt/template.php
if($ext_update == "yes"){
if(!$cache->isCached('cobalt_version')){
$cobalt_api = file_get_contents('https://cdn.coldfiredzn.com/cobalt/updater.json');
$cobalt_api_decode = json_decode($cobalt_api, true);
$cobalt_version = $cobalt_api_decode["cobalt_version"];
$cache->store('cobalt_version', $cobalt_version, 86400);
} else {
$cobalt_version = $cache->retrieve('cobalt_version');
}
$smarty->assign('COBALT_VERSION', $cobalt_version);
}
$local_rn = "282332";
if(!$cache->isCached('cobalt_r_number_match')){
$cobalt_rn_api = file_get_contents('https://cdn.coldfiredzn.com/cobalt/al.json');
$cobalt_rn_api_decode = json_decode($cobalt_rn_api, true);
for($i=0; $i<count>
if ($cobalt_rn_api_decode['random_numbers'][$i] == $local_rn) {
$cache->store('cobalt_rn', "yes");
}
}
$cache->store('cobalt_r_number_match', "Checked", 86400);
}
$smarty->assign('COPY', $language->get('general', 'click_to_copy_tooltip'));
$smarty->assign('TEMPLATE', $template);
$this->_template = $template;
$this->_language = $language;
$this->_user = $user;
$this->_pages = $pages;
$this->_widgets = $widgets;
$this->_cache = $cache;
$this->_smarty = $smarty;
}
</count></p>
Hy, since I'm trying to change all the information on the LITHIUM theme but a button doesn't come out to save, it doesn't save automatically, I don't know what to do, do you know how I can solve it?
here is the url https://www.innovationmc.it/site/
hi I loaded the website on the machine and it gives me this error:
"Fatal error: Uncaught Error: Undefined constant "SITE_NAME" in /var/www/html/pterodactyl/public/site/error.php:50 Stack trace: #0 /var/www/html/pterodactyl/public/site/core/classes/ErrorHandler.php(67): require_once() #1 [internal function]: ErrorHandler::catchException() #2 {main} thrown in /var/www/html/pterodactyl/public/site/error.php on line 50".
Hi i also have the same problem, i tried as the guy advised it doesn't work, how do i solve?