Courses not loading
i've a problem that I'm trying to open some courses on my site and i'm getting this error, The error is just that there's critical error on the website and there's a link to https://wordpress.org/documentation/article/faq-troubleshooting
Check the view details and see what's gone wrong. Also you can check the server error log.
Shahjahan JewelΒ I clicked on view details and its just showing the following:\
Maor BenezriΒ Can you paste the full error here.
Shahjahan JewelΒ \<!DOCTYPE html> \ \ \ \ \ \
Maor BenezriΒ Check on your server error log. Maybe you can find which plugin throwing the error. It's a plugin conflict.
Shahjahan JewelΒ How can i do it?
Shahjahan JewelΒ some courses work some not, this is the error from the server:
[NOTICE] [STDERR] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Automattic\Jetpack\Forms\ContactForm\Util::grunion_contact_form_filter_widget_block_content(),
1 passed in /wp-includes/class-wp-hook.php on line 324 and exactly 3 expected in
/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-util.php:201
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Forms\ContactForm\Util::grunion_contact_form_filter_widget_block_content()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/fluent-community/Modules/Course/Http/Controllers/CourseController.php(160): apply_filters()
#3 /wp-content/plugins/fluent-community/Modules/Course/Http/Controllers/CourseController.php(109): FluentCommunity\Modules\Course\Http\Controllers\CourseController->processCourse()
#4 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/BoundMethod.php(37): FluentCommunity\Modules\Course\Http\Controllers\CourseController->getCourseBySlug()
#5 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/Util.php(40): FluentCommunity\Framework\Container\BoundMethod::FluentCommunity\Framework\Container{closure}()
#6 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/BoundMethod.php(98): FluentCommunity\Framework\Container\Util::unwrapIfClosure()
...
#25 {main}
thrown in /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-util.php on line 201
[NOTICE] [STDERR] PHP Fatal error in:
/wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/BoundMethod.php(36): FluentCommunity\Framework\Container\BoundMethod::callBoundMethod()
#8 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/BoundMethod.php(70): FluentCommunity\Framework\Container\BoundMethod::call()
#9 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/BoundMethod.php(33): FluentCommunity\Framework\Container\BoundMethod::callClass()
#10 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Container/Container.php(653): FluentCommunity\Framework\Container\BoundMethod::call()
#11 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Http/Route.php(689): FluentCommunity\Framework\Container\Container->call()
#12 /wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Http/Route.php(664): FluentCommunity\Framework\Http\Route->dispatchRouteAction()
#13 /wp-includes/rest-api/class-wp-rest-server.php(1292): FluentCommunity\Framework\Http\Route->callback()
#14 /wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
#15 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#16 /wp-includes/rest-api.php(449): WP_REST_Server->serve_request()
...
#25 {main}
thrown in /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-util.php on line 201
[NOTICE] [STDERR] PHP Fatal error in:
/wp-includes/class-wp-hook.php(324): rest_api_loaded()
#18 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#19 /wp-includes/plugin.php(565): WP_Hook->do_action()
#20 /wp-includes/class-wp.php(418): do_action_ref_array()
#21 /wp-includes/class-wp.php(813): WP->parse_request()
#22 /wp-includes/functions.php(1336): WP->main()
#23 /wp-blog-header.php(16): wp()
#24 /index.php(17): require('...')
#25 {main}
thrown in /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-util.php on line 201
Maor BenezriΒ Looks like the error is generated from the jetpack plugin. Maybe try disabling that and test.
Shahjahan JewelΒ Its working once i deactivate it but i actually need it, it speed up my website
Maor BenezriΒ Report this to jetpack as the issue is with Jetpack's block handler.