Title: php error in index.php
Last modified: August 31, 2016

---

# php error in index.php

 *  [micksp](https://wordpress.org/support/users/micksp/)
 * (@micksp)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-indexphp/)
 * There a minor bug in the plugin. It generates a php error when it is not active.
   This is because $options[‘active’] is not available.
 * Line 148 in index.php: `if(!$options['active']) return;` gives error: “Undefined
   index: active on line 148 in file /home/micksp/www/WP-bootstrap/sites/zsbtest/
   wp-content/plugins/simple-popup-manager/index.php”
 * My suggestion: change line 148 of index.php into:
    `if(empty($options['active']))
   return;`
 * Best regards, Michael
 * [https://wordpress.org/plugins/simple-popup-manager/](https://wordpress.org/plugins/simple-popup-manager/)

The topic ‘php error in index.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-popup-manager.svg)
 * [Simple Popup Manager](https://wordpress.org/plugins/simple-popup-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-popup-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-popup-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-popup-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-popup-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-popup-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [micksp](https://wordpress.org/support/users/micksp/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-indexphp/)
 * Status: not resolved