• Resolved Drivingralle

    (@drivingralle)


    Moin!

    Within a client website with a lot of old ads that have been moved over from v1 to v2 we now have a huge amount of log entries: Warning: Trying to access on array on offset on null in Advanced_Ads_Display_Conditions::check_post_ids at 1107

    Trying to find the ad that makes the problem, I find the same ad to work and on some pages not.

    I have added a check for if null and return a false to prevent the error in the live website. No missing ads because of it.

    As the plugin also checks for other problems later in that method may be an extra check before accessing the value would be good.

    Greetings
    derRALF

Viewing 1 replies (of 1 total)
  • Plugin Support ahmeddr

    (@ahmeddr)

    Hello @drivingralle ,

    Thank you for your feedback!

    We’ll make sure to take care of this on our end in future updates. Appreciate you looking into it and letting us know!

    If I need any additional information, I’ll reach out again, if that’s okay with you

    Have a nice weekend!

Viewing 1 replies (of 1 total)

The topic ‘Trying to access on array on offset on null’ is closed to new replies.