Hi,
I’ve been getting Wordpress error messages after customers have been trying to make a purchase. The error message is highlighting Cornerstone as the issue. Please advise, thanks:
ArgumentCountError: Too few arguments to function Cornerstone_Element_Front_End::begin_excerpt(), 1 passed in /home/followth/public_html/wp-includes/class-wp-hook.php on line 292 and exactly 2 expected in /home/followth/public_html/wp-content/plugins/cornerstone/includes/classes/elements/class-element-front-end.php:49
Stack trace:
#0 /home/followth/public_html/wp-includes/class-wp-hook.php(292): Cornerstone_Element_Front_End->begin_excerpt('')
#1 /home/followth/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters('', Array)
#2 /home/followth/public_html/wp-content/plugins/gamipress-buddypress-integration/includes/bp-activity.php(479): apply_filters('get_the_excerpt', '')
#3 /home/followth/public_html/wp-content/plugins/gamipress-buddypress-integration/includes/bp-activity.php(246): gamipress_bp_activity_get_post_excerpt(41844)
#4 /home/followth/public_html/wp-includes/class-wp-hook.php(292): gamipress_bp_achievement_activity_details(Array, 1197, 41844, '', 1, Array)
#5 /home/followth/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
#6 /home/followth/public_html/wp-content/plugins/gamipress-buddypress-integration/includes/bp-activity.php(106): apply_filters('gamipress_bp_ac...', Array, 1197, 41844, '', 1, Array)
#7 /home/followth/public_html/wp-includes/class-wp-hook.php(292): gamipress_award_achievement_bp_activity(1197, 41844, '', 1, Array)
#8 /home/followth/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#9 /home/followth/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#10 /home/followth/public_html/wp-content/plugins/gamipress/includes/rules-engine.php(1240): do_action('gamipress_award...', 1197, 41844, '', 1, Array)
#11 /home/followth/public_html/wp-content/plugins/gamipress/includes/rules-engine.php(52): gamipress_award_achievement_to_user(41844, 1197, false, '', 1, Array)
#12 /home/followth/public_html/wp-content/plugins/gamipress/includes/rules-engine.php(1287): gamipress_maybe_award_achievement_to_user(41844, 1197, '')
#13 /home/followth/public_html/wp-includes/class-wp-hook.php(294): gamipress_maybe_award_additional_achievements_to_user(1197, '41851')
#14 /home/followth/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
#15 /home/followth/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#16 /home/followth/public_html/wp-content/plugins/gamipress/includes/rules-engine.php(1240): do_action('gamipress_award...', 1197, '41851', 'gamipress_regis...', 1, Array)
#17 /home/followth/public_html/wp-content/plugins/gamipress/includes/rules-engine.php(52): gamipress_award_achievement_to_user('41851', 1197, false, 'gamipress_regis...', 1, Array)
#18 /home/followth/public_html/wp-content/plugins/gamipress/includes/triggers.php(489): gamipress_maybe_award_achievement_to_user('41851', 1197, 'gamipress_regis...', 1, Array)
#19 /home/followth/public_html/wp-content/plugins/gamipress/includes/listeners.php(29): gamipress_trigger_event(Array)
#20 /home/followth/public_html/wp-includes/class-wp-hook.php(292): gamipress_register_listener(1197)
#21 /home/followth/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#22 /home/followth/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#23 /home/followth/public_html/wp-includes/user.php(2119): do_action('user_register', 1197)
#24 /home/followth/public_html/wp-content/plugins/memberpress/app/models/MeprUser.php(603): wp_insert_user(Array)
#25 /home/followth/public_html/wp-content/plugins/memberpress/app/controllers/MeprStripeCtrl.php(139): MeprUser->store()
#26 /home/followth/public_html/wp-content/plugins/memberpress/app/controllers/MeprStripeCtrl.php(54): MeprStripeCtrl->do_confirm_payment()
#27 /home/followth/public_html/wp-includes/class-wp-hook.php(292): MeprStripeCtrl->confirm_payment('')
#28 /home/followth/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
#29 /home/followth/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#30 /home/followth/public_html/wp-admin/admin-ajax.php(202): do_action('wp_ajax_nopriv_...')
#31 {main}