Support » Plugin: AdRotate Banner Manager » Database error 3.8.1 -> no ads

  • There is an error in the adrotate-fonctions.php, some fields are not found line 305 on the request :

    $ad = $wpdb->get_row($wpdb->prepare(“SELECT id, bannercode, tracker, link, imagetype, image, cbudget, ibudget, crate, irate FROM “.$wpdb->prefix.”adrotate WHERE id = %d;”, $ad_id));

    Easiest way found and working for me : replace the list of fields (not found like cbudget, ibudget & crate) per :

    $ad = $wpdb->get_row($wpdb->prepare(“SELECT * FROM “.$wpdb->prefix.”adrotate WHERE id = %d;”, $ad_id));

    Easy 🙂

  • The topic ‘Database error 3.8.1 -> no ads’ is closed to new replies.