WordPress.org

Ready to get started?Download WordPress

Forums

AdRotate
Database error 3.8.1 -> no ads (1 post)

  1. LaurentGh
    Member
    Posted 1 year ago #

    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 :)

    http://wordpress.org/extend/plugins/adrotate/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.