{"id":3008,"date":"2012-05-16T04:54:00","date_gmt":"2012-05-16T04:54:00","guid":{"rendered":"http:\/\/2slick.com\/web\/?p=3008"},"modified":"2012-08-17T03:21:57","modified_gmt":"2012-08-17T03:21:57","slug":"fatal-error-call-to-undefined-function-get_option_tree","status":"publish","type":"post","link":"https:\/\/2slick.com\/web\/fatal-error-call-to-undefined-function-get_option_tree\/affordablewebsitestips\/tutorials","title":{"rendered":"Fatal error: Call to undefined function get_option_tree()"},"content":{"rendered":"<h3>Fatal error: Call to undefined function get_option_tree()<\/h3>\n<p>If you've just installed a custom WordPress  theme, and you're getting this error when previewing your website, it's probably because you haven't installed required plugins that particular theme requires to function properly.<br \/>\nFor example, when I install the custom WordPress theme Reason, I get this error message when trying to preview my site.<\/p>\n<p><strong>Fatal error: Call to undefined function get_option_tree() in \/home\/true1\/public_html\/wp-content\/themes\/reason\/header.php on line 64<\/strong><\/p>\n<p>After I install the plugins:<\/p>\n<ol>\n<li>Click 'Install Plugins' link next to the 'Reasons' WordPress theme.<\/li>\n<li><a href=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/reason_error.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3010\" style=\"border-image: initial; border: 1px solid black;\" title=\"reason_error\" src=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/reason_error.jpg\" alt=\"\" width=\"468\" height=\"256\" srcset=\"https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/reason_error.jpg 468w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/05\/reason_error-300x164.jpg 300w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/a><\/li>\n<li>Click the 'Install OptionTree Now'.<\/li>\n<li>Click the 'Return to Required Plugins Installer' link.<\/li>\n<li>Click the 'Install ScrollToTop Now' button.<\/li>\n<\/ol>\n<p>Now when I preview the website, The errors are gone and the Reason WordPress theme is displaying a bare theme ready to be configured.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fatal error: Call to undefined function get_option_tree() If you&#8217;ve just installed a custom WordPress theme, and you&#8217;re getting this error when previewing your website, it&#8217;s probably because you haven&#8217;t installed required plugins that particular theme requires to function properly. For example, when I install the custom WordPress theme Reason, I get this error message when [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5680,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4,6],"tags":[379,69],"class_list":["post-3008","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-affordablewebsitestips","category-tutorials","category-wordpress","tag-reason","tag-wordpress-2"],"_links":{"self":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/3008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/comments?post=3008"}],"version-history":[{"count":2,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/3008\/revisions"}],"predecessor-version":[{"id":5681,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/3008\/revisions\/5681"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media\/5680"}],"wp:attachment":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media?parent=3008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/categories?post=3008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/tags?post=3008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}