Closed TheuDeXter closed 4 years ago
When confirming the order this error is occurring, what should I do? thanks!
Error Argument 2 passed to Admin\ActivityTypes\OrderStatusUpdated::construct() must be an instance of Igniter\Flame\Auth\Models\User, null given, called in /home4/acaido48/public_html/app/admin/activitytypes/OrderStatusUpdated.php on line 42" on line 23 of /home4/acaido48/public_html/app/admin/activitytypes/OrderStatusUpdated.php#0 /home4/acaido48/public_html/app/admin/activitytypes/OrderStatusUpdated.php(42): Admin\ActivityTypes\OrderStatusUpdated->construct(Object(Igniter\Cart\Models\Orders_model), NULL) #1 /home4/acaido48/public_html/app/admin/models/Status_history_model.php(121): Admin\ActivityTypes\OrderStatusUpdated::log(Object(Igniter\Cart\Models\Orders_model)) #2 /home4/acaido48/public_html/app/admin/models/Status_history_model.php(109): Admin\Models\Status_history_model::logStatusUpdated(Object(Igniter\Cart\Models\Orders_model)) #3 /home4/acaido48/public_html/app/admin/traits/LogsStatusHistory.php(50): Admin\Models\Status_history_model::createHistory(Object(Admin\Models\Statuses_model), Object(Igniter\Cart\Models\Orders_model), Array) #4 /home4/acaido48/public_html/app/admin/models/Orders_model.php(257): Admin\Models\Orders_model->addStatusHistory(Object(Admin\Models\Statuses_model), Array) #5 /home4/acaido48/public_html/extensions/igniter/payregister/payments/Cod.php(32): Admin\Models\Orders_model->updateOrderStatus('1', Array) #6 [internal function]: Igniter\PayRegister\Payments\Cod->processPaymentForm(Array, Object(Admin\Models\Payments_model), Object(Igniter\Cart\Models\Orders_model)) #7 /home4/acaido48/public_html/vendor/tastyigniter/flame/src/Traits/ExtendableTrait.php(384): call_user_func_array(Array, Array) #8 /home4/acaido48/public_html/vendor/tastyigniter/flame/src/Database/Model.php(718): Igniter\Flame\Database\Model->extendableCall('processPaymentF...', Array) #9 /home4/acaido48/public_html/extensions/igniter/cart/classes/OrderManager.php(219): Igniter\Flame\Database\Model->__call('processPaymentF...', Array) #10 /home4/acaido48/public_html/extensions/igniter/cart/components/Checkout.php(172): Igniter\Cart\Classes\OrderManager->processPayment(Object(Igniter\Cart\Models\Orders_model), Array) #11 /home4/acaido48/public_html/app/system/classes/BaseComponent.php(134): Igniter\Cart\Components\Checkout->onConfirm() #12 /home4/acaido48/public_html/app/main/classes/MainController.php(416): System\Classes\BaseComponent->runEventHandler('onConfirm') #13 /home4/acaido48/public_html/app/main/classes/MainController.php(369): Main\Classes\MainController->runHandler('checkout::onCon...') #14 /home4/acaido48/public_html/app/main/classes/MainController.php(259): Main\Classes\MainController->processHandlers() #15 /home4/acaido48/public_html/app/main/classes/MainController.php(200): Main\Classes\MainController->runPage(Object(Main\Template\Page)) #16 /home4/acaido48/public_html/app/system/classes/Controller.php(84): Main\Classes\MainController->remap('checkout') #17 [internal function]: System\Classes\Controller->run('checkout') #18 /home4/acaido48/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array) #19 ....
IMG http://i.imgur.com/pKtdJAV.png
Fixed in v3.0.4-beta.20.1
When confirming the order this error is occurring, what should I do? thanks!
Error Argument 2 passed to Admin\ActivityTypes\OrderStatusUpdated::construct() must be an instance of Igniter\Flame\Auth\Models\User, null given, called in /home4/acaido48/public_html/app/admin/activitytypes/OrderStatusUpdated.php on line 42" on line 23 of /home4/acaido48/public_html/app/admin/activitytypes/OrderStatusUpdated.php#0 /home4/acaido48/public_html/app/admin/activitytypes/OrderStatusUpdated.php(42): Admin\ActivityTypes\OrderStatusUpdated->construct(Object(Igniter\Cart\Models\Orders_model), NULL) #1 /home4/acaido48/public_html/app/admin/models/Status_history_model.php(121): Admin\ActivityTypes\OrderStatusUpdated::log(Object(Igniter\Cart\Models\Orders_model)) #2 /home4/acaido48/public_html/app/admin/models/Status_history_model.php(109): Admin\Models\Status_history_model::logStatusUpdated(Object(Igniter\Cart\Models\Orders_model)) #3 /home4/acaido48/public_html/app/admin/traits/LogsStatusHistory.php(50): Admin\Models\Status_history_model::createHistory(Object(Admin\Models\Statuses_model), Object(Igniter\Cart\Models\Orders_model), Array) #4 /home4/acaido48/public_html/app/admin/models/Orders_model.php(257): Admin\Models\Orders_model->addStatusHistory(Object(Admin\Models\Statuses_model), Array) #5 /home4/acaido48/public_html/extensions/igniter/payregister/payments/Cod.php(32): Admin\Models\Orders_model->updateOrderStatus('1', Array) #6 [internal function]: Igniter\PayRegister\Payments\Cod->processPaymentForm(Array, Object(Admin\Models\Payments_model), Object(Igniter\Cart\Models\Orders_model)) #7 /home4/acaido48/public_html/vendor/tastyigniter/flame/src/Traits/ExtendableTrait.php(384): call_user_func_array(Array, Array) #8 /home4/acaido48/public_html/vendor/tastyigniter/flame/src/Database/Model.php(718): Igniter\Flame\Database\Model->extendableCall('processPaymentF...', Array) #9 /home4/acaido48/public_html/extensions/igniter/cart/classes/OrderManager.php(219): Igniter\Flame\Database\Model->__call('processPaymentF...', Array) #10 /home4/acaido48/public_html/extensions/igniter/cart/components/Checkout.php(172): Igniter\Cart\Classes\OrderManager->processPayment(Object(Igniter\Cart\Models\Orders_model), Array) #11 /home4/acaido48/public_html/app/system/classes/BaseComponent.php(134): Igniter\Cart\Components\Checkout->onConfirm() #12 /home4/acaido48/public_html/app/main/classes/MainController.php(416): System\Classes\BaseComponent->runEventHandler('onConfirm') #13 /home4/acaido48/public_html/app/main/classes/MainController.php(369): Main\Classes\MainController->runHandler('checkout::onCon...') #14 /home4/acaido48/public_html/app/main/classes/MainController.php(259): Main\Classes\MainController->processHandlers() #15 /home4/acaido48/public_html/app/main/classes/MainController.php(200): Main\Classes\MainController->runPage(Object(Main\Template\Page)) #16 /home4/acaido48/public_html/app/system/classes/Controller.php(84): Main\Classes\MainController->remap('checkout') #17 [internal function]: System\Classes\Controller->run('checkout') #18 /home4/acaido48/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array) #19 ....
IMG http://i.imgur.com/pKtdJAV.png