Closed KelvynCarbone closed 9 months ago
Command to generate: php artisan scribe:generate --env docs
Solved, when you upgrade v2 to v4 you need to delete scribe.php config and scribe views on resources/views/vendor/scribe
Glad you fixed it, thanks for sharing!
Scribe version
4.26
PHP version
8.1
Framework
Laravel
Framework version
Laravel 9
Scribe config
What happened?
Undefined variable $hasRequestOptions (View: /Users/kelvyncarbone/Desktop/www/edustore/resources/views/vendor/scribe/partials/example-requests/php.blade.php) (View: /Users/kelvyncarbone/Desktop/www/edustore/resources/views/vendor/scribe/partials/example-requests/php.blade.php) (View: /Users/kelvyncarbone/Desktop/www/edustore/resources/views/vendor/scribe/partials/example-requests/php.blade.php) (View: /Users/kelvyncarbone/Desktop/www/edustore/resources/views/vendor/scribe/partials/example-requests/php.blade.php)
Docs