{"action":"created","issue":{"url":"https://api.github.com/repos/wcvendors/wcvendors/issues/199","labels_url":"https://api.github.com/repos/wcvendors/wcvendors/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/wcvendors/wcvendors/issues/199/comments","events_url":"https://api.github.com/repos/wcvendors/wcvendors/issues/199/events","html_url":"https://github.com/wcvendors/wcvendors/issues/199","id":104947658,"number":199,"title":"WooCommerce Shipment Tracking Bug","user":{"login":"GoTeamScotch","id":11036843,"avatar_url":"https://avatars.githubusercontent.com/u/11036843?v=3","gravatar_id":"","url":"https://api.github.com/users/GoTeamScotch","html_url":"https://github.com/GoTeamScotch","followers_url":"https://api.github.com/users/GoTeamScotch/followers","following_url":"https://api.github.com/users/GoTeamScotch/following{/other_user}","gists_url":"https://api.github.com/users/GoTeamScotch/gists{/gist_id}","starred_url":"https://api.github.com/users/GoTeamScotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoTeamScotch/subscriptions","organizations_url":"https://api.github.com/users/GoTeamScotch/orgs","repos_url":"https://api.github.com/users/GoTeamScotch/repos","events_url":"https://api.github.com/users/GoTeamScotch/events{/privacy}","received_events_url":"https://api.github.com/users/GoTeamScotch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-04T18:53:07Z","updated_at":"2015-09-08T08:40:53Z","closed_at":"2015-09-08T08:40:53Z","body":"If the plugin \"WooCommerce Shipment Tracking\" (v1.2.7) is installed, the vendor dashboard breaks. This seems to be the result of the plugin no longer providing the method \"get_providers()\" but instead offers the same information in the form of a public property. This appears in two places I've found so far:\r\n- wc-vendors\\classes\\front\\orders\\class-orders.php on line 137\r\n- wc-vendors\\classes\\front\\dashboard\\class-vendor-dashboard.php on line 199\r\n\r\nChange this:\r\n```\r\n$providers = $WC_Shipment_Tracking->get_providers();\r\n```\r\nTo this:\r\n```\r\n$providers = $WC_Shipment_Tracking->providers;\r\n```\r\nOr if you want to maintain backwards compatibility for older version of the Shipment Tracking plugin:\r\n```\r\n$providers  = (method_exists($WC_Shipment_Tracking, 'get_providers')) ? $WC_Shipment_Tracking->get_providers() : $WC_Shipment_Tracking->providers;\r\n```\r\nEdit: See my pull request: https://github.com/wcvendors/wcvendors/pull/201"},"comment":{"url":"https://api.github.com/repos/wcvendors/wcvendors/issues/comments/138480601","html_url":"https://github.com/wcvendors/wcvendors/issues/199#issuecomment-138480601","issue_url":"https://api.github.com/repos/wcvendors/wcvendors/issues/199","id":138480601,"user":{"login":"digitalchild","id":909468,"avatar_url":"https://avatars.githubusercontent.com/u/909468?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalchild","html_url":"https://github.com/digitalchild","followers_url":"https://api.github.com/users/digitalchild/followers","following_url":"https://api.github.com/users/digitalchild/following{/other_user}","gists_url":"https://api.github.com/users/digitalchild/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalchild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalchild/subscriptions","organizations_url":"https://api.github.com/users/digitalchild/orgs","repos_url":"https://api.github.com/users/digitalchild/repos","events_url":"https://api.github.com/users/digitalchild/events{/privacy}","received_events_url":"https://api.github.com/users/digitalchild/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T08:40:53Z","updated_at":"2015-09-08T08:40:53Z","body":"Your updates have been added thanks !"}}