: Got error 'PHP message: PHP Fatal error: Uncaught Exception: 1272 not a multiple of 1600 in /home/defaultwebsite/public/inc/Mosaic.php:69\nStack trace:\n#0 /home/defaultwebsite/public/inc/Mosaic.php(43): Mosaic->prepare()\n#1 /home/defaultwebsite/public/test.php(11): Mosaic->__construct('/home/defaultwe...', 1920, 1272, true)\n#2 {main}\n thrown in /home/defaultwebsite/public/inc/Mosaic.php on line 69'
Iam get this error on PHP
: Got error 'PHP message: PHP Fatal error: Uncaught Exception: 1272 not a multiple of 1600 in /home/defaultwebsite/public/inc/Mosaic.php:69\nStack trace:\n#0 /home/defaultwebsite/public/inc/Mosaic.php(43): Mosaic->prepare()\n#1 /home/defaultwebsite/public/test.php(11): Mosaic->__construct('/home/defaultwe...', 1920, 1272, true)\n#2 {main}\n thrown in /home/defaultwebsite/public/inc/Mosaic.php on line 69'
My test file code:
include_once('inc/Mosaic.php');
$input_filename = HD.'upload/6440167340712_foto_1.jpeg';
//function __construct($input_filename, $rows, $columns, $gen_thumbs = true) $out = new Mosaic($input_filename, 1920, 1272 , true);
print($out);
what to do? Thanks