Exception: Error: Got a packet bigger than 'max_allowed_packet' bytes 

Query: in /home/zwemkleding_nl/application/framework/database.php:34 Stack trace: #0 /home/zwemkleding_nl/application/models/productbeheer.php(329): database->query('select count(*)...') #1 /home/zwemkleding_nl/application/controllers/categorie/products.php(252): productbeheer->getProducten2(Array) #2 /home/zwemkleding_nl/application/controllers/categorie/products.php(79): Controller_Categorie_Products->loadProducts() #3 /home/zwemkleding_nl/application/controllers/categorie/products.php(12): Controller_Categorie_Products->index(Array) #4 /home/zwemkleding_nl/application/framework/core.php(189): Controller_Categorie_Products->init(Array) #5 /home/zwemkleding_nl/application/controllers/categorie/main.php(31): Core::loadController('categorie/produ...', Array) #6 /home/zwemkleding_nl/application/framework/core.php(189): Controller_Categorie_Main->init(Array) #7 /home/zwemkleding_nl/application/controllers/frontend.php(248): Core::loadController('categorie/main', Array) #8 /home/zwemkleding_nl/application/bootstrap.php(46): include('/home/zwemkledi...') #9 /home/zwemkleding_nl/public_html/index.php(135): require('/home/zwemkledi...') #10 {main}