Notice: Only variable references should be returned by reference in /home/stpetewa/public_html/includes/class/Theme.php on line 328

Notice: Only variable references should be returned by reference in /home/stpetewa/public_html/includes/class/Config.php on line 112

Notice: Only variable references should be returned by reference in /home/stpetewa/public_html/includes/controller/Main.php on line 856

Notice: Only variable references should be returned by reference in /home/stpetewa/public_html/includes/class/Route.php on line 232
Chyrp: Database Error

Database Error

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'stpetewa_chyr557.chy_categorize.clean' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT chy_categorize.name,chy_categorize.clean,chy_categorize.show_on_home,count(chy_categorize.id) AS total, concat('http://www.stpetewaterdamage.com/category/',chy_categorize.clean) AS url
FROM chy_categorize,
     chy_post_attributes,
     chy_posts
WHERE (chy_post_attributes.post_id = chy_posts.id)
  AND (chy_post_attributes.name = 'category_id')
  AND (chy_post_attributes.value = chy_categorize.id)
GROUP BY chy_categorize.name
ORDER BY name ASC


Array
(
    [:url] => http://www.stpetewaterdamage.com/category/
)
#0 /home/stpetewa/public_html/includes/class/SQL.php(220): Query->__construct(Object(SQL), 'SELECT chy_cate...', Array, false)
#1 /home/stpetewa/public_html/includes/class/SQL.php(257): SQL->query('SELECT __catego...', Array, false)
#2 /home/stpetewa/public_html/modules/categorize/model.category.php(34): SQL->select(Array, '__categorize.na...', Array, '`name` ASC', Array, NULL, NULL, '__categorize.na...')
#3 /home/stpetewa/public_html/modules/categorize/categorize.php(110): Category::getCategoryList()
#4 [internal function]: Categorize->main_context(Array)
#5 /home/stpetewa/public_html/includes/class/Trigger.php(119): call_user_func_array(Array, Array)
#6 [internal function]: Trigger->filter(Array, 'main_context')
#7 /home/stpetewa/public_html/includes/class/Trigger.php(97): call_user_func_array(Array, Array)
#8 /home/stpetewa/public_html/includes/controller/Main.php(824): Trigger->filter(Array, Array)
#9 /home/stpetewa/public_html/includes/controller/Main.php(602): MainController->display('forms/user/logi...', Array, 'Log In')
#10 [internal function]: MainController->login()
#11 /home/stpetewa/public_html/includes/class/Route.php(115): call_user_func_array(Array, Array)
#12 /home/stpetewa/public_html/index.php(22): Route->init()
#13 {main}

Notice: Only variable references should be returned by reference in /home/stpetewa/public_html/includes/model/Visitor.php on line 77

Notice: Only variable references should be returned by reference in /home/stpetewa/public_html/includes/model/Visitor.php on line 77