Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/wordpress-popular-posts/src/Rest/Endpoint.php:6
Stack trace:
#0 /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/ht-mega-for-elementor/htmega-blocks/vendor/composer/ClassLoader.php(571): include()
#1 /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/ht-mega-for-elementor/htmega-blocks/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/wordpress-popular-posts/src/Rest/PostsEndpoint.php(7): spl_autoload_call()
#4 /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/ht-mega-for-elementor/htmega-blocks/vendor/composer/ClassLoader.php(571): include('/home/vienngo/d...')
#5 /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/ht-mega-for-elementor/htmega-blocks/vendor/composer/ClassLoader.ph in /home/vienngo/domains/vienngo.com/public_html/wp-content/plugins/wordpress-popular-posts/src/Rest/Endpoint.php on line 6