WordPress.org

Ready to get started?Download WordPress

Forums

AdRotate
Still seeing warning and notices with 3.8.1 (3 posts)

  1. definitio
    Member
    Posted 1 year ago #

    I have upgraded to v3.8.1 and I am still seeing some debug warnings and notices.

    After installing Adrotate update I got this notice
    Notice: Undefined index: banner_folder in /wp-content/plugins/adrotate/adrotate-functions.php on line 489

    When navigating to Adrotate menu item I saw this database error

    WordPress database error: [Table '_adrotate_stats' doesn't exist]
    SELECT <code>thetime</code>, SUM(<code>clicks</code>) as <code>clicks</code>, SUM(<code>impressions</code>) as <code>impressions</code> FROM <code>_adrotate_stats</code> GROUP BY <code>thetime</code> DESC LIMIT 5;
    No data to show!

    When navigating to "Manage Ads" I got the following debug notices

    Notice: Undefined variable: errorbanners in /wp-content/plugins/adrotate/adrotate.php on line 296
    Notice: Undefined variable: activebanners in /wp-content/plugins/adrotate/dashboard/publisher/adrotate-ads-main.php on line 40
    Notice: Undefined variable: disabledbanners in /wp-content/plugins/adrotate/adrotate.php on line 303

    After navigating to settings and saving, I got these warnings:

    Notice: Undefined index: adrotate_advertiser in /wp-content/plugins/adrotate/adrotate-manage-publisher.php on line 615
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Notice: Undefined index: adrotate_global_report in /wp-content/plugins/adrotate/adrotate-manage-publisher.php on line 616
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/adrotate/adrotate-functions.php on line 524
    
    Notice: Undefined index: adrotate_advertiser in /wp-content/plugins/adrotate/adrotate-manage-publisher.php on line 623
    
    Notice: Undefined index: adrotate_global_report in /wp-content/plugins/adrotate/adrotate-manage-publisher.php on line 624
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/adrotate/adrotate-manage-publisher.php:615)

    I am also getting the following debug notices on the frontend

    Notice: Undefined index: moderate in /wp-content/plugins/adrotate/adrotate-functions.php on line 486
    
    Notice: Undefined index: moderate_approve in /wp-content/plugins/adrotate/adrotate-functions.php on line 487

    Too many debug warnings and notices in too many places...I hope these will be fixed, cause Adrotate has some unique features, but I am getting kind of uncomforable, I have to say.
    Uncomfortable by lack of knowledge of what all these reports actually mean to a large extent.

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

  2. macemmek
    Member
    Posted 1 year ago #

    Hello, I'm also suffering after update. I'm trying to display ad group with shortcode. The output is:

    Notice: Undefined variable: banner_id in /.../wp-content/plugins/adrotate/adrotate-functions.php on line 23 Notice: Undefined variable: banner_id in /.../wp-content/plugins/adrotate/adrotate-functions.php on line 26 Notice: Undefined variable: block_id in /.../wp-content/plugins/adrotate/adrotate-functions.php on line 26 Notice: Undefined variable: fallback in /.../wp-content/plugins/adrotate/adrotate-functions.php on line 27 Notice: Undefined variable: weight in /.../wp-content/plugins/adrotate/adrotate-functions.php on line 27

  3. macemmek
    Member
    Posted 1 year ago #

    For me it's resolved after 3.8.2 update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic