A Lot of Debug Errors/Notices/Warnings on new installation

Solved5.56K viewsIssues
1

[23-Mar-2016 14:37:03 UTC] PHP Notice:  Trying to get property of non-object in /home/wp-content/plugins/anspress-question-answer/includes/functions.php on line 20
[23-Mar-2016 14:37:03 UTC] PHP Notice:  Trying to get property of non-object in /home/wp-content/plugins/anspress-question-answer/includes/functions.php on line 22

 

[23-Mar-2016 14:41:24 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ” at line 1 for query UPDATE `wp_ap_activity` SET `status` = ‘publish’ WHERE  made by do_action(‘wp_ajax_ap_ajax’), AnsPress_Process_Form->ap_ajax, AnsPress_Process_Form->process_form, AnsPress_Process_Form->process_answer_form, wp_insert_post, wp_transition_post_status, do_action(‘transition_post_status’), AnsPress_Activity_Hook->change_activity_status, ap_update_activities

[23-Mar-2016 14:41:24 UTC] WordPress database error Duplicate entry ‘0’ for key ‘PRIMARY’ for query INSERT INTO `wp_ap_subscribers` (`subs_user_id`, `subs_question_id`, `subs_item_id`, `subs_activity`) VALUES (3, 1287, 1288, ‘a_all’) made by do_action(‘wp_ajax_ap_ajax’), AnsPress_Process_Form->ap_ajax, AnsPress_Process_Form->process_form, AnsPress_Process_Form->process_answer_form, wp_insert_post, do_action(‘save_post’), AnsPress_Process_Form->action_on_new_post, do_action(‘ap_processed_new_answer’), AnsPress_Hooks->after_new_answer, do_action(‘ap_after_new_answer’), AnsPress_Subscriber_Hooks->after_new_answer, ap_new_subscriber

[23-Mar-2016 14:42:10 UTC] WordPress database error Duplicate entry ‘0’ for key ‘PRIMARY’ for query INSERT INTO `wp_ap_subscribers` (`subs_user_id`, `subs_question_id`, `subs_item_id`, `subs_activity`) VALUES (3, 1287, 1287, ‘q_post’) made by do_action(‘wp_ajax_dim-comment’), wp_ajax_dim_comment, wp_set_comment_status, wp_transition_comment_status, do_action(‘comment_unapproved_to_approved’), AnsPress_Hooks->comment_approve, do_action(‘ap_publish_comment’), AnsPress_Subscriber_Hooks->after_new_comment, ap_new_subscriber

 

Not sure if the following comes from Anspress:

PHP Notice:  Undefined offset: 2 in /home/valuema/includes/plugin.php on line 1573

Thanks

selected answer

Will check this as well.

I have those everytime a new question or some other activity. What shall i do ? Continue or disable for a while the plugin ? Any dangers for the future ?

Please let me know. thanks

0

All those above seem to be fixed in the Anspress 3a1 i just installed and tested for a while.

commented on answer

Yep, most of them. Remaining issue will be fixed soon.

You are viewing 1 out of 3 answers, click here to view all answers.