I changed the memory limit but it did not improve. I changed templates and limited plugins to basic plugins only. Still it will not improve.
I enabled the debug mode and clicked the forum list, the following error was displayed.
Fatal error: Uncaught Error: [] operator not supported for strings in /home/users/MY-WORDPRESS/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/users/MY-WORDPRESS/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/users/MY-WORDPRESS/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /home/users/MY-WORDPRESS/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/users/MY-WORDPRESS/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /home/users/MY-WORDPRESS/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /home/users/MY-WORDPRESS/wp-includes/class-wp.php(617): WP_Query->query(Array) in /home/users/MY-WORDPRESS/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
I am using PHP 7.1, is not bbPress compatible with this?