CLI load first in route? |
I have a member page,
and this is autoroute, Besides that, I added a CLI route with the prefix name "cron/function", it is located in app/Cron/*. However, my auto route with the member/dashboard url doesn't work as it should. When the route with $routes->cli('cron/function/up', 'App\Cron\Function::up') is removed it can run normally. what's wrong with the auto route?
Check your routes:
Code: $ php spark routes (02-13-2024, 02:54 AM)kenjis Wrote: Check your routes: (02-13-2024, 03:05 AM)kenjis Wrote: This bug? I'm trying to upgrade from v4.3.6 to v4.3.7 but the error I said appears. In previous version is no problem.
Run step debugging with your IDE, and find out the cause.
(02-13-2024, 02:54 AM)kenjis Wrote: Check your routes: (02-15-2024, 07:41 PM)kenjis Wrote: Run step debugging with your IDE, and find out the cause. I've identified the issue. My route configuration currently stands as follows: PHP Code: $routes->cli('serial/(:any)', '\App\Cron\Serial::$1'); How can I effectively pass the value of $1? |
Welcome Guest, Not a member yet? Register Sign In |