Closed michaelbeil closed 2 years ago
This happens with PHP 7.3.5 and 8 as well.
Call Stack
--
1 | 0.0002 | 411272 | {main}( ) | .../index.php:0
2 | 0.0003 | 411544 | require( '/Users/xxyy/Local Sites/test/app/public/wp-blog-header.php' ) | .../index.php:17
3 | 0.1843 | 6461072 | require_once( '/Users/xxyy/Local Sites/test/app/public/wp-includes/template-loader.php' ) | .../wp-blog-header.php:19
4 | 0.1902 | 6570376 | include( '/Users/xxyy/Local Sites/test/app/public/wp-content/themes/memberlite/page.php' ) | .../template-loader.php:106
5 | 0.2916 | 7660504 | get_template_part( ) | .../page.php:20
6 | 0.2916 | 7661080 | locate_template( ) | .../general-template.php:204
7 | 0.2916 | 7661240 | load_template( ) | .../template.php:716
8 | 0.2919 | 7661784 | require( '/Users/xxyy/Local Sites/test/app/public/wp-content/themes/memberlite/components/page/content-page.php' ) | .../template.php:772
9 | 0.2924 | 7626296 | the_content( ) | .../content-page.php:12
10 | 0.2926 | 7626320 | apply_filters( ) | .../post-template.php:253
11 | 0.2926 | 7626720 | WP_Hook->apply_filters( ) | .../plugin.php:189
12 | 0.2932 | 7631152 | do_shortcode( ) | .../class-wp-hook.php:307
13 | 0.2932 | 7633400 | preg_replace_callback ( ) | .../shortcodes.php:228
14 | 0.2932 | 7634024 | do_shortcode_tag( ) | .../shortcodes.php:228
15 | 0.2933 | 7634024 | pmpro_pages_shortcode( ) | .../shortcodes.php:356
16 | 0.2933 | 7634024 | pmpro_loadTemplate( ) | .../init.php:85
17 | 0.2944 | 7655656 | include( '/Users/xxyy/Local Sites/test/app/public/wp-content/plugins/paid-memberships-pro/pages/checkout.php' ) | .../functions.php:384
@dparker1005 lets try to recreate this. We aren't having this issue on our own membership checkout pages with Sitewide Sales.
This is fixed with this PR (https://github.com/strangerstudios/paid-memberships-pro/pull/2449).
Describe the bug Fatal error appears on the checkout page.
To Reproduce Steps to reproduce the behavior:
Fatal error: Uncaught Error: Call to undefined function pmpro_recaptcha_get_html() in /Users/xxyy/Local Sites/test/app/public/wp-content/plugins/paid-memberships-pro/pages/checkout.php on line 501
. This error doesn't show when Sitewide Sales is deactivated. ScreenshotExpected behavior This error should not be shown.
Isolating the problem:
WordPress Environment