Results 1 to 1 of 1

Thread: PHP errors notices and database errors

  1. #1
    Thread Starter
    Expired Customer pedro28's Avatar
    Join Date
    Nov 2016
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Various Errors
    By ashclassifieds in forum Report ClassiPress Bugs
    Replies: 14
    Last Post: January 23rd, 2017, 06:17 AM
  2. Jomark Duplicated notices/errors
    By seolution in forum Report JobRoller Bugs
    Replies: 1
    Last Post: June 6th, 2014, 12:42 PM
  3. errors in my add
    By alex71 in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: July 30th, 2012, 05:08 AM
  4. 404 errors
    By an_roks in forum ClassiPress General Discussion
    Replies: 3
    Last Post: November 27th, 2010, 09:31 AM