WordPress.org

Ready to get started?Download WordPress

Forums

WP Bannerize
PHP Fatal error: Call to a member function bannerize (9 posts)

  1. andreatarget
    Member
    Posted 1 year ago #

    Hello,
    I have a problem with the plugin WP-Bannerize.
    I found an error in the error_log file of my WordPress installation.
    The error is repeated multiple times for multiple rows.
    the error is as follows: "[21-Aug-2012 10:07:30 UTC] PHP Fatal error: Call to a member function bannerize () on a non-object in on line 64 "

    I currently use WordPress 3.4.1 with the 3.0.62 version of wp-bannerize

    I look forward to your help

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

  2. stode
    Member
    Posted 1 year ago #

    How have you called the function in your theme? I suspect your issue is there.

  3. stode
    Member
    Posted 1 year ago #

    Do you have something like this:

    <?php if(function_exists( 'wp_bannerize' ))
    			wp_bannerize();
    			?>
  4. andreatarget
    Member
    Posted 1 year ago #

    Where could I find that string of code?
    Inside the function.php file of my theme?

  5. stode
    Member
    Posted 1 year ago #

    No it's not in your theme files yet. You find that code when you go into your Dashboard and select WP Bannerize>Tools. You use this code to display the banners in your theme files eg. twentyeleven/page.php.

    Do you follow?

  6. andreatarget
    Member
    Posted 1 year ago #

    Ok I get it.
    I tried to remove the code string from a php file of the theme.
    I have to check if the error log file I still noticed problems.
    I'll keep you updated.
    thank you very much

  7. stode
    Member
    Posted 1 year ago #

    Did you resolve you issue?

  8. andreatarget
    Member
    Posted 1 year ago #

    Hello,
    I tried to remove the line of code from the file header.php.
    Sembravaa the problem solved.
    I checked the error log file this morning, but I found again the error PHP fatal error repeated several times.
    I do not know what to do.

  9. stode
    Member
    Posted 1 year ago #

    Did you check the time stamps of those errors? It sounds strange the you see the Fatal Error only in log files. Don't you see it in any page you open.

    The function is named wp_bannerize();. How come you have bannerize in it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic