| View previous topic :: View next topic |
| Author |
Message |
madmanx
Joined: 06 Mar 2011 Posts: 4
|
Posted: Fri Jun 01, 2012 12:59 pm Post subject: Unexpected Token Error |
|
|
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 |
|
Brian ShipWorks Staff
Joined: 30 Jul 2004 Posts: 3608
|
Posted: Tue Jun 05, 2012 9:43 am Post subject: |
|
|
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 |
|
|