{"action":"created","issue":{"url":"https://api.github.com/repos/presscustomizr/hueman/issues/166","repository_url":"https://api.github.com/repos/presscustomizr/hueman","labels_url":"https://api.github.com/repos/presscustomizr/hueman/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/presscustomizr/hueman/issues/166/comments","events_url":"https://api.github.com/repos/presscustomizr/hueman/issues/166/events","html_url":"https://github.com/presscustomizr/hueman/issues/166","id":147872688,"number":166,"title":"Uncaught Error: Call to undefined function ot_register_meta_box() in hueman/functions/meta-boxes.php:265","user":{"login":"rabin-io","id":5116363,"avatar_url":"https://avatars.githubusercontent.com/u/5116363?v=3","gravatar_id":"","url":"https://api.github.com/users/rabin-io","html_url":"https://github.com/rabin-io","followers_url":"https://api.github.com/users/rabin-io/followers","following_url":"https://api.github.com/users/rabin-io/following{/other_user}","gists_url":"https://api.github.com/users/rabin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/rabin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabin-io/subscriptions","organizations_url":"https://api.github.com/users/rabin-io/orgs","repos_url":"https://api.github.com/users/rabin-io/repos","events_url":"https://api.github.com/users/rabin-io/events{/privacy}","received_events_url":"https://api.github.com/users/rabin-io/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T21:06:37Z","updated_at":"2016-04-13T05:37:35Z","closed_at":null,"body":"Upgrading the theme using wp-cli from version 3.0.1 to 3.0.6\r\n\r\n```\r\n+--------+-------------+-------------+---------+\r\n| name   | old_version | new_version | status  |\r\n+--------+-------------+-------------+---------+\r\n| hueman | 3.0.1       | 3.0.6       | Updated |\r\n+--------+-------------+-------------+---------+\r\n```\r\nI get this error when trying to access the admin interface, \r\n\r\n```\r\nNotice:  Only variables should be passed by reference in hueman/option-tree/ot-loader.php on line 98\r\n\r\nFatal error:  Uncaught Error: Call to undefined function ot_register_meta_box() in /wp-content/themes/hueman/functions/meta-boxes.php:265\r\nStack trace:\r\n#0 wp-includes/plugin.php(525): hu_custom_meta_boxes('')\r\n#1 wp-admin/admin.php(168): do_action('admin_init')\r\n#2 wp-admin/index.php(10): require_once('/www/rabin.io/b...')\r\n#3 {main}\r\n  thrown in /wp-content/themes/hueman/functions/meta-boxes.php on line 265\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/presscustomizr/hueman/issues/comments/209235247","html_url":"https://github.com/presscustomizr/hueman/issues/166#issuecomment-209235247","issue_url":"https://api.github.com/repos/presscustomizr/hueman/issues/166","id":209235247,"user":{"login":"denzelchia","id":9284811,"avatar_url":"https://avatars.githubusercontent.com/u/9284811?v=3","gravatar_id":"","url":"https://api.github.com/users/denzelchia","html_url":"https://github.com/denzelchia","followers_url":"https://api.github.com/users/denzelchia/followers","following_url":"https://api.github.com/users/denzelchia/following{/other_user}","gists_url":"https://api.github.com/users/denzelchia/gists{/gist_id}","starred_url":"https://api.github.com/users/denzelchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denzelchia/subscriptions","organizations_url":"https://api.github.com/users/denzelchia/orgs","repos_url":"https://api.github.com/users/denzelchia/repos","events_url":"https://api.github.com/users/denzelchia/events{/privacy}","received_events_url":"https://api.github.com/users/denzelchia/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T05:37:35Z","updated_at":"2016-04-13T05:37:35Z","body":"Hi,\r\n\r\nJust to add some findings.\r\n\r\nWith reference to this thread.\r\nhttps://wordpress.org/support/topic/fatal-erro-after-theme-update?replies=14#post-8268184\r\n\r\nI installed the following plugins on my hueman test site.\r\nhttps://wordpress.org/plugins/advanced-custom-fields/\r\nhttps://wordpress.org/plugins/types/\r\n\r\nBoth plugins cause the following fatal error when activated.\r\nFatal error: Call to undefined function ot_register_meta_box() in /Applications/MAMP/htdocs/hueman-lite/wp-content/themes/hueman/functions/meta-boxes.php on line 265\r\n\r\nHope this information helps in some way.\r\n\r\nThank you"}}