Closed tabacitu closed 1 year ago
Note: this functionality is completely removed in https://github.com/Laravel-Backpack/theme-tabler/pull/60 - so if that gets merged, this problem goes away.
I've just merged https://github.com/Laravel-Backpack/theme-tabler/pull/60 so this issue goes away 🎉
After having installed theme-tabler and publishing the config, I can no longer run artisan commands. If I try to do that, even
php artisan optimize:clear
, I get a big fat error in the terminal,which I’ve tracked down to be because of the theme-tabler config file, specifically line 59 where we use the url() helper.
I don’t think we can do that. And we can’t use the backpack_url() helper either because then we’d get “_Call to undefined function backpackurl()”.
So the only thing we CAN do, I think, is to turn the “urlsUsingOverLapEffect” config in theme-tabler.php from a list of FULL urls to a list of URLs that we will pass to url(). That should allow us to do the same thing, without triggering this error.