Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ll try again, the error is in adrotate/dashboard/publisher/groups-edit.php

    there are four missing database fields, woo_cat, woo_loc, bbpress, bbpress_loc in table adrotate_groups

    as a fix you can either add the fields to the table manually, woo_cat and bbpress are string fields, the loc fields are numeric, or just comment out the lines in the php sql query – line 16.

    I chose to comment out, rather than update the table for when the developers fix the fault, commenting out the error line would be least impactful.

    My new php code looks like this –

    $wpdb->insert($wpdb->prefix.’adrotate_groups’, array(‘name’ => ”, ‘modus’ => 0, ‘swap’ => 0, ‘fallback’ => ‘0’, ‘cat’ => ”, ‘cat_loc’ => 0, ‘cat_par’ => 0, ‘page’ => ”, ‘page_loc’ => 0, ‘page_par’ => 0 /*, ‘woo_cat’ => ” , ‘woo_loc’ => 0, ‘bbpress’ => ”, ‘bbpress_loc’ => 0 */ , ‘mobile’ => 0, ‘geo’ => 0, ‘wrapper_before’ => ”, ‘wrapper_after’ => ”, ‘gridrows’ => 2, ‘gridcolumns’ => 2, ‘admargin’ => 0, ‘admargin_bottom’ => 0, ‘admargin_left’ => 0, ‘admargin_right’ => 0, ‘adwidth’ => ‘728’, ‘adheight’ => ’90’, ‘adspeed’ => 6000, ‘repeat_impressions’ => ‘Y’));

    part in bold is the commented section.

    I found the fix and the fault – but mods keep deleting my posts

Viewing 2 replies - 1 through 2 (of 2 total)