• When I try to use the widget, I get the following error:

    Fatal error: Call to a member function is_available() on a non-object in /home/xxx/public_html/wp-content/plugins/advertising-manager/advertising-manager.php on line 145

    I can’t get it to work. Any help would be appreciated.

Viewing 15 replies - 1 through 15 (of 38 total)
  • Desandro:

    Did you use Adsense Manager before this? The only way I can envision this error coming up is if there is old data from an earlier version of this plug-in.

    I am happy to walk through it with you if you wish. Skype me on ‘switzer’.

    Cheers,
    Scott

    Thread Starter desandro

    (@desandro)

    Hello Scott

    No, I don’t think so.
    But it runs the Author Advertising 1.5 Plugin.

    Is the problem perhaps the number of ad places? Is it like that, how I could repair this?

    Thanks for your help!

    desandro:

    There should be no problems with the number of ad places, or conflicts with the Author Advertising plugin.

    The only thing I can think of is if you have more than 3 Google Adsense ads on a page, it does not show any more Google Adsense ads (per their T&C).

    It may be best to debug on Skype…

    Scott

    I have this same error occuring. None of the widgets work, but leave this error in the admin and on the blog. Fresh install of latest version. Not calling any other ads but this one from the sidebar.

    Please advise?

    Thanks,
    Rich

    richlionheart:

    If you could, please ping me the URL where you are having problems, so I can check it out. Also, it would be helpful if you ping me on Skype so we can solve this quickly.

    Many thanks,
    Scott

    richlionheart:
    desandro:

    I rolled a new version – there were a few variables that were not namespaced correctly, and thus had the slight chance of interference with another plugin.

    Please try again with 3.3.11 and let me know the results.

    Many thanks,
    Scott

    Thread Starter desandro

    (@desandro)

    Hello Scott

    The new version dont work. Still the same error.

    But in the moment i dont have time for this. (Travel)

    PS: I dont have more than 3 Google ads on a page.

    desandro:

    Please let me know when you have some time for this – I am quite keen to get this one solved.

    If anyone else gets the same error (e.g. Fatal error: Call to a member function is_available() on a non-object) please let me know!

    Cheers,
    Scott

    switzer:

    same problem here:

    Fatal error: Call to a member function is_available() on a non-object in user folder/wp-content/plugins/advertising-manager/advertising-manager.php on line 146

    which is:
    if ($ad->is_available()) {
    echo $before_widget;

    on

    https://www.perceptions-unlimited.com/blog

    I have to disable as it breaks my sidebar. I am willing to work on it if you contact me.

    Bruce

    balbrecht:

    Would you mind letting me know the following:
    PHP Version
    Wordpress Version

    Also, can you ensure that this breaks when you have no other plugins installed? Or, please let me know which other plugins you have installed.

    I am on skype at switzer if you want to discuss further

    This issue has now been fixed in v3.3.12.

    Thanks balbrecht!
    Scott

    Confirming the fix by Scott…everything working fine now.
    Bruce

    My error is a tad different, but this is what it says when I go to activate the plug-in:

    Fatal error: Call to undefined method stdClass::get() in /home/ivehadmy/public_html/wp-content/plugins/advertising-manager/class-upgrade.php on line 203

    I’ve uninstalled and reinstalled today. I’ve uninstalled AdSense Manager (just one ad running on WP 2.7.1), which worked well. Also running: Askimet, All in One SEO, Twitter tools, Config. Tag Cloud, Google XML Sitemaps.

    Site name is: ivehadmy.com

    Thanks,
    Val

    I installed Advertising Manager by searching for it in the plugin directory. Now I am having serious problems with it.

    First, after installing, I continued getting the system message that Adsense had been changed to Advertising Manager and that I should download and install that – even though I already had downloaded, installed, and activated it.

    Second, I was also getting a system message about optimization (can’t quote it, as you’ll find out in a minute), which was “recommended”. I clicked yes, several times, but the message never went away.

    Finally, and most seriously…

    I tried to put in my Adsense information in the fields designated for a referrer ad. At first it seemed to work. But then I clicked on something (not sure what it said, but what I wanted to do was change the colors of the ad), and now I cannot access my WordPress Dashboard at all. When I try, all I get is a blank page with the following message:

    Fatal error: Call to undefined method Ad_AdSense_Referral::get() in /home/moeloe/maureenmower.com/wp-content/plugins/advertising-manager/advertising-manager.php on line 106

    This is why I can’t quote the exact messages in the first two issues, I can no longer access my Dashboard at all.

    I’m hosting my own WP blog site – https://www.maureenmower.com So far, my site is working just fine (although I see no difference with the new plugin) – but I won’t be able to add any new posts until I can back into the Dashboard. PLEASE HELP!!

    vkfrainbow:
    moeloe:

    Thanks for the messages. I am looking into them now. I will post back when I find something.

    Cheers,
    Scott

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘[Plugin: Advertising Manager] Fatal error: Call to…’ is closed to new replies.