Php output problem

problem description

use tp5 frame index controller is empty, but when the page is visited, foo appears on the page, obviously there is nothing in the controller, what is the situation

Php
Apr.21,2022

break point step by step debugging


along the entry file-> initialization file-> parent controller looks one by one, it must be written an output code somewhere


reinstalled


controller


Visual is that composer automatically loads files with duplicate namespaces.
look at

first.
composer dump-autoload

or clear the cache. Refer to the official documentation for specific command.

Menu