Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » ShipWorks 2

Post new topic   Reply to topic
Unexpected Token Error
View previous topic :: View next topic  
Author Message
madmanx



Joined: 06 Mar 2011
Posts: 4

PostPosted: Fri Jun 01, 2012 12:59 pm    Post subject: Unexpected Token Error Reply with quote

Issue Resolved!
The issue has been resolved. I was playing with paypal pament methods before. I ended up disabling it because it wasnt working. I deleted the orders that involved that payment method and everything worked fine again.


I am getting this error out of nowhere when im importing Magento store. The module is not corrupt and shipworks still works fine with my other magneto store. Here is the a screenshot. Does anyone have any idea?

I looked in the shipworks log and this is the error


XML Parsing Error: no element found
Location: file:///C:/Program%20Files%20(x86)/ShipWorks/Log/June%2001,%202012%20-%201302/Magento/0021%20-%20getorders%20-%20(Response).xml
Line Number 2, Column 150:Fatal error: Call to a member function getTitle() on a non-object in /public_html/shipworks.php on line 429<br />
--------------------------------

This is whats on that line
writeElement("Method", Mage::helper('payment')->getMethodInstance($payment->getMethod())->getTitle());

---------------------------------------------------------------------------------------------------------------------^



Back to top
View user's profile
Brian
ShipWorks Staff


Joined: 30 Jul 2004
Posts: 3608

PostPosted: Tue Jun 05, 2012 9:43 am    Post subject: Reply with quote

You could comment out that line of the module if you aren't concerned with getting the payment method downloaded into ShipWorks.

I'm not sure why that particular line would be having an issue just for that one store.

Brian
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » ShipWorks 2 All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group