Background of the issue:
I am trying to use Gravity Forms Multilingual 1.8.0 and over, but the filter 'gform_review_page' does not display the review page as expected. See filter doc here: hidden link. I downgraded to Gravity Forms Multilingual 1.7.2 to solve the issue. It would be great to fix this in the next release 1.8.3.
Symptoms:
I expected to see the button to see the review page. Instead, I got no button to the review page. It shows directly the submit button.
Questions:
Why does the 'gform_review_page' filter not display the review page as expected in version 1.8.0 and over?
Is there a fix planned for this issue in the next release 1.8.3?
Just follow the documentation (hidden link) of gravity Forms to replicate the issue.
You need to do it thru a child theme and add a filter in the functions.php file to activate this feature.
Hello,
I've installed Gravity Forms plugin, Installed a child theme and modifyied the functions.php file to activate the review page and I have a Fatal error when I tried to display the test page.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpml_review_page()
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpml_review_page(), 1 passed in /var/www/sites/best-cavaco/wp-includes/class-wp-hook.php on line 326 and exactly 3 expected in /var/www/sites/best-cavaco/wp-content/themes/twenty-twenty-four-child/functions.php:18 Stack trace: #0 /var/www/sites/best-cavaco/wp-includes/class-wp-hook.php(326): wpml_review_page() #1 /var/www/sites/best-cavaco/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /var/www/sites/best-cavaco/wp-content/plugins/gravityforms/gravityforms.php(7332): apply_filters() #3 /var/www/sites/best-cavaco/wp-content/plugins/gravityforms/form_display.php(367): gf_apply_filters() #4 /var/www/sites/best-cavaco/wp-content/plugins/gravityforms/form_display.php(1054): GFFormDisplay::maybe_add_review_page() #5 /var/www/sites/best-cavaco/wp-content/plugins/gravityforms/gravityforms.php(3607): GFFormDisplay::get_form() #6 /var/www/sites/best-cavaco/wp-content/plugins/gravityforms/gravityforms.php(2272): GFForms::get_form() #7 /var/www/sites/best-cavaco/wp-includes/shortcodes.php(434): GFForms::parse_shortcode() #8 [internal function]: do_shortcode_tag() #9 /var/www/sites/best-cavaco/wp-includes/shortcodes.php(273): preg_replace_callback() #10 /var/www/sites/best-cavaco/wp-includes/class-wp-hook.php(324): do_shortcode() #11 /var/www/sites/best-cavaco/wp-includes/plugin.php(205): WP_Hook->apply_filters() #12 /var/www/sites/best-cavaco/wp-includes/blocks/post-content.php(50): apply_filters() #13 /var/www/sites/best-cavaco/wp-includes/class-wp-block.php(519): render_block_core_post_content() #14 /var/www/sites/best-cavaco/wp-includes/class-wp-block.php(499): WP_Block->render() #15 /var/www/sites/best-cavaco/wp-includes/blocks.php(2061): WP_Block->render() #16 /var/www/sites/best-cavaco/wp-includes/blocks.php(2113): render_block() #17 /var/www/sites/best-cavaco/wp-includes/block-template.php(260): do_blocks() #18 /var/www/sites/best-cavaco/wp-includes/template-canvas.php(12): get_the_block_template_html() #19 /var/www/sites/best-cavaco/wp-includes/template-loader.php(106): include('...') #20 /var/www/sites/best-cavaco/wp-blog-header.php(19): require_once('...') #21 /var/www/sites/best-cavaco/index.php(17): require('...') #22 {main} thrown in /var/www/sites/best-cavaco/wp-content/themes/twenty-twenty-four-child/functions.php on line 18
Maybe if we get a staging copy of your site it will help to better reproduce the issue.
If possible i would like to take a closer look at the backend to further test this issue
**Before we proceed I recommend to please take FULL BACKUP of your database and your website.**
I often use the Duplicator plugin for this purpose See: http://wordpress.org/plugins/duplicator/
I would like to request temporary access (wp-admin and FTP) to your site to fix the issue.
(preferably to a test site where the problem has been replicated if possible)
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you will enter is private which means only you and I can see and have access to it.
NOTE: if access to the live site is not possible and staging site does not exist please provide me with a duplicator package created with the duplicator plugin
// Enable the review page
$review_page['is_enabled'] = true;
if ( $entry ) {
// Populate the review page.
$review_page['content'] = GFCommon::replace_variables( '{all_fields}', $form, $entry );
}
return $review_page;
}
but it did not generate a review page at the top of the page.
The topic ‘[Closed] Gravity Fomrs Multilingual issue with filter “gform_review_page”’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.