Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (int) 0 $masterServings = null $imageCount = (int) 0 $i = (int) 0 $quantity = '1.3' $unitName = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1131,300 Kg Kości Wieprzowe Surowe Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.3 $masterServings = null $imageCount = (int) 0 $i = (int) 1 $quantity = '25' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Kości Wieprzowe Surowe' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 11325 Litr Woda Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 26.3 $masterServings = null $imageCount = (int) 0 $i = (int) 2 $quantity = '0.95' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Woda' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,950 Kg Koncentrat Pomidorowy / концетрат помідоровий Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 27.25 $masterServings = null $imageCount = (int) 0 $i = (int) 3 $quantity = '0.82' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Koncentrat Pomidorowy / концетрат помідоровий ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,820 Kg Włoszczyzna Mrożona Paski Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.07 $masterServings = null $imageCount = (int) 0 $i = (int) 4 $quantity = '0.3' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Włoszczyzna Mrożona Paski' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,300 Litr Świet Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.37 $masterServings = null $imageCount = (int) 0 $i = (int) 5 $quantity = '0.01' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Świet' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,010 Kg Ziele Angielskie Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.38 $masterServings = null $imageCount = (int) 0 $i = (int) 6 $quantity = '0.05' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Ziele Angielskie' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,050 Kg Liść Laurowy Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.43 $masterServings = null $imageCount = (int) 0 $i = (int) 7 $quantity = '0.15' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Liść Laurowy' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,150 Kg Sól Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.58 $masterServings = null $imageCount = (int) 0 $i = (int) 8 $quantity = '0.22' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Sól ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,220 Kg Przyprawa typu Vegeta Promocja Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.8 $masterServings = null $imageCount = (int) 0 $i = (int) 9 $quantity = '0.45' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Przyprawa typu Vegeta Promocja' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,450 Kg Mąka Pszenna Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.25 $masterServings = null $imageCount = (int) 0 $i = (int) 10 $quantity = '0.04' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Mąka Pszenna' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,040 Kg Czosnek Świeży Obrany (surowiec: 0,560 Kg Czosnek Świeży Główka) Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 11 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Czosnek Świeży Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,560 Kg Czosnek Świeży Główka)' $srcIngredientId = (int) 954 $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130 Kg Papryka Peperoncino Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 12 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Papryka Peperoncino' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130 Kg Imbir w Proszku / імбир Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 13 $quantity = '0.5' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Imbir w Proszku / імбир ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130,500 Kg Cebula Biała Surowa Kostka (surowiec: 0,555 Kg Ciasto Pingui Niekrojone ) Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.79 $masterServings = null $imageCount = (int) 0 $i = (int) 14 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Cebula Biała Surowa Kostka ' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,555 Kg Ciasto Pingui Niekrojone )' $srcIngredientId = (int) 296 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Ciasto Pingui Niekrojone ' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130 Kg Pieprz Czarny Mielony Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.79 $masterServings = null $imageCount = (int) 0 $i = (int) 15 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Pieprz Czarny Mielony ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Ciasto Pingui Niekrojone ' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 1130 Kg Cynamon Mielony / кориця Przybliżona Waga 1 Porcji: 0 kgPrzybliżona Waga Całości ( Porcji): 29,790 kg
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (int) 0 $masterServings = null $imageCount = (int) 0 $i = (int) 0 $quantity = '1.3' $unitName = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];
$unitName = $recipe['IngredientMapping'][$i]['Unit']['name'];
if ($unitName != 'Szt') { /* yes, nasty dependence on name */
$ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (int) 0 $masterServings = null $imageCount = (int) 0 $i = (int) 0 $quantity = '1.3' $unitName = 'Kg'
include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.3 $masterServings = null $imageCount = (int) 0 $i = (int) 1 $quantity = '25' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Kości Wieprzowe Surowe' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.3 $masterServings = null $imageCount = (int) 0 $i = (int) 1 $quantity = '25' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Kości Wieprzowe Surowe' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 26.3 $masterServings = null $imageCount = (int) 0 $i = (int) 2 $quantity = '0.95' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Woda' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 26.3 $masterServings = null $imageCount = (int) 0 $i = (int) 2 $quantity = '0.95' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Woda' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 27.25 $masterServings = null $imageCount = (int) 0 $i = (int) 3 $quantity = '0.82' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Koncentrat Pomidorowy / концетрат помідоровий ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 27.25 $masterServings = null $imageCount = (int) 0 $i = (int) 3 $quantity = '0.82' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Koncentrat Pomidorowy / концетрат помідоровий ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.07 $masterServings = null $imageCount = (int) 0 $i = (int) 4 $quantity = '0.3' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Włoszczyzna Mrożona Paski' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.07 $masterServings = null $imageCount = (int) 0 $i = (int) 4 $quantity = '0.3' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Włoszczyzna Mrożona Paski' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.37 $masterServings = null $imageCount = (int) 0 $i = (int) 5 $quantity = '0.01' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Świet' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.37 $masterServings = null $imageCount = (int) 0 $i = (int) 5 $quantity = '0.01' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Świet' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.38 $masterServings = null $imageCount = (int) 0 $i = (int) 6 $quantity = '0.05' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Ziele Angielskie' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.38 $masterServings = null $imageCount = (int) 0 $i = (int) 6 $quantity = '0.05' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Ziele Angielskie' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.43 $masterServings = null $imageCount = (int) 0 $i = (int) 7 $quantity = '0.15' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Liść Laurowy' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.43 $masterServings = null $imageCount = (int) 0 $i = (int) 7 $quantity = '0.15' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Liść Laurowy' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.58 $masterServings = null $imageCount = (int) 0 $i = (int) 8 $quantity = '0.22' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Sól ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.58 $masterServings = null $imageCount = (int) 0 $i = (int) 8 $quantity = '0.22' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Sól ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.8 $masterServings = null $imageCount = (int) 0 $i = (int) 9 $quantity = '0.45' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Przyprawa typu Vegeta Promocja' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 28.8 $masterServings = null $imageCount = (int) 0 $i = (int) 9 $quantity = '0.45' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Przyprawa typu Vegeta Promocja' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.25 $masterServings = null $imageCount = (int) 0 $i = (int) 10 $quantity = '0.04' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Mąka Pszenna' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = nullinclude - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.25 $masterServings = null $imageCount = (int) 0 $i = (int) 10 $quantity = '0.04' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Mąka Pszenna' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 11 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Czosnek Świeży Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,560 Kg Czosnek Świeży Główka)' $srcIngredientId = (int) 954 $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 11 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Czosnek Świeży Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,560 Kg Czosnek Świeży Główka)' $srcIngredientId = (int) 954 $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 12 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Papryka Peperoncino' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 12 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Papryka Peperoncino' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 13 $quantity = '0.5' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Imbir w Proszku / імбир ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.29 $masterServings = null $imageCount = (int) 0 $i = (int) 13 $quantity = '0.5' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Imbir w Proszku / імбир ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.04 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '0,560' $srcIngredientName = 'Czosnek Świeży Główka' $srcIngredientUnit = 'Kg'
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.79 $masterServings = null $imageCount = (int) 0 $i = (int) 14 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Cebula Biała Surowa Kostka ' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,555 Kg Ciasto Pingui Niekrojone )' $srcIngredientId = (int) 296 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Ciasto Pingui Niekrojone ' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.79 $masterServings = null $imageCount = (int) 0 $i = (int) 14 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Cebula Biała Surowa Kostka ' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,555 Kg Ciasto Pingui Niekrojone )' $srcIngredientId = (int) 296 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Ciasto Pingui Niekrojone ' $srcIngredientUnit = 'Kg'
Warning (2): Division by zero [APP/View/Recipes/view.ctp, line 178]Code Context $unitName = $recipe['IngredientMapping'][$i]['Unit']['name']; if ($unitName != 'Szt') { /* yes, nasty dependence on name */ $ingredientsWeight += $quantity / $recipe['Recipe']['serving_size'];$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.79 $masterServings = null $imageCount = (int) 0 $i = (int) 15 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Pieprz Czarny Mielony ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Ciasto Pingui Niekrojone ' $srcIngredientUnit = 'Kg'include - APP/View/Recipes/view.ctp, line 178 View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971 View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933 View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473 Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 113
$viewFile = '/var/www/html/recipebook/View/Recipes/view.ctp' $dataForView = array( 'servings' => null, 'recipe' => array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 356, 'name' => 'Zupa Pomidorowa z Imbirem', 'ethnicity_id' => null, 'base_type_id' => null, 'course_id' => null, 'preparation_time_id' => null, 'difficulty_id' => null, 'serving_size' => null, 'directions' => '', 'comments' => '', 'source_description' => '', 'recipe_cost' => null, 'modified' => '2017-09-07', 'picture' => null, 'picture_type' => null, 'private' => false, 'system' => 'usa', 'source_id' => null, 'user_id' => (int) 1, 'preparation_method_id' => null ), 'Ethnicity' => array( 'name' => null ), 'BaseType' => array( 'name' => null ), 'Course' => array( 'name' => null ), 'PreparationTime' => array( 'name' => null ), 'Difficulty' => array( 'name' => null ), 'Source' => array( 'name' => null, 'id' => null, 'description' => null ), 'User' => array( 'name' => 'Administrator Potraw', 'id' => (int) 1 ), 'RelatedRecipe' => array(), 'IngredientMapping' => array( (int) 0 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 279, 'quantity' => '1.3', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4606, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 4, 'quantity' => '25', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4607, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 48, 'quantity' => '0.95', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4608, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 7, 'quantity' => '0.82', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4609, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 19, 'quantity' => '0.3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4610, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 41, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4611, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 40, 'quantity' => '0.05', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4612, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 13, 'quantity' => '0.15', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4613, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 91, 'quantity' => '0.22', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4614, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 9 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 64, 'quantity' => '0.45', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 9, 'id' => (int) 4615, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 10 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 369, 'quantity' => '0.04', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 10, 'id' => (int) 4616, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 11 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 868, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 11, 'id' => (int) 4617, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 12 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 132, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 12, 'id' => (int) 4618, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 13 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 118, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 13, 'id' => (int) 4619, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 14 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 14, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 14, 'id' => (int) 4620, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 15 => array( 'recipe_id' => (int) 356, 'ingredient_id' => (int) 146, 'quantity' => '0', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 15, 'id' => (int) 4621, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ) ), 'Image' => array(), 'Review' => array() ) $allowAccountCreation = false $isEditor = false $isAdmin = false $loggedInuserId = null $loggedIn = false $recipeId = (int) 356 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 29.79 $masterServings = null $imageCount = (int) 0 $i = (int) 15 $quantity = '0' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Pieprz Czarny Mielony ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Ciasto Pingui Niekrojone ' $srcIngredientUnit = 'Kg'