I can't access the count function like PHP 7.1 in PHP 7.2 I need PHP 7.2, but the count function works in older versions of PHP count().
if(count($variable) > 0) {
// some code you need
}
"message": "count(): Parameter must be an array or an object that implements Countable"
'. $Query); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); return ( !empty($result) ? $result : FALSE); } catch( \PDOException $e ) { $this->loadLogType('ERROR_LOG',$Query ); $this->showExceptionAlert($e->getMessage(),$e->getCode(),$Query); die(); } break; – Gurumoorthy Dhanabal Sep 25 '19 at 08:03