Call to undefined method Laravel\Lumen\Application::post() - php

Im trying to implement passport in lumen by using dusterio repo.
But when i do a migrate command (php artisan migrate), i got an error looks like :
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Laravel\Lumen\Application::post()
somebody could help, what's wrong here?

Related

Creating middleware throwing error

really new to laravel. Im using laravel 5.2. im trying to create a new middleware using "php artisan make:middleware MiddlewareName" but it gives me the following error :
Catchable fatal error: Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of
Illuminate\Http\Request, null given, called in
C:\xampp\htdocs\dms\vendor\laravel\framework\src\Illuminate\Routing\RoutingServ
iceProvider.php on line 62 and defined in
C:\xampp\htdocs\dms\vendor\laravel\fra
mework\src\Illuminate\Routing\UrlGenerator.php on line 103
Can anyone please help. Thanks in advance.
This error is usually when you have routes outside the 'web' middleware. Kindly check your routes if you have any that is outside.

FatalErrorException in Manager.php line 139 on Laravel 5.4

After upgrade Laravel 5.3 to Laravel 5.4
Show me this error
FatalErrorException in Manager.php line 138:
Call to undefined method Illuminate\Session\Store::set()
All calls to the ->set() method should be changed to ->put(). Typically, Laravel applications would never call the set method since it has never been documented within the Laravel documentation. However, it is included here out of caution.
Topic in documentation
Sessions
Symfony Compatibility
for more information to read laravel 5.4 documentation Documentation

FuelPHP call to undefined method

When I run php oil test on Mac
under FuelPHP framework, I get an error:
Error - Call to undefined method PHPUnit_Util_Filesystem::fileExistsInIncludePath() in /Applications/XAMPP/xamppfiles/lib/php/PHPUnit/Autoload.php on line 205
Does anyone know how to fix it?

Laravel 5 migration create table, got error class 'illuminate\database\schema' not found

When I run php artisan migrate, I get the following error:
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Illuminate\database\schema' not found
How can I solve this?
There no Illuminate\Database\Schema, you're most likely want to use Illuminate\Support\Facades\Schema.

Symfony 2, getting an error when trying to execute doctrine 2 commands

I am getting an error when trying to execute any doctrine 2 commands (even when trying to execute "help" or "list" commands).
It has been working okey till i tried to create a new Repository class. Since that moment, i only get this error:
[Symfony\Component\Debug\Exception\ContextErrorException]
Notice: Undefined index: algorithm in C:\Archivos de programa\PostgreSQL\En
terpriseDB-ApachePHP\apache\www\SymAhorro\vendor\symfony\symfony\src\Symfon
y\Bundle\SecurityBundle\DependencyInjection\SecurityExtension.php line 444
Does someone know which can be the problem?

Categories