I’d also like to know about this.
Hello, I am wondering if this issue will even be addressed. I really like this plugin on a desktop or a tablet, but on a mobile it is not very friendly. I am having this same issue with the profiles and main members directory page. I wish that I had an answer, rather than asking a question to a question.
And more: 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` = ‘trash’ WHERE made by do_action(‘wp_ajax_ap_ajax’), AnsPress_Process_Form->ap_ajax, do_action(‘ap_ajax_permanent_delete_post’), AnsPress_Ajax->permanent_delete_post, wp_trash_post, do_action(‘wp_trash_post’), AnsPress_Hooks->trash_post_action, wp_trash_post, wp_insert_post, wp_transition_post_status, do_action(‘transition_post_status’), AnsPress_Activity_Hook->change_activity_status, ap_update_activities === PHP Notice: Trying to get property of non-object in /home/wp-content/plugins/anspress-question-answer/includes/hooks.php on line 193 PHP Notice: Trying to get property of non-object in /home/wp-content/plugins/anspress-question-answer/includes/hooks.php on line 194
I tried replacing all files with the files in the zip provided (including the build folder, which seems to be a mistake). Doesn’t appear to fix anything. Can anyone help?
Hello@Stacy , Its a bug in AnsPress. When a question or answer is published using cron then this happens. Upcoming release 3.0.0 will fix this.
Make sure you activated and added category item. If there is no category item field will be hidden from public.
Seeing this answer to an old topic, i would suggest a new feature for Anspress. Auto-close or lock the Questions after some time. OR at least display a warning to people that try to reply to an old Question, that the Question is “old”.
that will help a lot…. 🙂
Has anyone managed to fix the issue with the zip Rahul provided?
Hello Cristian, Yes that is a bug, I am pushing a fix right now.