These are there errors i am getting from the error log for wordpress
[28-Jun-2013 11:18:38 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_where() expected to be a reference, value given in /home/djroouk1/public_html/wp-includes/plugin.php on line 230
[28-Jun-2013 11:18:38 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_join() expected to be a reference, value given in /home/djroouk1/public_html/wp-includes/plugin.php on line 230
[28-Jun-2013 11:18:38 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_groupby() expected to be a reference, value given in /home/djroouk1/public_html/wp-includes/plugin.php on line 230
[28-Jun-2013 11:18:38 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_orderby() expected to be a reference, value given in /home/djroouk1/public_html/wp-includes/plugin.php on line 230
[28-Jun-2013 11:18:38 UTC] PHP Warning: Parameter 1 to ec3_filter_posts_fields() expected to be a reference, value given in /home/djroouk1/public_html/wp-includes/plugin.php on line 230
[28-Jun-2013 11:18:38 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘FROM wp_posts WHERE 1=1’ at line 1 for query SELECT FROM wp_posts WHERE 1=1 made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
Can anyone tell me how i fix this this has been happening from June last year until now? If php or Mysql has been upgraded would this cause the issue?
Thanks
Rockyuk