• kvcore-idx/kvcore-idx.php:43: define(‘KVCORE_IDX_ENABLE_AREA_PAGES’, false);
    … and that causes the plugin NOT to create the table, which in turn causes the errors.

    [05-Aug-2021 15:22:37 UTC] PHP Warning:  Invalid argument supplied for foreach() in /public_html/wp-content/plugins/kvcore-idx/includes/class-kvcore.php on line 334
    [05-Aug-2021 15:22:38 UTC] WordPress database error Table 'dbbgutn6g43bin.vwo_kvcoreidx_areas' doesn't exist for query SELECT * FROM <code>vwo_kvcoreidx_areas</code> LIMIT 0, 10 made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, kvCORE\Rest->kvCORE\{closure}, kvCORE\Rest\v1\Area_Page->callback, kvCORE\Rest\v1\Area_Page->get, kvCORE\Data_Store\Area_Page::get_list

    If the plugin is by default set to not create the table, then it should NOT make queries to such table.

The topic ‘Plugin does not create area tables and floods logs with errors’ is closed to new replies.