Produsul a fost adaugat cu success in cos!
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101]Code Context}
if ($resize) {
$ratio_x = $width / $this->sizes[0];
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' }Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102]Code Contextif ($resize) {
$ratio_x = $width / $this->sizes[0];
$ratio_y = $height / $this->sizes[1];
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = falseImage2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109]Code Context} else {
$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110]Code Context$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$this->sizes[1] = round($height / $ratio_x);
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0 $start_y = (float) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefrom' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151]Code Contextimagesavealpha($temp, true);
$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): imagecopyresampled() expects parameter 2 to be resource, null given [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647imagecopyresampled - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'image' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 88 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101]Code Context}
if ($resize) {
$ratio_x = $width / $this->sizes[0];
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' }Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102]Code Contextif ($resize) {
$ratio_x = $width / $this->sizes[0];
$ratio_y = $height / $this->sizes[1];
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = falseImage2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109]Code Context} else {
$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110]Code Context$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$this->sizes[1] = round($height / $ratio_x);
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0 $start_y = (float) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefrom' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151]Code Contextimagesavealpha($temp, true);
$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): imagecopyresampled() expects parameter 2 to be resource, null given [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647imagecopyresampled - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'image' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 92 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Rochie stil printesa, lunga, cu fusta in doua straturi, unul satinat de culoare bej si celalalt voal, cu broderie si strasuri aplicate pe piept. Este accesorizata cu brosa si fundita detasabila la spate.
Compozitie: interior - bumbac; exterior – poliester.
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101]Code Context}
if ($resize) {
$ratio_x = $width / $this->sizes[0];
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' }Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102]Code Contextif ($resize) {
$ratio_x = $width / $this->sizes[0];
$ratio_y = $height / $this->sizes[1];
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = falseImage2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109]Code Context} else {
$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110]Code Context$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$this->sizes[1] = round($height / $ratio_x);
$width = (int) 210 $height = (int) 210 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0 $start_y = (float) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefrom' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151]Code Contextimagesavealpha($temp, true);
$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): imagecopyresampled() expects parameter 2 to be resource, null given [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647imagecopyresampled - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'image' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (int) 210 $height = (int) 210 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_210_210_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 260 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101]Code Context}
if ($resize) {
$ratio_x = $width / $this->sizes[0];
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' }Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 101 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102]Code Contextif ($resize) {
$ratio_x = $width / $this->sizes[0];
$ratio_y = $height / $this->sizes[1];
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = falseImage2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 102 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109]Code Context} else {
$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 109 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): Division by zero [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110]Code Context$start_x = 0;
$start_y = round(($this->sizes[1] - ($height / $ratio_x)) / 2);
$this->sizes[1] = round($height / $ratio_x);
$width = (float) 600 $height = (float) 780 $resize = true $this = object(Image2Helper) { helpers => array( (int) 0 => 'Html' ) sizes => false serverPath => false cacheDir => 'resized' settings => array() theme => 'Kids' request => object(CakeRequest) {} plugin => 'Nodes' fieldset => array() tags => array() [protected] _cacheServerPath => false [protected] _helperMap => array( 'Html' => array( [maximum depth reached] ) ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(ThemeView) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $ratio_x = false $ratio_y = false $start_x = (int) 0 $start_y = (float) 0Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 110 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefrom' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145]Code Contextif (!$this->_cacheServerPath) {
$types = array(1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); // used to determine image type
$image = call_user_func('imagecreatefrom' . $types[$this->sizes[2]], $this->serverPath);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' )call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 145 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151]Code Contextimagesavealpha($temp, true);
$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 151 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 0 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): imagecopyresampled() expects parameter 2 to be resource, null given [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152]Code Context$transparent = imagecolorallocatealpha($temp, 255, 255, 255, 127);
imagefilledrectangle($temp, 0, 0, $this->sizes[0], $this->sizes[1], $transparent);
imagecopyresampled($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647imagecopyresampled - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 152 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined offset: 2 [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Notice (8): Undefined index: [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99
Warning (2): call_user_func() expects parameter 1 to be a valid callback, function 'image' not found or invalid function name [APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161]Code Contextimagecopyresized($temp, $image, 0, 0, $start_x, $start_y, $width, $height, $this->sizes[0], $this->sizes[1]);
}
if (call_user_func("image" . $types[$this->sizes[2]], $temp, $cache_path)) {
$start_x = (int) 0 $start_y = (float) 0 $width = (float) 600 $height = (float) 780 $method = 'crop' $cache_dir = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/' $cache_path = '/home/PLESK/vhosts/kidslovefashion.ro/httpdocs/app/webroot/uploads/resized/0_0_600_780_crop_' $types = array( (int) 1 => 'gif', (int) 2 => 'jpeg', (int) 3 => 'png', (int) 4 => 'swf', (int) 5 => 'psd', (int) 6 => 'wbmp' ) $image = null $temp = resource $transparent = (int) 2147483647call_user_func - [internal], line ?? Image2Helper::_nativeResize() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 161 Image2Helper::crop() - APP/Plugin/Klf/View/Helper/Image2Helper.php, line 118 include - APP/View/Themed/Kids/Nodes/view_produs.ctp, line 263 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 242 NodesController::_viewFallback() - APP/Plugin/Nodes/Controller/NodesController.php, line 822 NodesController::view() - APP/Plugin/Nodes/Controller/NodesController.php, line 790 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 99