ticker: Abb N
sql: SELECT type,username,uid,amount,price,time
FROM proinvestor_userportfolios
JOIN proinvestor_trades using(portfolioid)
JOIN proinvestor_profiles USING (uid)
JOIN proinvestor_stocks_xignite USING (stockid)
WHERE active=2
AND proinvestor_stocks_xignite.ticker='Abb N'
ORDER BY tradeid DESC
LIMIT 3
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/proinvestor/public_html/lib/classes/CompanyProfile.Class.php:33
Stack trace:
#0 /home/proinvestor/public_html/subs/stock_new.php(199): CompanyProfile->lastTrades()
#1 /home/proinvestor/public_html/index.php(1076): include_once('...')
#2 {main}
thrown in /home/proinvestor/public_html/lib/classes/CompanyProfile.Class.php on line 33