Support » Plugin: AdRotate » After upgrading to 3.8.1

  • Resolved chocks

    (@chocks)


    Hi Arnan, thanks for the effort! After upgrading I got these errors, any clue what could they be?

    Warning: shuffle() expects parameter 1 to be array, integer given in C:\xampp\htdocs\wp-content\plugins\adrotate\adrotate-output.php on line 268
    
    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp-content\plugins\adrotate\adrotate-output.php on line 302
    
    Warning: shuffle() expects parameter 1 to be array, integer given in C:\xampp\htdocs\wp-content\plugins\adrotate\adrotate-output.php on line 268
    
    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp-content\plugins\adrotate\adrotate-output.php on line 302

    On a different topic: does the max impressions functionality get trimmed on the new version?

    Thanks

    Joaquin

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

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    What did you do to get this error? Any reproduction steps?

    Max impressions is not limited in any way.

    I got it after network activate (wp ms). To see if I could get it running again I enabled on a per site basis and still got me that error. May be because it’s Xampp running it?

    I am getting the same error with a live site. I had an ad block that was working fine before the update, but since 3.8 has not functioned:

    Warning: shuffle() expects parameter 1 to be array, integer given in /*url removed*/wp-content/plugins/adrotate/adrotate-output.php on line 268

    Warning: Invalid argument supplied for foreach() in /*url removed*/wp-content/plugins/adrotate/adrotate-output.php on line 302

    Also, my stats are still not displaying. I haven’t cross referenced the database, so I don’t know if the data was removed entirely or just not showing. Since updating to 3.8 yesterday, it has not added any stats although the ads have definitely been seen.

    Since this thread is about “After upgrading to 3.8.1” I thought I’d write this here rather than start a whole new thread.

    So, not quite sure if this is a feature or a bug, but after 3.8.1 any new ad I create the schedule date is automatically set to the year 1970! In earlier versions the date was automatically set to the current day/month from the current year.

    Would like some clarification from the dev if possible.
    Thanks.

    I have also noticed that any chane I do to my blocks or ads or groups are not saved.

    I’ve seen the message at the top also where my block used to be.

    I’m so sorry this plug in is not working… I used to love it.

    I went back to version 3.7.4.3 and everything is working fine, as it was before updating.

    As per my previous post regarding the default initial date of any new ad being set to 1970, this bug seems to have been squashed now with the latest 3.8.2 update. Everything is working fine now.

    Kudos, dev!

    Plugin Author Arnan de Gans

    (@adegans)

    hi I have a different problem.

    there’s are a bunch of anonymous users being added to my site. they are just adding on automatically with no email addresses and names like _01fO1Cr1

    anyone having a similar problem?

    Plugin Author Arnan de Gans

    (@adegans)

    Get a spam filter.

    And please don’t post in topics that have nothing to do with your question.

    Upgraded to 3.9

    The ads disappeared and shows ‘unable to select schedule from WP_….’

    Refreshed the site and now this error disappeared but now no ads are being shown. Please advise

    Edit: Tried clicking on the ‘Optimized Database’ and ‘Clean up database’ I see these errors in my WP-admin

    Warning: array_diff() [function.array-diff]: Argument #2 is not an array in /home/mydomain/public_html/wp-content/plugins/adrotate/adrotate-setup.php on line 732
    
    Warning: Invalid argument supplied for foreach() in /home/mydomain/public_html/wp-content/plugins/adrotate/adrotate-setup.php on line 733
    Plugin Author Arnan de Gans

    (@adegans)

    Hmm, that’s actually a little bug in the clean up routine – I’ll fix that for the next version.

    As for your ads not showing, there should be a (few?) errors in the error_log of your server. That should tell you what’s what.

    Managed to capture the error.

    This is what is being displayed instead of the ads.

    WordPress database error: [Unknown column ‘schedule’ in ‘where clause’]
    SELECT wp_adrotate_schedule.id, starttime, stoptime, maxclicks, maximpressions FROM wp_adrotate_schedule, wp_adrotate_linkmeta WHERE schedule = wp_adrotate_schedule.id AND ad = ’36’ ORDER BY starttime ASC LIMIT 1;

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘After upgrading to 3.8.1’ is closed to new replies.