Fatal error: Uncaught ArgumentCountError: Too few arguments to function PostsController::view(), 1 passed in /home/rs1965514/public_html/core/Dispatcher.php on line 15 and exactly 2 expected in /home/rs1965514/public_html/controller/PostsController.php:46
Stack trace:
#0 /home/rs1965514/public_html/core/Dispatcher.php(15): PostsController->view('6')
#1 /home/rs1965514/public_html/webroot/index.php(11): Dispatcher->__construct()
#2 {main}
thrown in /home/rs1965514/public_html/controller/PostsController.php on line 46