WordPress.org

Ready to get started?Download WordPress

Forums

WP Bannerize
PHP Fatal error (4 posts)

  1. Ayman
    Member
    Posted 1 year ago #

    Hello,

    I just noticed that the plugin is giving a PHP fatal error in the error log...
    This is the error that is giving:

    PHP Fatal error: Call to a member function bannerize() on a non-object in /home/mydomain/public_html/wp-content/plugins/wp-bannerize/Classes/wpBannerizeWidget.php on line 64

    I'm using version 3.0.62 with WordPress 3.4.1

    Any way to solve this?

    Thank you

    http://wordpress.org/extend/plugins/wp-bannerize/

  2. mazza
    Member
    Posted 1 year ago #

    me too, only wiht default browser of android 4.1 and dolphin hd

  3. rpierin
    Member
    Posted 1 year ago #

    The error log is giving
    PHP Fatal error: Call to a member function bannerize() on a non-object in /home/projseg/public_html/blog/wp-content/plugins/wp-bannerize/Classes/wpBannerizeWidget.php on line 64, referer: http://blog/wp-admin/customize.php
    I am using version 3.0.62 with WordPress 3.5.1

  4. Rafael Tovar
    Member
    Posted 1 year ago #

    me too. In default browser of Android 4.2.2.

    A temporal fix is add a change in the line 64 of wp-bannerize/Classes/wpBannerizeWidget.php

    function widget( $args, $instance ) {
        global $wpBannerizeFrontend;
        $new_args = array_merge( $args, $instance );
        if (isset($wpBannerizeFrontend)) // add this line
            echo $wpBannerizeFrontend->bannerize( $new_args );
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic