Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'zuronleatherecom.procat.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by. SELECT procat.main, procat.id FROM products
LEFT JOIN procat ON products.category = procat.id WHERE procat.position != 0
GROUP BY procat.main
ORDER BY SUM(products.views) DESC
LIMIT 6 Fatal error: Uncaught TypeError: Return value of _ilmComm\Category\TrendingCategories::fetchTrending() must be an object, bool returned in /home/zuronleather/htdocs/zuronleather.com/doc/main/Category/TrendingCategories.php:42
Stack trace:
#0 /home/zuronleather/htdocs/zuronleather.com/public/home.php(79): _ilmComm\Category\TrendingCategories->fetchTrending()
#1 /home/zuronleather/htdocs/zuronleather.com/doc/main/Views.php(81): include('/home/zuronleat...')
#2 /home/zuronleather/htdocs/zuronleather.com/doc/main/Controller/Index.php(43): _ilmComm\Views->renderContent()
#3 /home/zuronleather/htdocs/zuronleather.com/doc/main/Router.php(105): _ilmComm\Controller\Index->init()
#4 /home/zuronleather/htdocs/zuronleather.com/doc/main/Router.php(50): _ilmComm\Router->get('~^/(\\?.*)?$~', Array)
#5 /home/zuronleather/htdocs/zuronleather.com/doc/main/PageModels/Layouts/Headers.php(25): _ilmComm\Router->process()
#6 /home/zuronleather/htdocs/zuronleather.com/doc/main/Controller/PageHeader.php(32): _ilmComm\PageModels\Layouts\Headers->h in /home/zuronleather/htdocs/zuronleather.com/doc/main/Category/TrendingCategories.php on line 42