Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/src/Rest/Endpoint.php:6
Stack trace:
#0 /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/vendor/composer/ClassLoader.php(478): include()
#1 /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/54c/okusa...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('WordPressPopula...')
#3 /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/src/Rest/PostsEndpoint.php(7): spl_autoload_call('WordPressPopula...')
#4 /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/vendor/composer/ClassLoader.php(478): include('/home/54c/okusa...')
#5 /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/54c/okusa in /home/54c/okusaman.com/public_html/wp-content/plugins/wordpress-popular-posts/src/Rest/Endpoint.php on line 6