PHP Warning!
-
hello there! After updating to 3.11.4 i get 2 php warnings!
1) PHP Warning: explode() expects parameter 2 to be string, array given in /var/www/vhosts/website/httpdocs/wp-content/plugins/adrotate-pro/adrotate-cookie.php on line 72
2) PHP Warning: explode() expects parameter 2 to be string, array given in /var/www/vhosts/website/httpdocs/wp-content/plugins/adrotate-pro/adrotate-cookie.php on line 73
Line 72: $timer = explode(',', adrotate_get_cookie('track', $banner->id));
i think it must be something like:
Line 72: $timer = explode(',', (string) adrotate_get_cookie('track', $banner->id));
Line 73: $impression_timer = $now - $adrotate_config['impression_timer'];
- The topic ‘PHP Warning!’ is closed to new replies.