Hi all, hope someone can help
Here’s the situation - Im working on an export module. When I login and select a few orders then my massaction option (export full details) - Everything goes file - no problems, my export file is created, message appears inviting me to download etc. Trouble is when I try it a second time it fails with the following error :
Call to a member function getName() on a non-object…
OK so I log out of admin, log back in and again, the export works - until I try it again.
Can anyone please help explain this issue? It’s very difficult to debug when the error only occurs every second time - of course this is a PHP error so i dont get any feedback in the magento error report file - just my php error file.