So my Error log is almost 220MB and I’ve only had the site for 3 months.
It is constantly throwing this error. Can you tell me how to fix this?
[05-Nov-2016 14:44:36 UTC] WordPress database error Unknown column ‘main_search’ in ‘where clause’ for query SELECT * FROM 3b2_geodir_custom_advance_search_fields WHERE post_type = ‘gd_gd_physio’ AND main_search=1 ORDER BY sort_order made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/geodirectory/geodirectory-templates/listing-detail.php’), do_action(‘geodir_detail_sidebar’), call_user_func_array, geodir_action_details_sidebar, do_action(‘geodir_detail_sidebar_inside’), call_user_func_array, geodir_details_sidebar_widget_area, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, geodir_advance_search_widget->widget, geodir_get_template_part, include(‘/plugins/geodirectory/geodirectory-templates/listing-filter-form.php’), do_action(‘geodir_before_search_form’), call_user_func_array, geodir_search_add_to_main
[05-Nov-2016 14:44:36 UTC] WordPress database error Unknown column ‘main_search’ in ‘where clause’ for query SELECT count(id) as rows FROM 3b2_geodir_custom_advance_search_fields where post_type= ‘gd_gd_physio’ AND main_search!=’1′ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/geodirectory/geodirectory-templates/listing-detail.php’), do_action(‘geodir_detail_sidebar’), call_user_func_array, geodir_action_details_sidebar, do_action(‘geodir_detail_sidebar_inside’), call_user_func_array, geodir_details_sidebar_widget_area, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, geodir_advance_search_widget->widget, geodir_get_template_part, include(‘/plugins/geodirectory/geodirectory-templates/listing-filter-form.php’), do_action(‘geodir_after_search_button’), call_user_func_array, geodir_advance_search_button