PHP errors notices and database errors
Hi Dale
Your plugin is producing the following PHP errors notices and database errors. We are aware some of these are just notices, but our debug.log file is growing on a daily basis. Can you provide a fix please.
We are using the latest version 1.2.1 of your plugin with the latest Dev build of CP and
WP v4.8
Thanks
PHP Notice: Trying to get property of non-object in /home/portoofer/public_html/classificados/
wp-content/plugins/cp-user-feedback-and-search/create-new-template.php on line 64
PHP Notice: Trying to get property of non-object in /home/portoofer/public_html/classificados/
wp-content/plugins/cp-user-feedback-and-search/cp-user-feedback-and-search.php on line 171
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 'AND cp_feedback_show = 1' at line 1 for query SELECT COUNT(*) FROM wp_cp_user_feedback WHERE cp_feedback_to_id = AND cp_feedback_show = 1 made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/portooferta/wrapper.php'), load_template, require_once('/themes/portooferta/404.php'), get_sidebar, locate_template, load_template, require_once('/themes/portooferta/sidebar.php'), portothemes_before_sidebar_widgets, do_action('portothemes_before_sidebar_widgets'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, cp_feedback_summary, cp_feedback_count
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 'AND cp_feedback_show = 1' at line 1 for query SELECT SUM(cp_user_rating) AS total FROM wp_cp_user_feedback WHERE cp_feedback_to_id = AND cp_feedback_show = 1 made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/portooferta/wrapper.php'), load_template, require_once('/themes/portooferta/404.php'), get_sidebar, locate_template, load_template, require_once('/themes/portooferta/sidebar.php'), portothemes_before_sidebar_widgets, do_action('portothemes_before_sidebar_widgets'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, cp_feedback_summary, cp_show_star_rating
PHP Notice: Trying to get property of non-object in /home/portoofer/public_html/classificados/
wp-content/plugins/cp-user-feedback-and-search/cp-user-feedback-and-search.php on line 213
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 'AND cp_feedback_show = 1' at line 1 for query SELECT COUNT(*) FROM wp_cp_user_feedback WHERE cp_feedback_to_id = AND cp_feedback_show = 1 made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/portooferta/wrapper.php'), load_template, require_once('/themes/portooferta/404.php'), get_sidebar, locate_template, load_template, require_once('/themes/portooferta/sidebar.php'), portothemes_before_sidebar_widgets, do_action('portothemes_before_sidebar_widgets'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, cp_user_feedback, cp_feedback_count
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 'AND cp_feedback_show = 1' at line 1 for query SELECT SUM(cp_user_rating) AS total FROM wp_cp_user_feedback WHERE cp_feedback_to_id = AND cp_feedback_show = 1 made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/portooferta/wrapper.php'), load_template, require_once('/themes/portooferta/404.php'), get_sidebar, locate_template, load_template, require_once('/themes/portooferta/sidebar.php'), portothemes_before_sidebar_widgets, do_action('portothemes_before_sidebar_widgets'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, cp_user_feedback, cp_show_star_rating
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 'ORDER BY cp_feedback_time DESC
LIMIT 0, 10' at line 4 for query SELECT *
FROM wp_cp_user_feedback
WHERE cp_feedback_to_id =
ORDER BY cp_feedback_time DESC
LIMIT 0, 10
made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/portooferta/wrapper.php'), load_template, require_once('/themes/portooferta/404.php'), get_sidebar, locate_template, load_template, require_once('/themes/portooferta/sidebar.php'), portothemes_before_sidebar_widgets, do_action('portothemes_before_sidebar_widgets'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, cp_user_feedback, cp_feedback_history