HTTP 500 error on submit
-
Hello,
I created a form using your plugin and everything was working fine. Untill 2 hours ago ..
Whenever I submit the form (even with no fields filled in) I get a HTTP 500 error.
When I check my error logs, the error is caused in api-helpers.php.The log:
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in public_html/wp-content/plugins/advanced-forms/api/api-helpers.php on line 202, referer: xxxx
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in public_html/wp-includes/load.php on line 679, referer: xxxxIncreasing the memory limit to 1024M (as you can see in the log above) did not fix the issue so I guess there must be some sort of memory leak somewhere.
The faulty code is this:
foreach ( $value as $single_value ) {
$rendered_values[] = _af_render_field_include( $field, $single_value );
}
- The topic ‘HTTP 500 error on submit’ is closed to new replies.