Skip to main content

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

Courses not loading

Check the view details and see what's gone wrong. Also you can check the server error log.

Maor Benezri

Shahjahan JewelΒ I clicked on view details and its just showing the following:\

A critical error has occurred on this site.

More information about troubleshooting WordPress.

Maor BenezriΒ  Can you paste the full error here.

Maor Benezri

Shahjahan JewelΒ \<!DOCTYPE html> \ \ \ \ \ \Χ•Χ•Χ¨Χ“Χ€Χ¨Χ‘ ‹Χ©Χ’יאה\ \ html { background: #f1f1f1; } body { background: #fff; border: 1px solid #ccd0d4; color: #444; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 2em auto; padding: 1em 2em; max-width: 700px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); } h1 { border-bottom: 1px solid #dadada; clear: both; color: #666; font-size: 24px; margin: 30px 0 0 0; padding: 0; padding-bottom: 7px; } #error-page { margin-top: 50px; } #error-page p, #error-page .wp-die-message { font-size: 14px; line-height: 1.5; margin: 25px 0 20px; } #error-page code { font-family: Consolas, Monaco, monospace; } ul li { margin-bottom: 10px; font-size: 14px ; } a { color: #2271b1; } a:hover, a:active { color: #135e96; } a:focus { color: #043959; box-shadow: 0 0 0 2px #2271b1; outline: 2px solid transparent; } .button { background: #f3f5f6; border: 1px solid #016087; color: #016087; display: inline-block; text-decoration: none; font-size: 13px; line-height: 2; height: 28px; margin: 0; padding: 0 10px 1px; cursor: pointer; -webkit-border-radius: 3px; -webkit-appearance: none; border-radius: 3px; white-space: nowrap; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; vertical-align: top; } .button.button-large { line-height: 2.30769231; min-height: 32px; padding: 0 12px; } .button:hover, .button:focus { background: #f1f1f1; } .button:focus { background: #f3f5f6; border-color: #007cba; -webkit-box-shadow: 0 0 0 1px #007cba; box-shadow: 0 0 0 1px #007cba; color: #016087; outline: 2px solid transparent; outline-offset: 0; } .button:active { background: #f3f5f6; border-color: #7e8993; -webkit-box-shadow: none; box-shadow: none; } body { font-family: Tahoma, Arial; } \ \ \ \

\

באΧͺΧ¨ Χ–Χ” אירגה שגיאה Χ§Χ¨Χ™Χ˜Χ™Χͺ.\

\

\ΧžΧ™Χ“Χ’ Χ Χ•Χ‘Χ£ גל Χ Χ™Χ€Χ•Χ™ ΧͺΧ§ΧœΧ•Χͺ Χ‘Χ•Χ•Χ¨Χ“Χ€Χ¨Χ‘.\\

\
\ \

Maor BenezriΒ Check on your server error log. Maybe you can find which plugin throwing the error. It's a plugin conflict.

Maor Benezri

Shahjahan JewelΒ How can i do it?

Maor Benezri

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.

Maor Benezri

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.