• Resolved remseo

    (@remseo)


    Hi there,

    I’m using Forminator free version (1.35.1) on a Divi website (development version).

    Everything works great, but i get a php warning in my debug log, when a login form is submitted and validated (from front-end).

    PHP Warning: Undefined array key “confirm_password-1” in ./wp-content/plugins/forminator/library/fields/password.php on line 552

    Is this warning caused directly by forminator, or can it come from my custom code?

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @remseo,

    I was able to replicate the logs on my site. It appears the warning doesn’t impact the form’s functionality, but it does appear in the logs and seems to originate within the plugin.

    I can confirm this is already been reported to our team’s attention and we are actively working on a solution to eliminate this warning message. Unfortunately, I can’t provide a specific timeline for the fix right now, but we hope it will be soon.

    Kind Regards,

    Nithin

    Thread Starter remseo

    (@remseo)

    Hi Nithin,

    Thanks for your reactivity.
    I mark this topic as resolved.

    Yes that’s clearly not an issue, just a bit annoying when debug log is active ??
    I’m not sure if this is the good way but your team could add a simple ternary operator to the relevant line :

    $confirm_password = !empty(Forminator_CForm_Front_Action::$prepared_data[ ‘confirm_’ . $id ]) ? Forminator_CForm_Front_Action::$prepared_data[ ‘confirm_’ . $id ] : ””;

    Best regards.

    • This reply was modified 1 month, 1 week ago by remseo. Reason: missing an ending quote
    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @remseo,

    Thank you for your feedback. I have passed it along to our developers for review, and we hope to include a fix for this in one of our upcoming updates.

    Kind Regards,
    Nebu John

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.