• Resolved Mr uniQue

    (@unique2world)


    [STDERR] PHP Fatal error: Call to a member function bannerize() on null in /home/username/domains/sitename.com/public_html/wp-content/plugins/wp-bannerize/Classes/wpBannerizeWidget.php on line 64

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mr uniQue

    (@unique2world)

    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
    Plugin Author gfazioli

    (@gfazioli)

    @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') {

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.