Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/alennuskoodit/public/alennustutka.fi/lib/haeTuoteFeed.php:207
Stack trace:
#0 /home/alennuskoodit/public/alennustutka.fi/lib/haeTuoteFeed.php(1800): luoJaTallennaTuoteFeed('https://api.tra...', '084b6fbb10729ed...', Object(mysqli), 'tradedoubler', '0')
#1 /home/alennuskoodit/public/alennustutka.fi/pages/tarjous.php(409): include('/home/alennusko...')
#2 /home/alennuskoodit/public/alennustutka.fi/index.php(1392): include('/home/alennusko...')
#3 {main}
thrown in
/home/alennuskoodit/public/alennustutka.fi/lib/haeTuoteFeed.php on line
207