You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I encountered a php notice after submitting an empty form within my production version of an app. Though when I tried to reproduce the same behavior at my localhost - everything ran fine.
Other functions within the production version are correct.
Notice: Array to string conversion in /data/web/virtuals/224154/virtual/www/wp-content/plugins/torro-forms/vendor/felixarntz/plugin-lib/src/db-objects/model.php on line 546
Steps to Reproduce (for bugs)
Create a form
Open a link with a form
Submit an empty form
PHP 7.3
MariaDB 10.4.6
Expected Behavior
It should show warnings about empty fields.
Current Behavior
Form is not submitted. User has to reload a page with F5.
The text was updated successfully, but these errors were encountered:
I managed to "solve" the problem by disabling wp_debug in wp-config.php. Then the notice was skipped and correct response appeared. Though it's kind of faking...
Issue Overview
Recently I encountered a php notice after submitting an empty form within my production version of an app. Though when I tried to reproduce the same behavior at my localhost - everything ran fine.
Other functions within the production version are correct.
Notice: Array to string conversion in /data/web/virtuals/224154/virtual/www/wp-content/plugins/torro-forms/vendor/felixarntz/plugin-lib/src/db-objects/model.php on line 546
Steps to Reproduce (for bugs)
PHP 7.3
MariaDB 10.4.6
Expected Behavior
It should show warnings about empty fields.
Current Behavior
Form is not submitted. User has to reload a page with F5.
The text was updated successfully, but these errors were encountered: