Site broken after update to 3.0.0 in WP 6.1.1
-
None my codesnippet works after last upgrade, UX broken in backend and frontend.
You have a great plugin but there are 40 modules that not works now, help please. For example the below code not works and broke all the site…
add_action('fluentform_before_insert_submission', function ( $insertData, $data, $formId ) { if($formId != 3) { return; } $isExist = wpFluent()->table('fluentform_submissions') ->where('user_id', $insertData['user_id']) ->where('form_id', $formId ) ->count(); if ( $isExist >=2 ) //for max3 times { wp_send_json(['errors' => [ 'restricted' => ['Sorry, you reached your voting limit! You can vote again in the next round.'] ]], 422); } }, 10, 3 );
Regards!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Site broken after update to 3.0.0 in WP 6.1.1’ is closed to new replies.