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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (int) 0 $masterServings = null $imageCount = (int) 0 $i = (int) 0 $quantity = '0.5' $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 1130,500 Kg Seler Korzeń Surowy Połówka / Корінь селери сирим Половина (surowiec: 0,555 Kg Seler Korzeń ) 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 0.5 $masterServings = null $imageCount = (int) 0 $i = (int) 1 $quantity = '0.1' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Seler Korzeń Surowy Połówka / Корінь селери сирим Половина' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,555 Kg Seler Korzeń )' $srcIngredientId = (int) 289 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Seler Korzeń ' $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,100 Kg Czosnek Świeży Obrany (surowiec: 1,400 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 0.6 $masterServings = null $imageCount = (int) 0 $i = (int) 2 $quantity = '0.5' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Czosnek Świeży Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 1,400 Kg Czosnek Świeży Główka)' $srcIngredientId = (int) 954 $resQuantity = (float) 0.1 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '1,400' $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 (surowiec: 0,525 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.1 $masterServings = null $imageCount = (int) 0 $i = (int) 3 $quantity = '0.01' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Cebula Biała Surowa' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,525 Kg Ciasto Pingui Niekrojone )' $srcIngredientId = (int) 296 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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,010 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.11 $masterServings = null $imageCount = (int) 0 $i = (int) 4 $quantity = '0.003' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Sól ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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,003 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.113 $masterServings = null $imageCount = (int) 0 $i = (int) 5 $quantity = '0.4' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Pieprz Czarny Mielony ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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,400 Kg Ziemniak Surowy Obrany (surowiec: 0,520 Kg Ziemniaki) 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.513 $masterServings = null $imageCount = (int) 0 $i = (int) 6 $quantity = '3' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Ziemniak Surowy Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,520 Kg Ziemniaki)' $srcIngredientId = (int) 286 $resQuantity = (float) 0.4 $srcIngredientMult = (float) 1.3 $srcIngredientQuantity = '0,520' $srcIngredientName = 'Ziemniaki' $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 1133 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 4.513 $masterServings = null $imageCount = (int) 0 $i = (int) 7 $quantity = '0.006' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Woda' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.4 $srcIngredientMult = (float) 1.3 $srcIngredientQuantity = '0,520' $srcIngredientName = 'Ziemniaki' $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,006 Kg Grzanki Kostka / грінки кубиком 1 Szt Ziemniaki Ugotowane Grillowe 2kg Przybliżona Waga 1 Porcji: 0 kgPrzybliżona Waga Całości ( Porcji): 4,519 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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (int) 0 $masterServings = null $imageCount = (int) 0 $i = (int) 0 $quantity = '0.5' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (int) 0 $masterServings = null $imageCount = (int) 0 $i = (int) 0 $quantity = '0.5' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 0.5 $masterServings = null $imageCount = (int) 0 $i = (int) 1 $quantity = '0.1' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Seler Korzeń Surowy Połówka / Корінь селери сирим Половина' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,555 Kg Seler Korzeń )' $srcIngredientId = (int) 289 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Seler Korzeń ' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 0.5 $masterServings = null $imageCount = (int) 0 $i = (int) 1 $quantity = '0.1' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Seler Korzeń Surowy Połówka / Корінь селери сирим Половина' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,555 Kg Seler Korzeń )' $srcIngredientId = (int) 289 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.11 $srcIngredientQuantity = '0,555' $srcIngredientName = 'Seler Korzeń ' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 0.6 $masterServings = null $imageCount = (int) 0 $i = (int) 2 $quantity = '0.5' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Czosnek Świeży Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 1,400 Kg Czosnek Świeży Główka)' $srcIngredientId = (int) 954 $resQuantity = (float) 0.1 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '1,400' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 0.6 $masterServings = null $imageCount = (int) 0 $i = (int) 2 $quantity = '0.5' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Czosnek Świeży Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 1,400 Kg Czosnek Świeży Główka)' $srcIngredientId = (int) 954 $resQuantity = (float) 0.1 $srcIngredientMult = (float) 14 $srcIngredientQuantity = '1,400' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.1 $masterServings = null $imageCount = (int) 0 $i = (int) 3 $quantity = '0.01' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Cebula Biała Surowa' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,525 Kg Ciasto Pingui Niekrojone )' $srcIngredientId = (int) 296 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.1 $masterServings = null $imageCount = (int) 0 $i = (int) 3 $quantity = '0.01' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Cebula Biała Surowa' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,525 Kg Ciasto Pingui Niekrojone )' $srcIngredientId = (int) 296 $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.11 $masterServings = null $imageCount = (int) 0 $i = (int) 4 $quantity = '0.003' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Sól ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.11 $masterServings = null $imageCount = (int) 0 $i = (int) 4 $quantity = '0.003' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Sól ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.113 $masterServings = null $imageCount = (int) 0 $i = (int) 5 $quantity = '0.4' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Pieprz Czarny Mielony ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.113 $masterServings = null $imageCount = (int) 0 $i = (int) 5 $quantity = '0.4' $unitName = 'Kg' $unit = 'Kg' $ingredientName = 'Pieprz Czarny Mielony ' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.5 $srcIngredientMult = (float) 1.05 $srcIngredientQuantity = '0,525' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.513 $masterServings = null $imageCount = (int) 0 $i = (int) 6 $quantity = '3' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Ziemniak Surowy Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,520 Kg Ziemniaki)' $srcIngredientId = (int) 286 $resQuantity = (float) 0.4 $srcIngredientMult = (float) 1.3 $srcIngredientQuantity = '0,520' $srcIngredientName = 'Ziemniaki' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 1.513 $masterServings = null $imageCount = (int) 0 $i = (int) 6 $quantity = '3' $unitName = 'Litr' $unit = 'Kg' $ingredientName = 'Ziemniak Surowy Obrany' $qualifier = '' $optional = '' $srcIngredient = '(surowiec: 0,520 Kg Ziemniaki)' $srcIngredientId = (int) 286 $resQuantity = (float) 0.4 $srcIngredientMult = (float) 1.3 $srcIngredientQuantity = '0,520' $srcIngredientName = 'Ziemniaki' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 4.513 $masterServings = null $imageCount = (int) 0 $i = (int) 7 $quantity = '0.006' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Woda' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.4 $srcIngredientMult = (float) 1.3 $srcIngredientQuantity = '0,520' $srcIngredientName = 'Ziemniaki' $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) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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] ) ), 'Image' => array(), 'Review' => array() ), 'allowAccountCreation' => false, 'isEditor' => false, 'isAdmin' => false, 'loggedInuserId' => null, 'loggedIn' => false ) $servings = null $recipe = array( 'Recipe' => array( 'id' => (int) 366, 'name' => 'Krem z Czosnku', '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-11-03', '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) 366, 'ingredient_id' => (int) 248, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 0, 'id' => (int) 4837, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 1 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 369, 'quantity' => '0.1', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 1, 'id' => (int) 4838, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 2 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 229, 'quantity' => '0.5', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 2, 'id' => (int) 4839, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 3 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 13, 'quantity' => '0.01', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 3, 'id' => (int) 4840, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 4 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 14, 'quantity' => '0.003', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 4, 'id' => (int) 4841, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 5 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 226, 'quantity' => '0.4', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 5, 'id' => (int) 4842, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 6 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 4, 'quantity' => '3', 'unit_id' => (int) 25, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 6, 'id' => (int) 4843, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 7 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 203, 'quantity' => '0.006', 'unit_id' => (int) 22, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 7, 'id' => (int) 4844, 'Ingredient' => array( [maximum depth reached] ), 'Unit' => array( [maximum depth reached] ) ), (int) 8 => array( 'recipe_id' => (int) 366, 'ingredient_id' => (int) 1196, 'quantity' => '1', 'unit_id' => (int) 1, 'qualifier' => '', 'optional' => false, 'sort_order' => (int) 8, 'id' => (int) 4855, '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) 366 $scale = (int) 1 $numberOfReviews = (int) 0 $averageRating = (int) 0 $ingredientsWeight = (int) 0 $ingredientsWeightTotal = (float) 4.513 $masterServings = null $imageCount = (int) 0 $i = (int) 7 $quantity = '0.006' $unitName = 'Kg' $unit = 'Litr' $ingredientName = 'Woda' $qualifier = '' $optional = '' $srcIngredient = '' $srcIngredientId = null $resQuantity = (float) 0.4 $srcIngredientMult = (float) 1.3 $srcIngredientQuantity = '0,520' $srcIngredientName = 'Ziemniaki' $srcIngredientUnit = 'Kg'