OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

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 8 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #26650

    kevando
    Participant

    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=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:ns1=”urn:Magento” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” SOAP-ENV:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”><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=”http://schemas.xmlsoap.org/soap/envelope/”><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
    Replies
  • #26651

    kevando
    Participant

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

    #26652

    kevando
    Participant

    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/www.frameri.com/public/app/code/core/Mage/Eav/Model/Entity/Abstract.php

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

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

The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top