I’m receiving the exact same error message when updating from version 4.0.1 to 4.1.0: An error of type E_ERROR was caused in line 613 of the file.
WordPress version 6.5.2
Active theme: GeneratePress Child for Bitcoin Outlaw (version 0.1)
Current plugin: hCaptcha for WordPress (version 4.1.0)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 613 of the file /home/customer/www/bitcoinoutlaw.com/public_html/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Settings/Abstracts/SettingsBase.php. Error message: Uncaught Error: Call to undefined function KAGG\Settings\Abstracts\add_settings_section() in /home/customer/www/bitcoinoutlaw.com/public_html/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Settings/Abstracts/SettingsBase.php:613
Stack trace:
#0 /home/customer/www/bitcoinoutlaw.com/public_html/wp-includes/class-wp-hook.php(324): KAGG\Settings\Abstracts\SettingsBase->setup_tabs_section(Object(WP_Screen))
#1 /home/customer/www/bitcoinoutlaw.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/customer/www/bitcoinoutlaw.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/customer/www/bitcoinoutlaw.com/public_html/wp-admin/includes/class-wp-screen.php(424): do_action(‘current_screen’, Object(WP_Screen))
#4 /home/customer/www/bitcoinoutlaw.com/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
#5 /home/customer/www/bitcoinoutlaw.com/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack