{"id":921,"date":"2007-12-18T21:47:02","date_gmt":"2007-12-18T13:47:02","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/"},"modified":"2022-10-18T20:12:57","modified_gmt":"2022-10-18T12:12:57","slug":"wordpress-error-call-to-undefined-function","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/","title":{"rendered":"Solution to: WordPress &#8220;Call to undefined function&#8221; Error"},"content":{"rendered":"<p>Here\u2019s a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to <strong>WordPress 2.3.1<\/strong>). If you see this error after replacing the old wordpress files with the new ones:<\/p>\n<p><code>Call to undefined function: _make_cat_compat() in \/home\/hongkiat\/public\/blog\/wp-includes\/category-template.php<\/code>\n<!--more--><\/p>\n<h2>Solutions<\/h2>\n<p>This is probably caused by the file category-template.php. <strong>Try re-upload the category-template.php file<\/strong>, and it should be fine.<\/p>","protected":false},"excerpt":{"rendered":"<p>Here\u2019s a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to WordPress 2.3.1). If you see this error after replacing the old wordpress files with the new ones: Call to undefined function: _make_cat_compat() in \/home\/hongkiat\/public\/blog\/wp-includes\/category-template.php<\/p>\n","protected":false},"author":140,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[49],"tags":[4663,216,252],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Solution to: Wordpress &quot;Call to undefined function&quot; Error - Hongkiat<\/title>\n<meta name=\"description\" content=\"Here&#039;s a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to Wordpress 2.3.1).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Solution to: Wordpress &quot;Call to undefined function&quot; Error\" \/>\n<meta property=\"og:description\" content=\"Here&#039;s a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to Wordpress 2.3.1).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2007-12-18T13:47:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-18T12:12:57+00:00\" \/>\n<meta name=\"author\" content=\"Alfredo K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alfredo K\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/\"},\"author\":{\"name\":\"Alfredo K\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/b7b5c2018f96391a3d260970e9c202d9\"},\"headline\":\"Solution to: WordPress &#8220;Call to undefined function&#8221; Error\",\"datePublished\":\"2007-12-18T13:47:02+00:00\",\"dateModified\":\"2022-10-18T12:12:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/\"},\"wordCount\":70,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"keywords\":[\"ad-divi\",\"wordpress errors\",\"WordPress Tips\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/\",\"name\":\"Solution to: Wordpress \\\"Call to undefined function\\\" Error - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"datePublished\":\"2007-12-18T13:47:02+00:00\",\"dateModified\":\"2022-10-18T12:12:57+00:00\",\"description\":\"Here's a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to Wordpress 2.3.1).\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wordpress-error-call-to-undefined-function\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Solution to: WordPress &#8220;Call to undefined function&#8221; Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/b7b5c2018f96391a3d260970e9c202d9\",\"name\":\"Alfredo K\",\"description\":\"Alfredo is an editor for Hongkiat.com. He believes in working hard and playing hard and hopes to publish his travel guide for food lovers one day.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/alfredo_k\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Solution to: Wordpress \"Call to undefined function\" Error - Hongkiat","description":"Here's a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to Wordpress 2.3.1).","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/","og_locale":"en_US","og_type":"article","og_title":"Solution to: Wordpress \"Call to undefined function\" Error","og_description":"Here's a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to Wordpress 2.3.1).","og_url":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2007-12-18T13:47:02+00:00","article_modified_time":"2022-10-18T12:12:57+00:00","author":"Alfredo K","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Alfredo K"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/"},"author":{"name":"Alfredo K","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/b7b5c2018f96391a3d260970e9c202d9"},"headline":"Solution to: WordPress &#8220;Call to undefined function&#8221; Error","datePublished":"2007-12-18T13:47:02+00:00","dateModified":"2022-10-18T12:12:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/"},"wordCount":70,"commentCount":7,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"keywords":["ad-divi","wordpress errors","WordPress Tips"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/","url":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/","name":"Solution to: Wordpress \"Call to undefined function\" Error - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"datePublished":"2007-12-18T13:47:02+00:00","dateModified":"2022-10-18T12:12:57+00:00","description":"Here's a quick heads up for those of you who encounter this error when you upgrade your wordpress (especially for those who upgrade to Wordpress 2.3.1).","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/wordpress-error-call-to-undefined-function\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Solution to: WordPress &#8220;Call to undefined function&#8221; Error"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/b7b5c2018f96391a3d260970e9c202d9","name":"Alfredo K","description":"Alfredo is an editor for Hongkiat.com. He believes in working hard and playing hard and hopes to publish his travel guide for food lovers one day.","url":"https:\/\/www.hongkiat.com\/blog\/author\/alfredo_k\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-eR","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/140"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=921"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/921\/revisions"}],"predecessor-version":[{"id":39369,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/921\/revisions\/39369"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=921"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}