• We are seeing multiple error / warning messages in the admin interface for our form on the Form Settings page as below. Why are these “undefined”?

    Warning: Undefined array key “firstname” in?/var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php?on line?1302

    Warning: Undefined array key “firstname” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1309

    Warning: Undefined array key “lastname” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1302

    Warning: Undefined array key “lastname” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1309

    Warning: Undefined array key “email” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1302

    Warning: Undefined array key “email” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1309

    Warning: Undefined array key “city” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1302

    Warning: Undefined array key “city” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1309

    Warning: Undefined array key “night_phone_b” in /var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1302

    Warning: Undefined array key “night_phone_b” in?/var/www/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php?on line?1309

    Furthermore our form on the website doesnt submit. When you press the submit button the button label changes to ‘processing’ but then nothing happens. Unsure if its related to the above error messages.

    See screenshots here (incase it helps more):
    https://snipboard.io/RpSeV7.jpg
    https://snipboard.io/RAbu64.jpg

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

    (@alanfuller)

    As you are probably aware warnings are not errors, these variables are undefined, because they have not been defined( by the form, i.e. you are not using the ‘personal info’ section, there should be no impact to functionality, PHP just treats them as null / blank / false.

    As you are probably aware on a production site you shoudlsuppress display of PHP notices and warnings see https://fullworksplugins.com/docs/plugins-general/troubleshooting-plugins-general/php-notices-and-warnings/

    regarding non submitting, that is a different issue ( driven by javascript ) there can be multiple reasons (normally to do with your settings like an invalid currency code ) , best first to check your browser console for errors

    Thread Starter wiseupmarketing

    (@wiseupmarketing)

    Ok. So when we try submitting the form it has the following errors in the console of the browser:

    submitError.js:12 Uncaught TypeError: Cannot read properties of undefined (reading ‘nonce’)
    at n.submitErrors (submitError.js:12:1)
    at p (backbone.min.js?ver=1.4.1:2:3881)
    at f (backbone.min.js?ver=1.4.1:2:3497)
    at a (backbone.min.js?ver=1.4.1:2:692)
    at e.trigger (backbone.min.js?ver=1.4.1:2:3380)
    at Object.error (submit.js:154:1)
    at c (jquery.min.js?ver=3.6.4:2:28447)
    at Object.fireWith as rejectWith
    at l (jquery.min.js?ver=3.6.4:2:80201)
    at XMLHttpRequest. (jquery.min.js?ver=3.6.4:2:82630)

    Any suggestions on how to resolve this? Thank you!

    Thread Starter wiseupmarketing

    (@wiseupmarketing)

    Also, what do you mean by ‘?i.e. you are not using the ‘personal info’ section’? We actually are using the personal details section. We are using First Name, Last Name, Email, City and Phone fields on that screen.

    https://snipboard.io/T1hZ7Y.jpg

    Plugin Author Alan Fuller

    (@alanfuller)

    What verson were you running?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple form warnings in admin’ is closed to new replies.