| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Getting error when trying to delete an anonymous order | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Browser error:
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) Call to a member function getId() on a non-object Log file error: [02-Jun-2015 23:44:08 Europe/Paris] PHP Fatal error: Call to a member function getId() on a non-object in C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\Admin\OrderList.php on line 331 [02-Jun-2015 23:44:08 Europe/Paris] PHP Stack trace: [02-Jun-2015 23:44:08 Europe/Paris] PHP 1. {main}() C:\wamp\www\xcart54\admin.php:0 [02-Jun-2015 23:44:08 Europe/Paris] PHP 2. XLiteAbstract->processRequest() C:\wamp\www\xcart54\admin.php:39 [02-Jun-2015 23:44:08 Europe/Paris] PHP 3. XLiteAbstract->runController() C:\wamp\www\xcart54\var\run\classes\XLiteAbstract. php:515 [02-Jun-2015 23:44:08 Europe/Paris] PHP 4. XLite\Controller\Admin\AAdmin->handleRequest() C:\wamp\www\xcart54\var\run\classes\XLiteAbstract. php:490 [02-Jun-2015 23:44:08 Europe/Paris] PHP 5. XLite\Module\QSL\CloudSearch\Controller\AControlle r->handleRequest() C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\Admin\AAdmin.php:140 [02-Jun-2015 23:44:08 Europe/Paris] PHP 6. XLite\Controller\AControllerAbstract->handleRequest() C:\wamp\www\xcart54\var\run\classes\XLite\Module\Q SL\CloudSearch\Controller\AController.php:49 [02-Jun-2015 23:44:08 Europe/Paris] PHP 7. XLite\Controller\AControllerAbstract->run() C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\AControllerAbstract.php:504 [02-Jun-2015 23:44:08 Europe/Paris] PHP 8. XLite\Controller\Admin\AAdmin->callAction() C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\AControllerAbstract.php:1304 [02-Jun-2015 23:44:08 Europe/Paris] PHP 9. XLite\Controller\AControllerAbstract->callAction() C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\Admin\AAdmin.php:225 [02-Jun-2015 23:44:08 Europe/Paris] PHP 10. XLite\Controller\Admin\OrderList->doActionUpdate() C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\AControllerAbstract.php:1285 [02-Jun-2015 23:44:08 Europe/Paris] PHP 11. XLite\Controller\Admin\OrderList->getOrdersChanges() C:\wamp\www\xcart54\var\run\classes\XLite\Controll er\Admin\OrderList.php:210 [02-Jun-2015 23:44:08] Error (code: 1): Call to a member function getId() on a non-object Server API: apache2handler; Request method: POST; URI: /xcart54/admin.php?target=order_list; Backtrace: #0 Includes\ErrorHandler::logInfo() called at [C:\wamp\www\xcart54\Includes\ErrorHandler.php:332] #1 Includes\ErrorHandler::handleError() called at [C:\wamp\www\xcart54\Includes\ErrorHandler.php:317] #2 Includes\ErrorHandler::shutdown()
__________________
xCart 5.2.16 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Just tried the same on 5.2.5 and did not get such error. Could you please try to upgrade your store and let me know if the problem is still there after that?
Thank you.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() The upgrade did not fix the issue. It is happening on anonymous orders and registered orders.
__________________
xCart 5.2.16 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() I have tried to reproduce the issue on my local 5.2.5 installation and don't see the problem too - I can delete orders and the error does not appear.
Did you contact our support staff at https://secure.x-cart.com/ ? They can debug the problem right on your server.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() Ok, it looks like when the orders were imported the "payment_status_id" and "shipping_status_id" where switched to NULL. That is the reason for the error.
__________________
xCart 5.2.16 |
|||||||
#6
|
|||||||
|
|||||||
![]() An error occurred in your store.
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) Call to a member function getId() on a non-object How did you fix it?
__________________
x-cart 5 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
Please share the full text of the error message.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|