The content of debug.log is as below,
==============================================================
[29-Apr-2024 05:46:56 UTC] PHP Fatal error Uncaught Error: Call to a member function tree() on null in wp-content/plugins/wpforo/widgets/Forums.php:53
Stack trace:
#0 wp-content/plugins/wpforo/widgets/Forums.php(74): wpforo\widgets\Forums->get_widget(Array)
#1 wp-includes/widgets.php(1261): wpforo\widgets\Forums->widget(Array, Array)
#2 wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(553): the_widget('wpforo\\widgets\\...', Array)
#3 wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(523): WP_REST_Widget_Types_Controller->get_widget_preview('wpforo\\widgets\\...', Array)
#4 wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Widget_Types_Controller->encode_form_data(Object(WP_REST_Request))
#5 wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/widget-t...' in wp-content/plugins/wpforo/widgets/Forums.php on line 53
==============================================================
Forums.php:53
WPF()->forum->tree( 'front_list', true, WPF()->current_object['forumid'], false );
But add the "wpForo Online Members", "wpForo User Profile & Notifications", and "wpForo Search" all successfully without any error!
What PHP version are you using?
Ok, is this a WPML site?
Can you disable some plugins one by one and check?
This is strange. Have you tried the default theme, or a different theme?
Hi @shen-hsu ,
Could you please install the Classic Widget and try it again.
Also, try to deactivate, delete and install wpForo again. Do not use the Uninstall button.