Re: TinyPortal for Elkarte
Reply #48 –
if (!function_exists('is_countable')) {
function is_countable($var) {
return ( is_array($var) || $var instanceof Countable || $var instanceof \SimpleXMLElement || $var instanceof \ResourceBundle; );
}
}
Adding that to the bottom of TPortal.php should solve the undefined issue