WordPress.org

Ready to get started?Download WordPress

Forums

Form Manager
getting errors after activate the plugin (5 posts)

  1. markus280960
    Member
    Posted 2 years ago #

    HI Folks,

    after atctivating the Plugin I am getting:

    Notice: Undefined index: parent in /webspace/10/48929/antispam24.tv/wp-content/plugins/wordpress-form-manager/pages/editform.php on line 66

    Any help would be appreciated.

    Regards

    Markus

    http://wordpress.org/extend/plugins/wordpress-form-manager/

  2. hoffcamp
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  3. markus280960
    Member
    Posted 2 years ago #

    Hi Mr. Hoffmann,

    we are hosting at "United Domains".

    Kind Regards

    Markus

  4. QuietNoise
    Member
    Posted 1 year ago #

    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

  5. hoffcamp
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic