{"action":"closed","issue":{"url":"https://api.github.com/repos/Jako/ImagePlus/issues/27","labels_url":"https://api.github.com/repos/Jako/ImagePlus/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/Jako/ImagePlus/issues/27/comments","events_url":"https://api.github.com/repos/Jako/ImagePlus/issues/27/events","html_url":"https://github.com/Jako/ImagePlus/issues/27","id":126914815,"number":27,"title":"Errors in log when I use value","user":{"login":"lwinds","id":16305320,"avatar_url":"https://avatars.githubusercontent.com/u/16305320?v=3","gravatar_id":"","url":"https://api.github.com/users/lwinds","html_url":"https://github.com/lwinds","followers_url":"https://api.github.com/users/lwinds/followers","following_url":"https://api.github.com/users/lwinds/following{/other_user}","gists_url":"https://api.github.com/users/lwinds/gists{/gist_id}","starred_url":"https://api.github.com/users/lwinds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwinds/subscriptions","organizations_url":"https://api.github.com/users/lwinds/orgs","repos_url":"https://api.github.com/users/lwinds/repos","events_url":"https://api.github.com/users/lwinds/events{/privacy}","received_events_url":"https://api.github.com/users/lwinds/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jako/ImagePlus/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-15T17:11:38Z","updated_at":"2016-01-16T00:15:26Z","closed_at":"2016-01-16T00:15:26Z","body":"Hi, I`m using :\r\n* imageplus-2.4.0-pl\r\n* modx: 2.4.2\r\n* phpthumb: 2.3.3-pl\r\n* host: local OpenServer\r\n\r\nwhen I use a component with parameter [value] in a log file such errors.\r\nImage+ works, the image is output, but what it for errors?\r\n```\r\n[[ImagePlus? \r\n&value=`[[+image]]` \r\n&options=`w=120` \r\n&type=`tpl` \r\n&tpl=`ImagePlus.image`\r\n]]\r\n```\r\n```\r\n[[+image]] = { \r\n\"sourceImg\": { \"src\": \"alisa.jpg\", \"width\": 450, \"height\": 600, \"source\": 2 }, \r\n\"crop\": { \"width\": 361, \"height\": 522, \"x\": 50, \"y\": 34 }, \r\n\"targetWidth\": 30, \r\n\"targetHeight\": 0, \r\n\"altTag\": false\r\n}\r\n```\r\nLOG file:\r\n```\r\n[2016-01-15 18:55:34] (ERROR @ ...\\modx\\core\\components\\imageplus\\model\\imageplus\\imageplus.class.php : 214) Recoverable error: Argument 3 passed to ImagePlus::getImageURL() must be an instance of modTemplateVar, null given, called in ...\\core\\cache\\includes\\elements\\modsnippet\\117.include.cache.php on line 67 and defined\r\n[2016-01-15 18:55:34] (ERROR @ ...\\core\\components\\imageplus\\model\\imageplus\\imageplus.class.php : 244) Recoverable error: Argument 3 passed to ImagePlus::prepareTvValue() must be an instance of modTemplateVar, null given, called in ...\\core\\components\\imageplus\\model\\imageplus\\imageplus.class.php on line 232 and defined\r\n[2016-01-15 18:55:34] (ERROR @ ...\\core\\components\\imageplus\\model\\cropengines\\PhpThumbOf.php : 50) Recoverable error: Argument 3 passed to ImagePlus\\CropEngines\\PhpThumbOf::getImageUrl() must be an instance of modTemplateVar, null given, called in \r\n```\r\nPlease help to understand what to do?"}}