I confirm several “Notice: Undefined index: ” errors scattered around the place when using the plugin.
It could be a good practice to check for indexes before using them. It is troublesome during development and whether I want it or not I have to fix these errors manually.
On activation it outputs error mentioned by OP.
On deactivating and subsequent activation it outputs some unexpected data.
On Advanced Settings page it throws:
Notice: Undefined index: template_email in /wp-content/plugins/wordpress-form-manager/pages/editsettingsadv.php on line 215
Notice: Undefined index: template_summary in /wp-content/plugins/wordpress-form-manager/pages/editsettingsadv.php on line 216
On resetting templates:
Notice: Undefined variable: template in /wp-content/plugins/wordpress-form-manager/template.php on line 152
It was throwing something on front end as well but I lost it. Will update once I get it again.
Edit:
Other errors I found in the log file. Some of them are SQL error. Not sure how much this impacts the plugin functionality.
PHP Notice: Undefined variable: charset_collage in /wp-content/plugins/wordpress-form-manager/db.php on line 378
PHP Notice: Undefined index: recaptcha_theme_custom in /wp-content/plugins/wordpress-form-manager/pages/editsettings.php on line 19
WordPress database error Multiple primary key defined for query ALTER TABLE wp_fm_forms ADD PRIMARY KEY (ID
) made by activate_plugin, do_action(‘activate_wordpress-form-manager/wordpress-form-manager.php’), call_user_func_array, fm_install, fm_db_class->setupFormManager, dbDelta
WordPress database error Multiple primary key defined for query ALTER TABLE wp_fm_settings ADD PRIMARY KEY (setting_name
) made by activate_plugin, do_action(‘activate_wordpress-form-manager/wordpress-form-manager.php’), call_user_func_array, fm_install, fm_db_class->setupFormManager, dbDelta
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘set set
INT DEFAULT ‘0’ NOT NULL’ at line 1 for query ALTER TABLE wp_fm_items CHANGE COLUMN set set
INT DEFAULT ‘0’ NOT NULL made by activate_plugin, do_action(‘activate_wordpress-form-manager/wordpress-form-manager.php’), call_user_func_array, fm_install, fm_db_class->setupFormManager, dbDelta
WordPress database error Duplicate column name ‘index’ for query ALTER TABLE wp_fm_items ADD index
INT DEFAULT ‘0’ NOT NULL made by activate_plugin, do_action(‘activate_wordpress-form-manager/wordpress-form-manager.php’), call_user_func_array, fm_install, fm_db_class->setupFormManager, dbDelta
FYI I didn’t create any forms yet.
WordPress 3.4.1
Plugin 1.6.37