Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums Forums OroCRM OroCRM – Installation/Technical Issues or Problems Call to a member function setFinalPrice() on a non-object

This topic contains 2 replies, has 1 voice, and was last updated by  kevando 2 years, 3 months ago.

  • Creator
  • #23959


    Hello — I am syncing with my Magento store and during the full re-sync I keep getting this error. I think it has something to do with a corrput entry in the sales_flat_quote table. I say this because I would sometimes get this error during development and deleting the most recent quote would fix it.

    [2015-09-11 09:38:27] batch.INFO: Step execution starting: id=0, name=[import], status=[2], exitCode=[EXECUTING], exitDescription=[], readCount=0, writeCount=0, filterCount=0 [] []
    [2015-09-11 09:38:36] batch.ERROR: Encountered an error executing the step:
    [message] Call to a member function setFinalPrice() on a non-object
    [request] <?xml version=”1.0″ encoding=”UTF-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=”” xmlns:ns1=”urn:Magento” xmlns:xsd=”” xmlns:xsi=”” xmlns:SOAP-ENC=”” SOAP-ENV:encodingStyle=””><SOAP-ENV:Body><ns1:oroQuoteList><sessionId xsi:type=”xsd:string”>bd30a9f0c9e85cc4f0d5fc592930df48</sessionId><filters xsi:type=”ns1:filters”><complex_filter SOAP-ENC:arrayType=”ns1:complexFilter[2]” xsi:type=”ns1:complexFilterArray”><item xsi:type=”ns1:complexFilter”><key xsi:type=”xsd:string”>created_at</key><value xsi:type=”ns1:associativeEntity”><key xsi:type=”xsd:string”>from</key><value xsi:type=”xsd:string”>2015-09-04 13:32:50</value></value></item><item xsi:type=”ns1:complexFilter”><key xsi:type=”xsd:string”>created_at</key><value xsi:type=”ns1:associativeEntity”><key xsi:type=”xsd:string”>to</key><value xsi:type=”xsd:string”>2015-09-11 13:32:50</value></value></item></complex_filter></filters><pager xsi:type=”ns1:pager”><page xsi:type=”xsd:string”>1</page><pageSize xsi:type=”xsd:string”>100</pageSize></pager></ns1:oroQuoteList></SOAP-ENV:Body></SOAP-ENV:Envelope>

    [response] <?xml version=”1.0″ encoding=”UTF-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=””><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Call to a member function setFinalPrice() on a non-object</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

    [code] 500

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #23960


    Is there a way to add some verbose logging, so I can see which order or quote causes this fatal error?



    I’m also seeing this error in the magento (CE 1.7) logs when I run the sync

    2015-09-11T18:46:15+00:00 DEBUG (7): Invalid argument supplied for foreach()/var/vhosts/public_html/

    I see this debug entry about 20 times. Not sure if it’s related..

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.