Title: Error message: Notice: Undefined variable
Last modified: August 21, 2016

---

# Error message: Notice: Undefined variable

 *  [starta-blogg](https://wordpress.org/support/users/starta-blogg/)
 * (@starta-blogg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-notice-undefined-variable/)
 * Hi,
 * I keep geeting error message on my page [http://www.starta-blogg.se](http://www.starta-blogg.se)
   when I enter ads with ad-injection.
 * Notice: Undefined variable: content in /storage/content/55/190155/starta-blogg.
   se/public_html/wp-content/plugins/ad-injection/ad-injection.php on line 1247
 * What can I do to solve it? Greatful for any help!
 * Best regards
    Fredrik
 * [http://wordpress.org/plugins/ad-injection/](http://wordpress.org/plugins/ad-injection/)

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

 *  Thread Starter [starta-blogg](https://wordpress.org/support/users/starta-blogg/)
 * (@starta-blogg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-notice-undefined-variable/#post-4533414)
 * <!–
    ADINJ DEBUG Ad Injection in-content injections complete! No random ad defined
   in any of the ad code boxes Content length=538 (words) Raw character length=6081
   Paragraph count=22 Top ad paragraph: 0 Bottom ad paragraph: 22 1st Injected random
   ads range starts at: 1, and ends at: 22 2nd Injected random ads range starts 
   at: 1, and ends at: 21 potential_random_ad_paragraphs:21 requested_num_rand_ads_to_insert:
   0 No random ads enabled on this post Warning: No random ad injection positions
   $adinj_total_top_ads_used=1 $adinj_total_random_ads_used=0 $adinj_total_bottom_ads_used
   =1 random ads start=anywhere – paragraph – 1 random ads end=anywhere – paragraph–
   20 fromstart posttype=page ( page) currentdate=1390928567 (16098.7102662) postdate
   =1388526237 (16070.9055208) injection mode=mfunc –>
 *  Thread Starter [starta-blogg](https://wordpress.org/support/users/starta-blogg/)
 * (@starta-blogg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-message-notice-undefined-variable/#post-4533430)
 * Problem solved. Uninstalled all my other plugins( about 20). Then I re-installed
   them one by one to see if the error would accour again. It did with one of my
   rss-related plugins. Deleted it and now Ad-injection is working nicely at my 
   page [http://www.starta-blogg.se](http://www.starta-blogg.se). Thanks, now I 
   think the plugin is awesome!

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

The topic ‘Error message: Notice: Undefined variable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ad-injection.svg)
 * [Ad Injection](https://wordpress.org/plugins/ad-injection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-injection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-injection/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-injection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-injection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-injection/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [starta-blogg](https://wordpress.org/support/users/starta-blogg/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/error-message-notice-undefined-variable/#post-4533430)
 * Status: not resolved