I keep getting an error with uploading images using Dropzone. I know it’s not the product, I believe I must be overlooking something. When I omit the edit steps, all works perfectly. As I add the edit steps, the files upload, however they are not edited, nor is the data inserted in the DB. The cryptic message is: ‘value is out of range’
Which value?
Here’s my setup:
Here’s the error:
{
“code”: 0,
“file”: “/Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/image/Processor.php”,
“line”: 376,
“message”: “value is out of range.”,
“trace”: “#0 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/image/Processor.php(111): lib\image\Processor->cx(‘center’, 1600)\n#1 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/modules/image.php(140): lib\image\Processor->crop(‘center’, ‘middle’, 1600, 900)\n#2 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(159): modules\image->crop(Object(stdClass), ‘’)\n#3 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(128): lib\App->execSteps(Object(stdClass))\n#4 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(98): lib\App->execSteps(Array)\n#5 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/modules/core.php(62): lib\App->exec(Object(stdClass), true)\n#6 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(159): modules\core->repeat(Object(stdClass), ‘repeat_insert’)\n#7 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(128): lib\App->execSteps(Object(stdClass))\n#8 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(98): lib\App->execSteps(Array)\n#9 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnectLib/lib/App.php(71): lib\App->exec(Object(stdClass))\n#10 /Users/blaxmacbookpro/Desktop/Sites/blaxstud-testing/dmxConnect/api/User/multiple_images.php(285): lib\App->define(’{\n “meta”: {\n …’)\n#11 {main}”
}
Last updated: