Trying to access on array on offset on null
-
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)