-
Notifications
You must be signed in to change notification settings - Fork 103
Internal error: Call to a member function dispatch() on null #425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please provide a more complete example. The entities do not contain all the data. I tried to reproduce your problem, but couldn't: 148fd32 The type inference currently returns "mixed" because the DQL is surely wrong, there are missing columns. Maybe if you add more columns to the entities, it's gonna crash with a fatal error. I'd be fine with a PR that shows the crash. |
I'll provide more details at the end of this week! |
Sorry for late reply. I tried reproducing my issue in #429, but I can't. Probably the issue is a combination of using old doctrine related libs (I'm currently forced to use): symfony composer info doctrine/*
doctrine/annotations 1.14.2 Docblock Annotations Parser
doctrine/cache 1.13.0 PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.
doctrine/collections 1.8.0 PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common 2.13.3 PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, persistence interfaces, proxies, ev...
doctrine/data-fixtures 1.5.4 Data Fixtures for all Doctrine Object Managers
doctrine/dbal 2.13.9 Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations v1.0.0 A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.
doctrine/doctrine-bundle 1.12.13 Symfony DoctrineBundle
doctrine/doctrine-cache-bundle 1.4.0 Symfony Bundle for Doctrine Cache
doctrine/doctrine-fixtures-bundle 3.4.2 Symfony DoctrineFixturesBundle
doctrine/doctrine-migrations-bundle v1.3.2 Symfony DoctrineMigrationsBundle
doctrine/event-manager 1.2.0 The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/inflector 1.4.4 PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.
doctrine/instantiator 1.5.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 1.2.3 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations v1.8.1 Database Schema migrations using Doctrine DBAL
doctrine/orm 2.7.5 Object-Relational-Mapper for PHP
doctrine/persistence 1.3.8 The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.
doctrine/reflection 1.2.3 The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection functionality that comes with PHP... I'm very sorry for stealing your time. I think this can be closed. Would you mind to remove the added files? Or should I? |
No problem, thanks. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Uh oh!
There was an error while loading. Please reload this page.
I'm running into a similar issue - same conclusion. It's broken since v1.3.29 and my wild guess would be this commit 4490e56
Here's my stack trace:
my dynamic query:
Originally posted by @mvhirsch in #422 (comment)
The text was updated successfully, but these errors were encountered: