Error during install: cannot redeclare gettranscriptfromapi()
Closed this issue · 1 comments
Laravel Package Version
1.0.18
Laravel Version
12
PHP Version
8.3
System Info
macOS, Herd, PHP 8.3
Description
I tried to install Boost, and got these errors:
php artisan boost:install
██████╗ ██████╗ ██████╗ ███████╗ ████████╗
██╔══██╗ ██╔═══██╗ ██╔═══██╗ ██╔════╝ ╚══██╔══╝
██████╔╝ ██║ ██║ ██║ ██║ ███████╗ ██║
██╔══██╗ ██║ ██║ ██║ ██║ ╚════██║ ██║
██████╔╝ ╚██████╔╝ ╚██████╔╝ ███████║ ██║
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝✦ Laravel Boost :: Install :: We Must Ship ✦
Let's give Rosenfeld a Boost
┌ Which code editors do you use to work on Rosenfeld? ─────────┐
│ Claude Code │
│ PhpStorm │
└──────────────────────────────────────────────────────────────┘┌ Which agents need AI guidelines for Rosenfeld? ──────────────┐
│ Claude Code │
│ Junie │
└──────────────────────────────────────────────────────────────┘Symfony\Component\ErrorHandler\Error\FatalError
Cannot redeclare App\Http\Controllers\AdminController::gettranscriptfromapi()
at app/Http/Controllers/LegacyControllers/AdminController.php:613
609▕
610▕ return view('admin.downloadvideos', compact('talks', 'community_calls', 'talks_count', 'community_calls_count', 'downloadresult'));
611▕ }
612▕
➜ 613▕ public function gettranscriptfromapi($video_id)
614▕ {
615▕Whoops\Exception\ErrorException
Cannot redeclare App\Http\Controllers\AdminController::gettranscriptfromapi()
at app/Http/Controllers/LegacyControllers/AdminController.php:613
609▕
610▕ return view('admin.downloadvideos', compact('talks', 'community_calls', 'talks_count', 'community_calls_count', 'downloadresult'));
611▕ }
612▕
➜ 613▕ public function gettranscriptfromapi($video_id)
614▕ {
615▕+1 vendor frames2 [internal]:0
Whoops\Run::handleShutdown()
`
Steps To Reproduce
- composer require laravel/boost --dev
- php artisan boost:install
I then removed the file (it was old and no longer used), and then it installed just fine.