You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied code from on server to another and realized the db for ad positions was outta synch. It'd be great to have better error handling in cases like this.
Fatal error: Call to a member function get_position() on a non-object in
plugins/dfp-ads/includes/DFP_Ads.php on line 304
The text was updated successfully, but these errors were encountered:
I'll look into that. It looks like a simple change to that particular function. The function it's calling (to get the ad position object) returns false when it is unable to locate it. That false value is not dealt with correctly.
I copied code from on server to another and realized the db for ad positions was outta synch. It'd be great to have better error handling in cases like this.
Fatal error: Call to a member function get_position() on a non-object in
plugins/dfp-ads/includes/DFP_Ads.php on line 304
The text was updated successfully, but these errors were encountered: