layout tibia.com problem

Dorianek

Member
Joined
Nov 29, 2018
Messages
114
Reaction score
3
Code:
<?PHP
if(count($config['site']['worlds']) > 1)
$whoisonlineworld = '?subtopic=whoisonline';
else
$whoisonlineworld = '?subtopic=whoisonline&world=0';
?>
<div id="PlayersOnline" onClick="window.location='<?PHP echo "$whoisonlineworld"; ?>'">
          <?PHP
36908
 
OP
D

Dorianek

Member
Joined
Nov 29, 2018
Messages
114
Reaction score
3
the message says that: layout.php

above I pasted a script in which something is wrong

When I press the visible Get Premium in a circle, the page directs me to the list of online players

only happens if you click something other than a normal home, eg if I come to the website, everything is ok. and if I enter the Account or forum, support, then something like that is displayed on the right side
 
OP
D

Dorianek

Member
Joined
Nov 29, 2018
Messages
114
Reaction score
3
Code:
Warning. count():Parameter must be an array or an object chat implements Countable in layout.php on line 694
layout.php
 
OP
D

Dorianek

Member
Joined
Nov 29, 2018
Messages
114
Reaction score
3
yes I have empty but I do not know what to write?
Code:
($ config ['site'] ['worlds']
 
Last edited:
Top