Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 8 comments

2 participants

@doctrinebot

Jira issue originally created by user haneefatp:

syntax error, unexpected ''sidebarbann' (T_ENCAPSED_ANDWHITESPACE), 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
EPARSE: syntax error, unexpected ''sidebar_bann' (T_ENCAPSED_ANDWHITESPACE), expecting ']'

@doctrinebot

Comment created by haneefatp:

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

@doctrinebot

Comment created by @ocramius:

Could you provide the DQL?

@doctrinebot

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

Comment created by @ocramius:

Not an ORM issue

@doctrinebot

Issue was closed with resolution "Invalid"

@doctrinebot

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

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

Comment created by haneefatp:

Thank you so much!

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.