Title: Unexpected output warning when enabling plugin
Last modified: August 30, 2016

---

# Unexpected output warning when enabling plugin

 *  Resolved [computerinfo21](https://wordpress.org/support/users/computerinfo21/)
 * (@computerinfo21)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/unexpected-output-warning-when-enabling-plugin/)
 * Just installed 2.0.8 and get warnings about unexpected output. The debug messages
   are:
 *     ```
       Strict Standards: Declaration of WPAM_Data_AffiliateRepository::update() should be compatible with WPAM_Data_GenericRepository::update($model) in wp-content/plugins/affiliates-manager/source/Data/AffiliateRepository.php on line 143
   
       Strict Standards: Declaration of WPAM_Data_AffiliateRepository::insert() should be compatible with WPAM_Data_GenericRepository::insert($model) in wp-content/plugins/affiliates-manager/source/Data/AffiliateRepository.php on line 143
   
       Strict Standards: Declaration of WPAM_Data_CreativeRepository::update() should be compatible with WPAM_Data_GenericRepository::update($model) in wp-content/plugins/affiliates-manager/source/Data/CreativeRepository.php on line 66
   
       Strict Standards: Declaration of WPAM_Data_CreativeRepository::insert() should be compatible with WPAM_Data_GenericRepository::insert($model) in wp-content/plugins/affiliates-manager/source/Data/CreativeRepository.php on line 66
   
       Strict Standards: Declaration of WPAM_Data_EventRepository::update() should be compatible with WPAM_Data_GenericRepository::update($model) in wp-content/plugins/affiliates-manager/source/Data/EventRepository.php on line 75
   
       Strict Standards: Declaration of WPAM_Data_EventRepository::insert() should be compatible with WPAM_Data_GenericRepository::insert($model) in wp-content/plugins/affiliates-manager/source/Data/EventRepository.php on line 75
   
       Strict Standards: Static function WPAM_Pages_PublicPage::getPageId() should not be abstract in wp-content/plugins/affiliates-manager/source/Pages/PublicPage.php on line 89
       ```
   
 * [https://wordpress.org/plugins/affiliates-manager/](https://wordpress.org/plugins/affiliates-manager/)

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

 *  Thread Starter [computerinfo21](https://wordpress.org/support/users/computerinfo21/)
 * (@computerinfo21)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/unexpected-output-warning-when-enabling-plugin/#post-6338994)
 * Also getting the following message on the “My Affiliates” page:
 * `Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare()
   must have a placeholder. Please see Debugging in WordPress for more information.(
   This message was added in version 3.9.)`
 * And on the Addons page:
    `Notice: Undefined variable: output in /home/joshua/
   pub-html/gds/wp-content/plugins/affiliates-manager/source/Admin-menu/wpam-addons-
   menu.php on line 109`
 *  Plugin Author [affmngr](https://wordpress.org/support/users/affmngr/)
 * (@affmngr)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/unexpected-output-warning-when-enabling-plugin/#post-6339159)
 * Hi, We are looking into it. I will keep you posted.
 *  Plugin Author [affmngr](https://wordpress.org/support/users/affmngr/)
 * (@affmngr)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/unexpected-output-warning-when-enabling-plugin/#post-6339160)
 * We have just released an update to fix those warning notices.
 *  Thread Starter [computerinfo21](https://wordpress.org/support/users/computerinfo21/)
 * (@computerinfo21)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/unexpected-output-warning-when-enabling-plugin/#post-6339193)
 * Awesome! Just updated and everything looks good. Thanks for such fast and great
   support!

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

The topic ‘Unexpected output warning when enabling plugin’ is closed to new replies.

 * ![](https://ps.w.org/affiliates-manager/assets/icon-128x128.png?rev=981249)
 * [Affiliates Manager](https://wordpress.org/plugins/affiliates-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affiliates-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affiliates-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/affiliates-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affiliates-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affiliates-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [computerinfo21](https://wordpress.org/support/users/computerinfo21/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/unexpected-output-warning-when-enabling-plugin/#post-6339193)
 * Status: resolved