Title: [Plugin: Advertising Manager] PHP Fatal Error
Last modified: August 19, 2016

---

# [Plugin: Advertising Manager] PHP Fatal Error

 *  [Vakantie Ameland](https://wordpress.org/support/users/christianebuddy/)
 * (@christianebuddy)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/)
 * When I create a new ad, import the google code and try to save the ad, this is
   the log message:
 * `PHP Fatal error: Call to undefined method stdClass::get_network_property_defaults()
   in wordpress/wp-content/plugins/advertising-manager/lib/Advman/Admin.php on line
   91"`
 * Nothing is saved, just the wordpress plugin screen with no content in it shows.
   When I go to the ads, the new ad is not there.
 * Can you help me out here.
 * [http://wordpress.org/extend/plugins/advertising-manager/](http://wordpress.org/extend/plugins/advertising-manager/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [Vakantie Ameland](https://wordpress.org/support/users/christianebuddy/)
 * (@christianebuddy)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407319)
 * I Just reinstalled the newest version and the problem is gone, for now…. I say
   for now, because this happened before, 1 in several tries succeeds.
 * Somebody any idea what is wrong here…..
 *  Thread Starter [Vakantie Ameland](https://wordpress.org/support/users/christianebuddy/)
 * (@christianebuddy)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407587)
 * The plugin is still buggy, had to disable it because of the following error:
 * `PHP Warning: Invalid argument supplied for foreach() in wordpress/wp-content/
   plugins/advertising-manager/lib/OX/Ad.php on line 168`
 * It influences the whole website with blank screens. Could you please fix the 
   bugs..
 *  [switzer](https://wordpress.org/support/users/switzer/)
 * (@switzer)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407623)
 * christianebuddy:
 * Sorry to hear this. I fix bugs as fast as I can. Can you please let me know the
   version of WordPress and PHP that you are using? Also, any additional information
   about how you installed, and what other plugins you are using would be helpful.
 * There have been one or two others with this issue, and they reinstalled and the
   problem went away. I am not saying that this is not an issue – it could be because
   the advertising manager data was corrupted somehow.
 * Cheers,
    Scott
 *  [vladbabii](https://wordpress.org/support/users/vladbabii/)
 * (@vladbabii)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407761)
 * Quick fix for this error.. it has been driving me nuts for a while
 * [http://13net.tk/blog/2010/07/07/code-fix-for-error-in-liboxad-php-line-168/](http://13net.tk/blog/2010/07/07/code-fix-for-error-in-liboxad-php-line-168/)
 *  [gjperera](https://wordpress.org/support/users/gjperera/)
 * (@gjperera)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407766)
 * [@vladbabii](https://wordpress.org/support/users/vladbabii/) – Thank you so much
   for the solution to this problem. I updated the code and it worked. Thanks again!
 * [@switzer](https://wordpress.org/support/users/switzer/) – You might want to 
   include this fix for the next version of Ad Manager. Thanks for the great plugin.
 *  [vinko](https://wordpress.org/support/users/vinko/)
 * (@vinko)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407771)
 * Switzer, I have the same problem as christianebuddy, but I was not able to resolve
   the problem by reinstalling the Plugin.
 * I am using WordPress 3.0.1 and Advertising Manager 3.4.19
 * Thank you in advance for any advice as to resolving this issue.
 *  [jmatthewgore](https://wordpress.org/support/users/jmatthewgore/)
 * (@jmatthewgore)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407778)
 * I’m getting the same error message. Using WordPress 3.0.1, re-installed latest
   version of Advertising Manager this morning.
 * However, advertising manager was working fine until this morning, and has been
   working fine for a year or so. This morning, I installed WP-Facebook-Autoconnect,
   and noticed that my ads were gone afterwards.
 * I then removed the new plugin, but AM won’t start working again… I just get the
   error message above if I try to create a new ad… and my widgets only show “defualt”
   in the drop down boxes.
 * The link provided by vladbabii seems to be dead, so if anyone has a copy of that
   fix and could actually post it here, that would be appreciated.
 * – Matthew
 *  [deepjm](https://wordpress.org/support/users/deepjm/)
 * (@deepjm)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407780)
 * have the same problem
 * I cant change my ad code
    There is a issue for that?
 *  [michaelhart](https://wordpress.org/support/users/michaelhart/)
 * (@michaelhart)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407785)
 * Same problem. This addon is beautiful, and would be PERFECT if it just worked.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Advertising Manager] PHP Fatal Error’ is closed to new replies.

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 9 replies
 * 8 participants
 * Last reply from: [michaelhart](https://wordpress.org/support/users/michaelhart/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-advertising-manager-php-fatal-error/#post-1407785)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
