{"action":"opened","issue":{"url":"https://api.github.com/repos/ShMaunder/JMapMyLDAP/issues/27","labels_url":"https://api.github.com/repos/ShMaunder/JMapMyLDAP/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/ShMaunder/JMapMyLDAP/issues/27/comments","events_url":"https://api.github.com/repos/ShMaunder/JMapMyLDAP/issues/27/events","html_url":"https://github.com/ShMaunder/JMapMyLDAP/issues/27","id":58244590,"number":27,"title":"get wsod when enable Use Profile in the profile plugin","user":{"login":"gillecaluim","id":2179100,"avatar_url":"https://avatars.githubusercontent.com/u/2179100?v=3","gravatar_id":"","url":"https://api.github.com/users/gillecaluim","html_url":"https://github.com/gillecaluim","followers_url":"https://api.github.com/users/gillecaluim/followers","following_url":"https://api.github.com/users/gillecaluim/following{/other_user}","gists_url":"https://api.github.com/users/gillecaluim/gists{/gist_id}","starred_url":"https://api.github.com/users/gillecaluim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillecaluim/subscriptions","organizations_url":"https://api.github.com/users/gillecaluim/orgs","repos_url":"https://api.github.com/users/gillecaluim/repos","events_url":"https://api.github.com/users/gillecaluim/events{/privacy}","received_events_url":"https://api.github.com/users/gillecaluim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T17:59:07Z","updated_at":"2015-02-19T17:59:07Z","closed_at":null,"body":"my system: Joomla 3.3.6, apache 2.4.12, mariadb 10.0.16-1, php 5.6.5\r\nI've installed Shmanic Config & Shmanic LDAP and am able to do lookups of a samba 4 AD\r\nTrying to setup the profile plugin but getting WSOD when enabling \"Use Profile\" and try to add new user from backend.\r\nI enabled SHLog but am not getting any error messages.\r\nmy profile\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<form>\r\n\t<fields name=\"ldap_profile\">\r\n\t\t<fieldset name=\"personal\"\r\n\t\t\tlabel=\"PLG_LDAP_PROFILE_FIELDSET_PERSONAL_LABEL\"\r\n\t\t>\r\n\t\t\t<field\r\n\t\t\t\tname=\"telephoneNumber\"\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tdescription=\"PLG_LDAP_PROFILE_FIELD_TELEPHONE_DESC\"\r\n\t\t\t\tlabel=\"PLG_LDAP_PROFILE_FIELD_TELEPHONE_LABEL\"\r\n\t\t\t\tsize=\"30\"\r\n\t\t\t\tfilter=\"tel\"\r\n\t\t\t\trequired=\"true\"\r\n\t\t\t\tdisabled=\"false\"\r\n\t\t\t/>\r\n\t\t\t<field\r\n\t\t\t\tname=\"description\"\r\n\t\t\t\ttype=\"textarea\"\r\n\t\t\t\tdescription=\"PLG_LDAP_PROFILE_FIELD_ABOUT_ME_DESC\"\r\n\t\t\t\tlabel=\"PLG_LDAP_PROFILE_FIELD_ABOUT_ME_LABEL\"\r\n\t\t\t\tcols=\"30\"\r\n\t\t\t\trows=\"5\"\r\n\t\t\t\tfilter=\"safehtml\"\r\n\t\t\t\trequired=\"false\"\r\n\t\t\t\tdisabled=\"false\"\r\n\t\t\t/>\r\n\t\t</fieldset>\r\n\t</fields>\r\n</form>\r\n\r\nenabling joomla debug level=development I get\r\nFatal error: Call to a member function getValue() on boolean in /srv/http/ourhome/administrator/components/com_users/models/user.php on line 862 which is on the $groupsIDs line\r\n\tpublic function getAssignedGroups($userId = null)\r\n\t{\r\n\t\t$userId = (!empty($userId)) ? $userId : (int) $this->getState('user.id');\r\n\r\n\t\tif (empty($userId))\r\n\t\t{\r\n\t\t\t$result = array();\r\n\r\n\t\t\t$groupsIDs = $this->getForm()->getValue('groups');\r\n\r\n\t\t\tif (!empty($groupsIDs))\r\n\t\t\t{\r\n\t\t\t\t$result = $groupsIDs;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t$config = JComponentHelper::getParams('com_users');\r\n\r\n\t\t\t\tif ($groupId = $config->get('new_usertype'))\r\n\t\t\t\t{\r\n\t\t\t\t\t$result[] = $groupId;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t$result = JUserHelper::getUserGroups($userId);\r\n\t\t}\r\n\r\n\t\treturn $result;\r\n\t}\r\n"}}