php error in index.php
-
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
- The topic ‘php error in index.php’ is closed to new replies.