The exception Laravel\Folio\Exceptions\PossibleDirectoryTraversal suggests that there might be an issue with the file path or directory structure in your Folio installation.
Here are a few steps you can try to resolve the issue:
-
Make sure you have the latest version of Laravel Folio installed. Run the following command to update the package:
composer update laravel/folio -
Check if the
user/profileFolio page exists in the correct directory. By default, Folio pages are stored in theresources/folio/pagesdirectory. Verify that theuser/profile.blade.phpfile exists in that location. -
Ensure that the route for the Folio page is properly defined. Open the
routes/folio.phpfile and check if the route foruser/profileis present. It should look something like this:Route::folio('user/profile'); -
Clear the Laravel cache by running the following command:
php artisan cache:clear -
If you're using Laragon, make sure that the Apache web server is properly configured and running. Check the Laragon documentation for any specific configuration steps required for Laravel Folio.
If the issue persists, it might be helpful to provide more details about your directory structure, Laravel version, and any additional error messages you encounter.