Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Fatal error when reaching comment form and Jetpack Subscription module is active

Home / Forums / Virtue Theme / Fatal error when reaching comment form and Jetpack Subscription module is active

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 29, 2019 at 8:20 am

PHP 7.3 only:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Jetpack_Subscriptions::comment_subscribe_init(), 1 passed in /home/username/public_html/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in /home/username/public_html/wp-content/plugins/jetpack/modules/subscriptions.php:609
Stack trace:
#0 /home/username/public_html/wp-includes/class-wp-hook.php(288): Jetpack_Subscriptions->comment_subscribe_init(Array)
#1 /home/username/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /home/username/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /home/username/public_html/wp-includes/comment-template.php(2426): do_action('comment_form_lo...', Array, 'User Display Name')
#4 /home/username/public_html/wp-content/themes/virtue_premium/templates/comments.php(85): comment_form()
#5 /home/username/public_html/wp-includes/comment-template.php(1512): require('/home/username/...')
#6 /home/username/public_html/wp-content/themes/virtue_premium/lib/template_ in /home/username/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 609

Jetpack Support says it’s plugin or theme related, and don’t get the error with default WordPress themes.

If either the subscriptions module is completely turned off (not just no subscription check boxes below comments form), or comments is not allowed on the post, no error.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.