{"id":7560283,"date":"2016-07-10T18:23:04","date_gmt":"2016-07-10T18:23:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-error-196\/"},"modified":"2016-09-01T16:28:15","modified_gmt":"2016-09-01T16:28:15","slug":"php-error-196","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-error-196\/","title":{"rendered":"PHP Error"},"content":{"rendered":"<p>The plugin needs to be updated for WP 4.5.  The following error is being thrown, <\/p>\n<blockquote>\n<p>\nPHP Fatal error:  Call to undefined function get_currentuserinfo() in \/Users\/aurovrata\/Sites\/hrm\/wp-content\/plugins\/attendance-manager\/class\/class-attmgr.php on line 239\n<\/p>\n<\/blockquote>\n<p>because the function <code>get_currentuserinfo()<\/code> has been <a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/get_currentuserinfo\">deprecated<\/a> in WP 4.5.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/attendance-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-7560283","topic","type-topic","status-publish","hentry","topic-tag-php-error"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7560283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7560283\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7560283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}