Title: Undefined index &#8211; while bulk plugin activating/deactivating
Last modified: September 1, 2016

---

# Undefined index – while bulk plugin activating/deactivating

 *  Resolved [mpek](https://wordpress.org/support/users/mpek/)
 * (@mpek)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/undefined-index-while-bulk-plugin-activatingdeactivating/)
 * Could be interesting to developer:
 * WPDEBUG reported:
 * `Notice: Undefined index: REQUEST_SCHEME in /home/www/mydomain/wp-content/plugins/
   wp-advanced-pdf/wp-advanced-pdf.php on line 19`
 * and
 * `Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; wpppdf has a deprecated constructor in /home/www/
   mydomain/wp-content/plugins/wp-advanced-pdf/wp-advanced-pdf.php on line 35`
 * mydomain = replacer for Website URL
 * Hope it helps to imporve…
 * [https://wordpress.org/plugins/wp-advanced-pdf/](https://wordpress.org/plugins/wp-advanced-pdf/)

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

 *  Plugin Author [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * (@cedcommerce)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-while-bulk-plugin-activatingdeactivating/#post-8297211)
 * Hello mpek,
 * Thank you for reminding us, yes we need to update constructor by using ” __construct()“.
 * We will update it in next version of our plugin for sure
 * Thanks
    CedCommerce
 *  Plugin Author [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * (@cedcommerce)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-while-bulk-plugin-activatingdeactivating/#post-8353251)
 * Hello mpek,
 * We had fixed issue in our plugin regarding depercated way to define constructor,
   Please update the version and keep informing us about
    any issue we always welcome
   these kinds of reports to make us plugin best.
 * Thanks
    CedCommerce

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

The topic ‘Undefined index – while bulk plugin activating/deactivating’ is closed
to new replies.

 * ![](https://ps.w.org/wp-advanced-pdf/assets/icon-256x256.png?rev=1384838)
 * [WP Advanced PDF](https://wordpress.org/plugins/wp-advanced-pdf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-advanced-pdf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-advanced-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-advanced-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-advanced-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-advanced-pdf/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-while-bulk-plugin-activatingdeactivating/#post-8353251)
 * Status: resolved