faizaangani
Forum Replies Created
-
Good day
I increased the memory limit to 512M which i verified through site info page. Activated Forminator and got the same issue crashinh. Also since then i’ve activated multiple other plugins with no issue even before i increased memory size.
A friend assessed the code and says there might be an infinite loop causing the issue? Not sure but is that possible and if so how could i fix it?
thanks
is there no way to fix it by adjusting the code?
Yes i did atempt to switch to a default wordpress theme and same issue happened. I created the form with Forminator not a third party plugin. How would I check the database?
Regards
site info below
yes i did attempt creating the registration form, the moment i put in the element the site crashed
no i do not have any other registration plugins
i have deleted and redownloaded formiantor same issue
this is the affected lines 950-960:
private static function validate_registration_fields_mapping( $form_settings, $fields ) {
$field_ids = wp_list_pluck( $fields, ‘id’ );
if ( ! empty( $form_settings[‘form-type’] ) && ‘registration’ === $form_settings[‘form-type’] && ! empty( $field_ids ) ) {
// Get first field id (not password).
$i = 0;
do {
$first_id = isset( $field_ids[ $i ] ) ? $field_ids[ $i ] : null;
++$i;
$is_password = false !== strpos( $first_id, ‘password’ );
$go_next = empty( $first_id ) || $is_password;
} while ( $go_next );Good day
See debug log below
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 216023040 bytes) in /home/limpotdg/public_html/wp-content/plugins/forminator/library/model/class-base-form-model.php on line 958
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.