After upgrade backpack, I noticed some changes in app logic and I noticed finally that backpack affects on standard web controllers.
My all backpack controllers extend my custom admin base controller. In this controller, I have some common logic in the construct method. And the worst is - this constructor is triggered X times where X is the amount of Route::crud
in a custom routes file. It is not about extending because the effect is also noticeable in certain class construct. For example, if we add dd()
or Log::info()
it will be called even on our home app page! Another test - make some errors in crud controllers - entering to any page will raise the error. Visualization (app home page - outside admin area):

I noticed this on Laravel 6 and backpack 4.1 but I tried demo (Laravel 7) and there is the same problem.