Magento Forum

SOAP API - Call to undefined method Mage_Sales_Model_Mysql4_Order_Collection::addExpressionAttributeToSelect()
 
linn systems
Jr. Member
 
Total Posts:  1
Joined:  2010-06-23
 

Attempting to get order list using API command _sales_order_list

we get the following

<br />
<b>Fatal error</b>:  Call to undefined method Mage_Sales_Model_Mysql4_Order_Collection::addExpressionAttributeToSelect() in <b>/home/electrol/public_html/app/code/core/Mage/Sales/Model/Order/Api.php</b> on line <b>80</b><br />

This issue is not isolated to a specific site and occures on all implementations of Magento we have seen,

 
Magento Community Magento Community
Magento Community
Magento Community
 
BjoneMan
Member
 
Total Posts:  45
Joined:  2009-03-04
 

I’m facing the same problem with Magento 1.4.1.0!

Is there any solution or bug known?

 
Magento Community Magento Community
Magento Community
Magento Community
 
poltrian
Sr. Member
 
Total Posts:  122
Joined:  2008-12-21
 

look here http://www.magentocommerce.com/boards/viewthread/197143/

 
Magento Community Magento Community
Magento Community
Magento Community
 
mrploddy
Jr. Member
 
Total Posts:  13
Joined:  2010-02-05
 

For anyone with this problem check that you don’t have any payment extensions overloading the core API for example ebizmarts Sagepay module does this in their latest RC which i’ve just fixed so check in the extensions model as you might need to change some method names in there to addExpressionFieldtoSelect.

-mrploddy

 
Magento Community Magento Community
Magento Community
Magento Community
 
Weis
Member
 
Avatar
Total Posts:  44
Joined:  2009-02-27
Kiev, Ukraine
 

It’s Core bug and it’s already fixed.
Will be included to the next Magento version.

 
Magento Community Magento Community
Magento Community
Magento Community
 
chatlumo
Guru
 
Total Posts:  301
Joined:  2008-02-20
Paris
 

Ok, but with no news about a near next update, could we know how to fix that temporary ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
poltrian
Sr. Member
 
Total Posts:  122
Joined:  2008-12-21
 

look at these. http://www.magentocommerce.com/boards/viewthread/197143/

 
Magento Community Magento Community
Magento Community
Magento Community
 
dmose
Jr. Member
 
Total Posts:  9
Joined:  2010-07-07
 

I’m seeing this bug in Magento PE 1.8.0

 
Magento Community Magento Community
Magento Community
Magento Community
 
jlenz
Jr. Member
 
Total Posts:  8
Joined:  2010-05-12
 

not fixed.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ranveer Kaswan
Jr. Member
 
Total Posts:  9
Joined:  2010-04-29
Jaipur
 

Hi guys,

I am also facing this problem in my website.Do you guys have any solutions.<b>still not fixed this issue in newer magento CE or magento EE </b>

Fatal error: Call to undefined method Mage_Sales_Model_Mysql4_Order_Collection::addExpressionAttributeToSelect() in /home/abc/public_html/abc/app/code/local/MDN/ProductReturn/Block/Admin/GridOrder.php on line 43

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
magentazm
Jr. Member
 
Total Posts:  29
Joined:  2010-01-31
 

Can someone please confirm / deny whether this is fixed in 1.4.1.1, as I’m trying to work out whether the Sep 23 FAQ entry here - http://www.shipwire.com/help/magento-order-fulfillment/#IV - is now outdated and the problem has been fixed.

 
Magento Community Magento Community
Magento Community
Magento Community
 
joshuajarman
Sr. Member
 
Avatar
Total Posts:  76
Joined:  2009-04-08
 

I\’m getting this in 1.4.2, Anybody found a solution?

 
Magento Community Magento Community
Magento Community
Magento Community
 
rainmakercommerce
Jr. Member
 
Total Posts:  16
Joined:  2010-04-01
 
joshuajarman - 21 December 2010 12:47 AM

I\’m getting this in 1.4.2, Anybody found a solution?

Same here. Trying to track down a solution. Will post it here if I figure it out.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top