asked 10 months ago

I am trying to install the free version of the plugin on the website, but it shows me an error when I try to activate it. Can you please let me know what should I do? Thanks!
This is the error I see: 
Fatal error: Uncaught Error: Undefined constant “DWKB_CAT_THUMB” in /home/ Stack trace: #0 /home/ require_once() #1 /home/ include_once(‘/home/…’) #2 /home/ plugin_sandbox_scrape() #3 {main} thrown in /home/ on line 118

1 Answers
answered 10 months ago

You can open the settings.php file and replace this code with the following code: 

define('DWKB_CAT_THUMB', 'on'); // Define the constant with a valid value
if ('on' == DWKB_CAT_THUMB) {
    if (!file_exists(DWKB_DIR . '/inc/cmb2-taxonomy/init.php')) {
    require_once DWKB_DIR . '/inc/cmb2-taxonomy/init.php';
    add_filter('cmb2-taxonomy_meta_boxes', 'cmb2_dwkb_taxonomy_metaboxes');
Powered by DW Question & Answer Pro