Cannot find 'Number' field view in any of the regular locations. #840
-
Hi, I made a new crud and deployed it to my production. When accessing this crud i get this error message when clicking on Edit or Add new .. from the SetupListOperation part of the crud to show the setupCreateOperation. Cannot find 'Number' field view in any of the regular locations. (500 ERROR) In my laravel log on the production i have the following errors during and after the latest deployment, [2024-02-16 00:59:39] production.ERROR: scandir(/home/forge/lastminutecharter.eu/vendor/backpack/crud/src/config/backpack/operations/): Failed to open directory: No such file or directory {"exception":"[object] (ErrorException(code: 0): scandir(/home/forge/lastminutecharter.eu/vendor/backpack/crud/src/config/backpack/operations/): Failed to open directory: No such file or directory at /home/forge/lastminutecharter.eu/vendor/backpack/crud/src/BackpackServiceProvider.php:233) Can anyone led me in the direction of what has gone wrong and how to fix it. All of my old cruds works fine after deployment except for an issue with images not showing correct (disk is added twice to the images url) (have added this as anothert discussion). Have run PHP artisan Cache, config and view clear. I have checked that the number field view (number.blade.php) is in /home/forge/lastminutecharter.eu/vendor/backpack/crud/src/resources/views/crud/fields on my web servers in production. I am on CRUD 6.6.3, PRO 2.1.3, theme-coreuiv2 1.2.3, PHP 8,2, Laravel 10.44 and using Forge for deployment. I have Composer Package Authentication setup for Backpack Pro on all servers where the code is deployed to and composer update have been run on all servers as part of the deployment (as composer lock was changed). The CRUDS work fine in my development environment (same versions but running on Laradock). Let me know if you need other information. /jens |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @lieto-dk you have Let me know if that was the issue. 🙏 |
Beta Was this translation helpful? Give feedback.
-
Hey @lieto-dk you have Number (with capital "N"), shoud be "n", "number". Let me know if that was the issue. It was ! |
Beta Was this translation helpful? Give feedback.
Hey @lieto-dk you have
Number
(with capital "N"), shoud be "n", "number".Let me know if that was the issue.
🙏