{"action":"created","issue":{"url":"https://api.github.com/repos/tripflex/whmcs-affcoupons/issues/35","labels_url":"https://api.github.com/repos/tripflex/whmcs-affcoupons/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/tripflex/whmcs-affcoupons/issues/35/comments","events_url":"https://api.github.com/repos/tripflex/whmcs-affcoupons/issues/35/events","html_url":"https://github.com/tripflex/whmcs-affcoupons/issues/35","id":79142905,"number":35,"title":"WHMCS V6 ","user":{"login":"metrotyranno","id":335004,"avatar_url":"https://avatars.githubusercontent.com/u/335004?v=3","gravatar_id":"","url":"https://api.github.com/users/metrotyranno","html_url":"https://github.com/metrotyranno","followers_url":"https://api.github.com/users/metrotyranno/followers","following_url":"https://api.github.com/users/metrotyranno/following{/other_user}","gists_url":"https://api.github.com/users/metrotyranno/gists{/gist_id}","starred_url":"https://api.github.com/users/metrotyranno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metrotyranno/subscriptions","organizations_url":"https://api.github.com/users/metrotyranno/orgs","repos_url":"https://api.github.com/users/metrotyranno/repos","events_url":"https://api.github.com/users/metrotyranno/events{/privacy}","received_events_url":"https://api.github.com/users/metrotyranno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-05-21T20:09:17Z","updated_at":"2015-12-17T18:09:49Z","closed_at":null,"body":"Fatal error: Class 'WHMCS_Cookie' not found in \r\n/modules/addons/affcoupons/hooks.php on line 48"},"comment":{"url":"https://api.github.com/repos/tripflex/whmcs-affcoupons/issues/comments/165534871","html_url":"https://github.com/tripflex/whmcs-affcoupons/issues/35#issuecomment-165534871","issue_url":"https://api.github.com/repos/tripflex/whmcs-affcoupons/issues/35","id":165534871,"user":{"login":"birchey","id":16325737,"avatar_url":"https://avatars.githubusercontent.com/u/16325737?v=3","gravatar_id":"","url":"https://api.github.com/users/birchey","html_url":"https://github.com/birchey","followers_url":"https://api.github.com/users/birchey/followers","following_url":"https://api.github.com/users/birchey/following{/other_user}","gists_url":"https://api.github.com/users/birchey/gists{/gist_id}","starred_url":"https://api.github.com/users/birchey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birchey/subscriptions","organizations_url":"https://api.github.com/users/birchey/orgs","repos_url":"https://api.github.com/users/birchey/repos","events_url":"https://api.github.com/users/birchey/events{/privacy}","received_events_url":"https://api.github.com/users/birchey/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T18:09:49Z","updated_at":"2015-12-17T18:09:49Z","body":"I have realised that the code changes you were referring to was for the hooks file so i made the changes you suggested and now i get \r\n\r\nFatal error: Class 'Cookie' not found in /home/birchg/public_html/om/modules/addons/affcoupons/hooks.php on line 48\r\n\r\nWhich refers to $checkcookie = Cookie::get(\"AffiliateID\", true); \r\n\r\nAny thoughts?"}}