libasys / contactsplus

A Contacts App for version ownCloud 8.1 or later, lower version not supported
23 stars 4 forks source link

Error in OC 8.2 (Profile Pics issue?) #112

Closed aproposnix closed 4 years ago

aproposnix commented 9 years ago

Hi,

I've only just installed Contacts Plus, and though it seems to work (except for broken profile pics) I get this error in my log:

Exception: {"Exception":"InvalidArgumentException","Message":"OCA\ContactsPlus\Http\ImageResponse::setImage The image resource is not valid.","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/contactsplus\/http\/imageresponse.php(25): OCA\ContactsPlus\Http\ImageResponse->setImage(Object(OCP\Image))\n#1 \/var\/www\/owncloud\/apps\/contactsplus\/controller\/contactscontroller.php(687): OCA\ContactsPlus\Http\ImageResponse->__construct(Object(OCP\Image))\n#2 [internal function]: OCA\ContactsPlus\Controller\ContactsController->getContactPhoto('1')\n#3 \/var\/www\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(159): call_user_func_array(Array, Array)\n#4 \/var\/www\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\ContactsPlus\Controller\ContactsController), 'getContactPhoto')\n#5 \/var\/www\/owncloud\/lib\/private\/appframework\/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\ContactsPlus\Controller\ContactsController), 'getContactPhoto')\n#6 \/var\/www\/owncloud\/lib\/private\/appframework\/routing\/routeactionhandler.php(45): OC\AppFramework\App::main('ContactsControl...', 'getContactPhoto', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#7 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#8 \/var\/www\/owncloud\/lib\/private\/route\/router.php(282): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#9 \/var\/www\/owncloud\/lib\/base.php(831): OC\Route\Router->match('\/apps\/contactsp...')\n#10 \/var\/www\/owncloud\/index.php(39): OC::handleRequest()\n#11 {main}","File":"\/var\/www\/owncloud\/apps\/contactsplus\/http\/imageresponse.php","Line":34}

I'm running on Ubuntu 14.04 Apache 2.4.7 MySQL 5.5.46

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27899099-error-in-oc-8-2-profile-pics-issue?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github).