DB Tables are not created
When i install (and reinstall attempts) Anspress latest, the two db tables are not created for some reason. No matter what. No errors in installing and activating the plugin, but after that error appear in the dashobard like:
[01-Dec-2014 22:35:33 UTC] WordPress database error Table 'myplana_domain.wp_ap_meta' doesn't exist for query SELECT *, UNIX_TIMESTAMP(apmeta_date) as unix_date FROM wp_ap_meta where 1=1 AND apmeta_type = 'parti' AND apmeta_actionid = '6762' GROUP BY apmeta_userid LIMIT 5 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/iconic-one-mod/page-templates/full-width.php'), get_template_part, locate_template, load_template, require('/themes/iconic-one-mod/content-page.php'), the_content, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, AP_BasePage->ap_base_page_sc, include('/plugins/anspress-question-answer/theme/default/question.php'), ap_get_all_parti, ap_get_parti, ap_get_all_meta
I use WP 4.0.1 and Anspress latest. Under Cloudlinux and LiteSpeed. My website has 22 plugins, all working great, not a single problem. I have changed Theme also, no luck. This is a problem of Anspress.
Thanks
Simply open anspress.php, and change this:
define('AP_DB_VERSION', '10');
to
define('AP_DB_VERSION', '0');
and then deactivate anspress and again activate.
no need 😉
That worked great. I guess i should change back the version to 10 after fixed ?