Fatal error: Uncaught TypeError: Argument 1 passed to Model::calculateDiscountForOrder() must be of the type array, null given, called in /private/app/class/Schema/SchemaModelOrders.php on line 55 and defined in /private/app/class/Model.php:5495 Stack trace: #0 /private/app/class/Schema/SchemaModelOrders.php(55): Model->calculateDiscountForOrder(NULL, NULL) #1 /private/app/class/Schema/Schema.php(68): Intellect\Schema\SchemaModelOrders::getData(Array, Array) #2 /private/app/class/View/View.php(899): Intellect\Schema\Schema::getData('orders', Array, Array) #3 /private/app/class/View/View.php(286): Intellect\View\View->processDataShemas(Array) #4 /private/app/class/App.php(771): Intellect\View\View->render() #5 /index.php(34): Intellect\App->run() #6 {main} thrown in /private/app/class/Model.php on line 5495