Problems with Anspress 4 beta
Some errors with the 4 beta.
[01-Jan-2017 15:06:49 UTC] WordPress database error Unknown column ‘fields’ in ‘field list’ for query UPDATE `wp_ap_qameta` SET `ptype` = ‘question’, `fields` = ‘a:1:{s:19:\”unapproved_comments\”;i:0;}’ WHERE `post_id` = 105 made by do_action(‘wp_ajax_ap_ajax’), WP_Hook->do_action, WP_Hook->apply_filters, AnsPress_Process_Form->ap_ajax, do_action(‘ap_ajax_delete_comment’), WP_Hook->do_action, WP_Hook->apply_filters, AnsPress_Comment_Hooks::delete_comment, do_action(‘ap_unpublish_comment’), WP_Hook->do_action, WP_Hook->apply_filters, AnsPress_Hooks::unpublish_comment, ap_insert_qameta
_____________
[01-Jan-2017 15:06:51 UTC] PHP Notice: has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/website/wp-includes/functions.php on line 3975
______________
[01-Jan-2017 15:06:54 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘AnsPress_Views’ does not have a method ‘delete_votes’ in /home/website/wp-includes/class-wp-hook.php on line 298
Adding images to Q or A puts them in the library but there are NO thumbails when viewing the Media Library (so they are kinda of useless). While Blog Post images are ok.
Please do not consider it as bug, it was done for a purpose. I dont want wordpress to generate thumbs for publicly uploaded images. This will save some space in server.
Ok. So maybe when deleted they should also be removed totally ?
Yes, indeed.
All the above seem fixed with the latest commit. Thanks !