This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.2 » Problem with Left Join
Problem with Left Join [message #102475] Wed, 14 July 2010 16:30 Go to next message
xare  is currently offline xare
Messages: 14
Registered: June 2010
Junior Member
Hello I am running a quite complicated query on symfony - propel.

But when I change an INNER JOIN clause by a LEFT JOIN clause I get the following message

Fatal Error: Call to a member function getId() on a non-object

So far I can find the generated query in my logs and run it in phpmyadmin where no error gets generated.

It is true that the id column retrieved by getId gives a null result.

Thanks if you can help me..
Re: Problem with Left Join [message #102477 is a reply to message #102475 ] Wed, 14 July 2010 17:51 Go to previous message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Suggest you supply the relevant chunk of code, in [code] tags please.

Remember Palestine
Previous Topic:insert record into two tables at the same time
Next Topic:Doctrine I18N SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'mid' cannot be null..???
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software