I know this is probably a trivial complaint - but I get close to 100 lines of error messages each time a form is submitted because of the code in function copyToFromRaw() in components/com_fabrik/models/form.php. This then triggers another error in components/com_fabrik/helpers/parent.php (line 1323).
I have attached the segment from my php_error.log file (including the backtrace paths) as evidence.
This occurs for any element that has been set as hidden, or any element that is empty - such as a database join, radio button group or checkbox for which a value has not been set.
There is no $_POST data for such conditions ("raw" or otherwise), so these errors occur.
But at any rate, it seems to me there should be a way of checking for those conditions - and not even run this function on such elements - because, as you see from the timestamps in the error_log attached, it's a few seconds of wasted time.
I've tried looking at the code to fix it, but am not all that familiar with just what exactly is being done here, and why. So maybe someone who is more familiar with this function could put that check into the code rather than just prefacing the undefined variables with a @ - and allowing these errors to be triggered?
I have attached the segment from my php_error.log file (including the backtrace paths) as evidence.
This occurs for any element that has been set as hidden, or any element that is empty - such as a database join, radio button group or checkbox for which a value has not been set.
There is no $_POST data for such conditions ("raw" or otherwise), so these errors occur.
But at any rate, it seems to me there should be a way of checking for those conditions - and not even run this function on such elements - because, as you see from the timestamps in the error_log attached, it's a few seconds of wasted time.
I've tried looking at the code to fix it, but am not all that familiar with just what exactly is being done here, and why. So maybe someone who is more familiar with this function could put that check into the code rather than just prefacing the undefined variables with a @ - and allowing these errors to be triggered?