DDC-3064: Parse Error which is pointing to the method getSingleResult(); #3803

Closed
opened 2026-01-22 14:28:15 +01:00 by admin · 8 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 2, 2014).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user haneefatp:

syntax error, unexpected ''sidebar_bann' (T_ENCAPSED_AND_WHITESPACE), expecting ']'

TracedError reported from New Relic
Application: ENV2
Timestamp: 02/26/14 10:49:15
Exception Class: E_PARSE
Error Action: /index.php
Uri: /blog
Error message
E_PARSE: syntax error, unexpected ''sidebar_bann' (T_ENCAPSED_AND_WHITESPACE), expecting ']'

Originally created by @doctrinebot on GitHub (Apr 2, 2014). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user haneefatp: syntax error, unexpected ''sidebar_bann' (T_ENCAPSED_AND_WHITESPACE), expecting ']' TracedError reported from New Relic Application: ENV2 Timestamp: 02/26/14 10:49:15 Exception Class: E_PARSE Error Action: /index.php Uri: /blog Error message E_PARSE: syntax error, unexpected ''sidebar_bann' (T_ENCAPSED_AND_WHITESPACE), expecting ']'
admin added the Bug label 2026-01-22 14:28:15 +01:00
admin closed this issue 2026-01-22 14:28:16 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by haneefatp:

Please help me to find out the cause of this issue.
Thanks!

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by haneefatp: Please help me to find out the cause of this issue. Thanks!
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by @ocramius:

Could you provide the DQL?

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by @ocramius: Could you provide the DQL?
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by haneefatp:

I don't have the DQL as this error was logged by newrelic, see the zend stack trace here
…dor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/
HydratorFactory.php (144)
…dor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/
in Doctrine\ODM\MongoDB\Hydrator\HydratorFactory::getHydratorFor called at /vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php
HydratorFactory.php (404)
/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/
UnitOfWork.php (2518)
/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/
Cursor.php (118)
in Doctrine\ODM\MongoDB\Cursor::current called at ? (?)
…alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/
Cursor.php (371)
…alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/
Cursor.php (419)
…alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/
Cursor.php (372)
…alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/
Cursor.php (384)
… at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Query/
Query.php (277)

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by haneefatp: I don't have the DQL as this error was logged by newrelic, see the zend stack trace here …dor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/ HydratorFactory.php (144) …dor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/ in Doctrine\ODM\MongoDB\Hydrator\HydratorFactory::getHydratorFor called at /vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php HydratorFactory.php (404) /vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/ UnitOfWork.php (2518) /vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/ Cursor.php (118) in Doctrine\ODM\MongoDB\Cursor::current called at ? (?) …alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/ Cursor.php (371) …alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/ Cursor.php (419) …alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/ Cursor.php (372) …alled at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/ Cursor.php (384) … at /vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Query/ Query.php (277)
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by @ocramius:

Not an ORM issue

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by @ocramius: Not an ORM issue
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Apr 2, 2014): Issue was closed with resolution "Invalid"
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by haneefatp:

Can you just light me on this issue? what would I need to do? It is happening when I add a domain name(xxx.extample.com) in where condition. It would be great if you can help me.

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by haneefatp: Can you just light me on this issue? what would I need to do? It is happening when I add a domain name(xxx.extample.com) in where condition. It would be great if you can help me.
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by @ocramius:

[~haneefatp] this is an issue tracker, not a support forum. You report issues here once you verified that it is actually a bug, a mistake on our side or something that has to be added or cleaned up in future versions of the software.

Your issue is a problem with MongoDB ODM (not with the ORM), and you should ask on either the mailing list (once you have more detail) or stackoverflow, or IRC (irc.freenode.net#doctrine).

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by @ocramius: [~haneefatp] this is an issue tracker, not a support forum. You report issues here once you verified that it is actually a bug, a mistake on our side or something that has to be added or cleaned up in future versions of the software. Your issue is a problem with MongoDB ODM (not with the ORM), and you should ask on either the mailing list (once you have more detail) or stackoverflow, or IRC (irc.freenode.net#doctrine).
Author
Owner

@doctrinebot commented on GitHub (Apr 2, 2014):

Comment created by haneefatp:

Thank you so much!

@doctrinebot commented on GitHub (Apr 2, 2014): Comment created by haneefatp: Thank you so much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3803