Unable to resolve plugin "doctrine" - php

I am using doctrine in my ZF project and when I run it I get the exception.
Exception message: Unable to resolve plugin "doctrine"; no
corresponding plugin with that name

Related

Shopware 6 Installation error: Identifier dbal not initialized yet

In setting up the database installation on localhost, When I get to the database Installation section I have this error
Error
Received an error message.
URL: importDatabase
Message: Internal Server Error
Please try to fix this error and restart the update.
Response
Slim Application Error
The application could not run because of the following error:
Details
Type: RuntimeException
Message: Identifier dbal not initialized yet
File: /var/www/html/vendor/shopware/recovery/Install/src/ContainerProvider.php
Line: 196
I have tried several solutions to no avail, especially this solution here a somewhat similar question here
Any help will be much appreciated

Symfony 3: Unable to find template

I've created an entity with generate:doctrine:entity and its controller too with generate:doctrine:crud.
All works well on local, but on the server I receive this error:
request.CRITICAL: Uncaught PHP Exception InvalidArgumentException:
"Unable to find template "entity/index.html.twig"
And the error is right, as there is no template for the entity and its actions.
But my question is: why on local Symfony "guesses" the template and anyway arranges a page while on remote it doesn't?
This error should appear also on local, why it isn't?

Doctrine file uploading error

Ran into a strange problem - after submitting a form via POST with enctype="multipart/form-data", Doctrine crashes with Fatal Error:
Fatal error: require(): Failed opening required '[PATH/TO/DOCTRINE]/Doctrine\Symfony\Component\HttpFoundation\File\UploadedFile.php' (include_path='.;H:\SERVER\php\PEAR') in [PATH/TO/DOCTRINE]\Doctrine\Common\ClassLoader.class.php on line 164
I don't use Symfony, but I use the Symfony HTTPFoundation and Doctrine separately. And it seems that the error happens when the code calls:
\Symfony\Component\HttpFoundation\Request::createFromGlobals();
I don't understand what does Doctrine have to do with this line...
UPD.
It wasn't autoloading the contents of Symfony HTTPFoundation "File" folder from HTTP Component, so once that was fixed it started working.
But why it was trying to access it via Doctrine Symfony component is still a mystery to me.

FatalErrorException: Error: Class 'Symfony\Component\Form\Exception\FormException' not found

When I tried to use ShtumiUsefulBundle's Ajax autocomplete type i got the following error..
FatalErrorException: Error: Class 'Symfony\Component\Form\Exception\FormException' not found in /var/www/example.com/vendor/Shtumi/UsefulBundle/Form/Type/AjaxAutocompleteType.php line 52
My project is Symfony2.3.
Please help.
ShtumiUsefulBundle is incompatible with your Symfony version. Try to find another bundle or implement your own for needed features or downgrade your Symfony to 2.0.

Laravel 4 ReflectionException error

exception 'ReflectionException' with message
Class Chrono\Services\Controllers\Frontend\KeywordController does not exist
in /home/legal/vendor/laravel/framework/src/Illuminate/Container/Container.php:296
I am installing a site on liquidweb.com and I am getting the above error.
Has anyone ever gotten this error before?
Don't forget to php composer dump-autoload
It seems that Laravel can't find this class, and won't initialize it.

Categories