how to fix it?!
Strict Standards: Redefining already defined constructor for class WPBannerizeWidget in /home/user/.../wp-content/plugins/wp-bannerize/Classes/wpBannerizeWidget.php on line 27
Strict Standards: Redefining already defined constructor for class WPBannerizeAdmin in /home/user/.../wp/wp-content/plugins/wp-bannerize/Classes/wpBannerizeAdmin.php on line 62
Notice: The called constructor method for WP_Widget in WPBannerizeWidget is deprecated since version 4.3.0! Use
@unique2world this release is not supported anymore. Please, update to pro version.
The plugin incorrectly assumes that presence of X-Requested-With header implies AJAX request – which is not true. To fix the error replace the line 22 in main.php:
if ( @isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) ) {
with
if ( @isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {