Attempt to read property "ticket_title" on bool – Laravel
I have this problem when I want to open specific page by id. now I am trying to shown title on my page with specific id, which have post in db, but that error stopped me. there are my code.…
I have this problem when I want to open specific page by id. now I am trying to shown title on my page with specific id, which have post in db, but that error stopped me. there are my code.…
first of all im new to laravel, second i cloned a project from GitHub I'm trying to start my laravel development server with| php artisan serve but it gives me this error: php artisan serve Starting Laravel development server: http://127.0.0.1:8000…
Undefined array key 1 at D:App-PHPxampp_php_8htdocstest-projectvendorlaravelframeworksrcIlluminateFoundationConsoleServeCommand.php:289 285▕ protected function getDateFromLine($line) 286▕ { 287▕ preg_match('/^[([^]]+)]/', $line, $matches); 288▕ ➜ 289▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]); 290▕ } 291▕ 292▕ /** 293▕ * Get the request port from the given…
please i want know In detail step by step please i will install plugin in script Written on the plugin site Run from the project root directory: composer dump-autoload php artisan rout:clear how can i do it please I have…
Laravel version: 6.20.44 I have the following command with an optional date param: protected $signature = 'do-my-thing {--date?=}'; I look to see if the option has been set: $dateToDoThing = $this->option('date'); and if it set, I want to use the…
So recently I deployed my laravel project. But it can't connect to the database. I'm using sqlite and have already created the database.sqlite file(Inside database folder). Local everything works but remote it can't find the file. I have already tried…
I write php artisan migrate:fresh --seed in the console of the root folder of a project, when I run this command, it takes near to 1 minute then it returns In PackageServiceProvider.php line 14: syntax error, unexpected 'Package' (T_STRING), expecting…
hi guys I need help for this case I can't run laravel 5.7 on php8, when I do "php artisan serve" I got error: thrown in /var/www/html/myProject/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 838 PHP Fatal error: Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in…
[SOLVED] i new to Laravel and PHP. i tried to migrate my own migrations but i can't. this my laravel and php information: my php info PHP 8.0.3 (cli) (built: Mar 4 2021 05:33:14) ( NTS ) Composer version 2.0.11…
When I run the php artisan migrate command in terminal I'm left with this. ParseError syntax error, unexpected ')' at C:laragonwwwtestnum2vendorlaravelframeworksrcIlluminateBusBusServiceProvider.php:51 47▕ return new DatabaseBatchRepository( 48▕ $app->make(BatchFactory::class), 49▕ $app->make('db')->connection(config('queue.batching.database')), 50▕ config('queue.batching.table', 'job_batches'), ➜ 51▕ ); 52▕ }); 53▕ } 54▕…