Hi, to set the scene, I am good with html and css and the basics for php but not very good with databases. I also only understand the basics of WP structure and themes.
I have a website with a forum using 'mingle forum' and have some recurring errors in my error_log which I suspect have been caused by me doing what I THOUGHT was right! The site works but I am having speed problems.
Below is a post of the last error log. There are 9 entries being generated at the same time but I will work on one at a time. I just don't understand what it is telling me and therefore how to fix it and I also don't really know what to search for online to find the answer. Please could someone give me some ideas on the below, a decode of the error log perhaps?!
[12-Jan-2013 19:04:56] 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 '' at line 1 for query SELECT id FROM wp_forum_groups WHERE id = made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/136/forum.php'), the_content, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, mingleforum->go, mingleforum->showthread, mingleforum->forum_get_group_from_post, mingleforum->forum_get_group_id
It might also help to know ?? that I am using a theme called 136 which I have modified to suit my site. I have then set up the forum on a page which although uses the same basic theme, it has a different layout. Each of the pages on the site therefore has its own theme file i.e. using WP as a CMS. Users cannot edit the site apart from the forum.
Thanks