WordPress database error: [Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'vertel_blog.wp_posts.post_date' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by]
SELECT DISTINCT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts FROM wp_posts WHERE post_date < '2021-01-20 14:57:16' AND post_date != '0000-00-00 00:00:00' AND post_status = 'publish' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC

Clustered behaviours bad for debugging

Posted by Michael on February 27th, 2009, in Development

Debugging “compound” behaviours like “Do Now” and “Do With Object” is turning out to be a bit of a nightmare. Fixing one thing for one specific behaviour often causes errors in another specific behaviour. Errors that sometimes take a long time to be discovered.

Instead of making these huge behaviours with lots of switches for specific elements, it would be better to put shared elements into separate modules (like “Go To Target” already is, e.g.) and still make unique systems for each behaviour. Or perhaps a more object oriented approach would work.

No comments yet.

Leave a comment

You must be logged in to post a comment.