ValueError

HTTP 500 Whoops, looks like something went wrong.

imagecreatetruecolor(): Argument #1 ($width) must be greater than 0

Exception

ValueError

  1.                 $x $fix_to_X;            //
  2.                 $y intval($x $current_Y $current_X);    //
  3.             }
  4.         }
  5.         $thumb imagecreatetruecolor($x$y);
  6.         imagealphablending($thumbfalse);
  7.         imagesavealpha($thumbtrue);    //
  8.         imagefill($thumb00IMG_COLOR_TRANSPARENT);
  9.         imagecopyresampled($thumb$img0000$x$y$current_X$current_Y);
imagecreatetruecolor(0, 0) in /home/pinsoft/public_html/r_imgs.php (line 275)
  1.                 $x $fix_to_X;            //
  2.                 $y intval($x $current_Y $current_X);    //
  3.             }
  4.         }
  5.         $thumb imagecreatetruecolor($x$y);
  6.         imagealphablending($thumbfalse);
  7.         imagesavealpha($thumbtrue);    //
  8.         imagefill($thumb00IMG_COLOR_TRANSPARENT);
  9.         imagecopyresampled($thumb$img0000$x$y$current_X$current_Y);

Stack Trace

ValueError
ValueError:
imagecreatetruecolor(): Argument #1 ($width) must be greater than 0

  at /home/pinsoft/public_html/r_imgs.php:275
  at imagecreatetruecolor(0, 0)
     (/home/pinsoft/public_html/r_imgs.php:275)