{"id":625,"date":"2009-11-29T07:59:29","date_gmt":"2009-11-29T07:59:29","guid":{"rendered":"http:\/\/www.rumahweb.com\/journal\/?p=625"},"modified":"2024-08-07T15:35:42","modified_gmt":"2024-08-07T08:35:42","slug":"mengatasi-call-to-undefined-function-get-site-option","status":"publish","type":"post","link":"https:\/\/www.rumahweb.com\/journal\/mengatasi-call-to-undefined-function-get-site-option\/","title":{"rendered":"Mengatasi Call to undefined function get_site_option()"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/blog.rumahweb.com\/wordpress-adalah\/\" title=\"\">WordPress<\/a> sendiri menyediakan banyak fitur baik plugin, languages maupun theme yang dapat di gunakan pada aplikasi wordpress kita. File hasil download biasanya berbentuk file kompresi dengan ekstensi .zip. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Masalah timbul ketika anda menggunakan salah satu theme news magazine theme 640 dengan menjumpai adanya pesan error\/halaman blog anda yang tidak tampil sempurna.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Fatal error:<\/strong> Call to undefined function get_site_option() in <strong>\/home\/usrCpanel\/public_html\/wp-content\/themes\/news-magazine-theme-640\/header.php<\/strong> on line <strong>58<\/strong><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kesalahan pada bagian header yang muncul dibagian atas blog tersebut dapat diperbaiki dengan membuka dan menavigasi file <em>header.php baris 58 <\/em>( di dalam folder theme tersebut ) dan melakukan perubahan pada baris code :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>get_site_option<\/strong> &lt; di rubah menjadi &gt;&nbsp;&nbsp; <strong>get_option<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Selain itu function \u201c<em>get_site_option<\/em>&#8221; juga dibuat di file <em>home.php<\/em> dan <em>index.php<\/em>. Anda dapat memperbaikinya dengan mencari dan mengganti pada file&nbsp; <em>index.php<\/em> dan <em>home.php<\/em>. Artinya ada 3 file yang harus dilakukan perubahan php function <em>get_site_option&nbsp; &lt; di rubah menjadi &gt;&nbsp;&nbsp; get_option<\/em> diantaranya <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>header.php<\/li>\n\n\n\n<li>index.php<\/li>\n\n\n\n<li>home.php<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress sendiri menyediakan banyak fitur baik plugin, languages maupun theme yang dapat di gunakan pada aplikasi wordpress kita. File hasil download biasanya berbentuk file kompresi dengan ekstensi .zip. Masalah timbul ketika anda menggunakan salah satu theme news magazine theme 640 dengan menjumpai adanya pesan error\/halaman blog anda yang tidak tampil sempurna. Fatal error: Call to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[1934,1000,14],"class_list":["post-625","post","type-post","status-publish","format-standard","category-web-programming","tag-theme-news-megazine","tag-tutorial-wordpress","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Rumahweb\"\/>\n\t<meta name=\"google-site-verification\" content=\"wPstUwU5246IbK_1PqwGrc1LoSDnB-9rPbcT8_vSNgQ\" \/>\n\t<meta name=\"keywords\" content=\"theme news megazine,tutorial wordpress,wordpress\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.rumahweb.com\/journal\/mengatasi-call-to-undefined-function-get-site-option\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"id_Id\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Rumahweb Journal \u2013 News, Article, and Tutorial of Web Dev\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Mengatasi Call to undefined function get_site_option()\" \/>\n\t\t<meta property=\"og:description\" content=\"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.rumahweb.com\/journal\/mengatasi-call-to-undefined-function-get-site-option\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-11-29T07:59:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-08-07T08:35:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RumahwebIndonesia\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@rumahwebtweet\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Mengatasi Call to undefined function get_site_option()\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@rumahwebtweet\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Mengatasi Call to undefined function get_site_option()","description":"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut","canonical_url":"https:\/\/www.rumahweb.com\/journal\/mengatasi-call-to-undefined-function-get-site-option\/","robots":"max-image-preview:large","keywords":"theme news megazine,tutorial wordpress,wordpress","webmasterTools":{"google-site-verification":"wPstUwU5246IbK_1PqwGrc1LoSDnB-9rPbcT8_vSNgQ","miscellaneous":""},"schema":null,"og:locale":"id_Id","og:site_name":"Rumahweb Journal \u2013 News, Article, and Tutorial of Web Dev","og:type":"article","og:title":"Mengatasi Call to undefined function get_site_option()","og:description":"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut","og:url":"https:\/\/www.rumahweb.com\/journal\/mengatasi-call-to-undefined-function-get-site-option\/","article:published_time":"2009-11-29T07:59:29+00:00","article:modified_time":"2024-08-07T08:35:42+00:00","article:publisher":"https:\/\/www.facebook.com\/RumahwebIndonesia\/","twitter:card":"summary_large_image","twitter:site":"@rumahwebtweet","twitter:title":"Mengatasi Call to undefined function get_site_option()","twitter:description":"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut","twitter:creator":"@rumahwebtweet"},"aioseo_meta_data":{"post_id":"625","title":null,"description":"Berikut adalah cara untuk mengatasi error call to undefined function get_site_option() pada WordPress dengan theme News Megazines. Perbaiki file berikut","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 10:47:57","updated":"2026-04-19 02:53:52","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/posts\/625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/comments?post=625"}],"version-history":[{"count":0,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/posts\/625\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/media?parent=625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/categories?post=625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rumahweb.com\/journal\/wp-json\/wp\/v2\/tags?post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}