Hello everyone, sorry, I have a problem when generating a pdf since I get an error, I do not know who could help me
Warning: count(): Parameter must be an array or an object that
implements Countable in C:\xampp\htdocs\simple-invoice-master\pdf\_class
\locale.class.php on line 68
Warning: count(): Parameter must be an array or an object that implements
Countable in C:\xampp\htdocs\simple-invoice-master\pdf\_class
\locale.class.php on line 68
TCPDF ERROR: Some data has already been output, can't send PDF file
I would be very grateful if someone could give me some clue as to what is involved in clearing the line 68 that is shown in the error is this
if (count($line)!=2) continue;
self::$_list[trim($line[0])] = trim($line[1]);
}
Apart from if it is when the problem starts,