I'm running Laravel on Digital Ocean and trying to use Mailgun. Everything is configured correctly but when I try to run my script I get the error
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR)
Class 'GuzzleHttp\Client' not found
on Symfony\Component\Debug\Exception\FatalErrorException
…/vendor/laravel/framework/src/Illuminate/Mail/Transport/MailgunTransport.php122
Has anybody encountered this issue?
Related
I have a problem when I want to create an entity under symfony 5.1.9 (I have the same problem under sf 4.4). I recently created a new SF project and still have the same concerns. The error message is as follows: In Validator.php line 158:
Argument 2 passed to Symfony \ Bundle \ MakerBundle \ Validator :: validateDoctrineFieldName () must be an instance of Doctrine \ Common \ Persistence \ ManagerRegistry, instance of Doctrine \ Bundle \ DoctrineBundle \ Registry given, called in D: \ phpProject \ API-bills \ vendor \ sy
mfony \ maker-bundle \ src \ Maker \ MakeEntity.php on line 303.
Thanks for help
It seems like the latest version is having some troubles. The easy fix for now is to modify your composer.json file and "downgrade" the doctrine/doctrine-bundle, from version ^2.1 to 2.1.0. After making this change, run composer update and everything should work.
As Florian said, referer to the maker bundle issues to see the complete reference on this error.
I have a laravel4 project with php5.4 and apache up and running with no problems after dockerizing it, it hits
Illuminate \ Session \ TokenMismatchException
Is there any dependency or module or anything I should lookup for to overcome this problem ??
PS: I enabled mod_session and i don't know if it is relevant or not and I'm using docker-compose for mysql
on my server, PDO drivers are installed.
http://randani.com/test.php
but on my sub-domain I got this error message:
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Class 'PDO' not found
my sub-domain:
http://dev.randani.com/
where is my wrong?
return Redirect::to('')
->with('message',SiteHelpers::alert('success','Password has been saved!'));
I am getting error in above line saying that
Symfony \ Component \ Debug \ Exception \ FatalErrorException
(E_UNKNOWN)
Class 'SiteHelpers' not found
I kept SiteHelper.php in this path /var/www/html/login_session/app/library
I added "app/library" in my composer.json and run composer install in my terminal
I'm using L5(dev version) and trying to create package.
Doing `php artisan workbench za-web/Sidebar --resources
It's creating for me structure and service provider.
And then I'm trying to add service provider to app/config.php
'ZaWeb\Sidebar\SidebarServiceProvider'
I've got the error:
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR)
Class 'ZaWeb\Sidebar\SidebarServiceProvider' not found
Also was trying to do composer dump-autoload but it doesn't helped.
I've figured out whats wrong, theres no autoload seciton for workmench directory in bootstrap/autoload.php
I've add it and not everything ok.
if (is_dir($workbench = __DIR__.'/../workbench'))
{
Illuminate\Workbench\Starter::start($workbench);
}