Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    Markus, this is a ‘PHP warning’. It is a known issue but, these should not be showing on a production server anyway. What host are you using?

    Thread Starter Markus Diehl

    (@markus280960)

    Hi Mr. Hoffmann,

    we are hosting at “United Domains”.

    Kind Regards

    Markus

    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

    Plugin Author hoffcamp

    (@hoffcamp)

    I agree, and I apologize for the pain this must be on a development server. I should have taken the time to eliminate the PHP warnings/notices. For the MySQL I genuinely did not understand what is considered ‘standard’ versus ‘acceptable’ (I do now).

    However I’m developing version 2 right now (without blatantly ignoring warnings & notices…), so I’m not going to fix the 1.6.x warnings/notices.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress Form Manager] getting errors after activate the plugin’ is closed to new replies.