{"id":1456,"date":"2022-03-03T12:04:05","date_gmt":"2022-03-03T06:34:05","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=1456"},"modified":"2022-03-08T15:35:26","modified_gmt":"2022-03-08T10:05:26","slug":"how-to-fix-the-syntax-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/","title":{"rendered":"How to Fix the Syntax Error in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Is your site displaying a syntax Error, and you are locked out of your wp-admin area?<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Don&#8217;t freak out! The Syntax error in WordPress is very common. You can fix it easily without making much effort.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To know How to Fix the Syntax Error in WordPress, read the article till the end.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">What Is a Syntax Error?<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1457\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/syntax-error-wordpress.png\" alt=\"\" width=\"599\" height=\"232\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/syntax-error-wordpress.png 516w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/syntax-error-wordpress-300x116.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">In WordPress, a\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/wordpress.org\/support\/article\/common-wordpress-errors\/\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">syntax error<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0is a common error that may arise when a command is not written correctly or when users try to update the existing theme or plugin files or make certain changes by editing codes with the incorrect PHP syntax.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The mistake could be a misspelled word or missing symbol, a grammatical mistake, or an incorrect punctuation mark in your site&#8217;s code.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">That&#8217;s why we advise you to take a backup of your site before making any changes.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If you recently pasted a code snippet from the web or Updated a plugin or theme, then this is where the error has arisen, and you know exactly where to look.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">What causes the Syntax Errors in WordPress?<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">A syntax error may arise when you have pasted code wrongly. It is possible that you missed a portion of the code when you copied it, or it may have an extra closing tag at the end.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For example, this is a PHP open tag: &lt;?php, and this is a closing tag: ?&gt;.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Whenever you copy &amp; paste a PHP code snippet, it usually contains the open tag, which results in a syntax error. As you are probably pasting the code into an existing one, you don&#8217;t need to include the open tag.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Moreover, you may notice this message is because of a plugin or theme installation or update. The updated plugin or theme version may not be compatible with your WordPress version, or there may be other issues with it.<\/span><\/p>\n<h4><span data-preserver-spaces=\"true\">Fixing the Syntax Error in WordPress<\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">To resolve the Syntax Error, you have to edit the code that generated this error. Either you can fix it remove the syntax.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">As you are locked out of the wp-admin area, the only way to fix this issue is to access the file you last edited using FTP or the hosting control panel.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In case you don&#8217;t remember the last edited file, take a close look at the error message. It exactly tells you what is causing the error and which file and which line you have to edit.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Fixing Syntax Error using FTP<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">A syntax error in WordPress appears with a message like this:<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Since you can not log in to your wp-admin area, you can use an FTP client such as FileZilla. Now you have to connect to your site using an FTP client.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1460\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-FileZilla.png\" alt=\"\" width=\"809\" height=\"455\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-FileZilla.png 1440w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-FileZilla-300x169.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-FileZilla-1024x576.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-FileZilla-768x432.png 768w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After that, you have to reach the file and the line the error message tells.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Please find the file or folder and right-click on it, and then select the options to make the correction (add or remove code)<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1459\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-addremove-code.png\" alt=\"\" width=\"816\" height=\"459\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-addremove-code.png 1440w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-addremove-code-300x169.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-addremove-code-1024x576.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-addremove-code-768x432.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Once you change or remove the code, a pop-up message appears stating, &#8220;File Has Changed.&#8221; <\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Click &#8216;Yes&#8217; and refresh your site URL.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1458\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-Press-Yes.png\" alt=\"\" width=\"743\" height=\"404\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-Press-Yes.png 1440w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-Press-Yes-300x163.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-Press-Yes-1024x557.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WP-Press-Yes-768x418.png 768w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now your site will start working properly.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Fixing Syntax Error using Control Panel<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">You can also fix the syntax error using your hosting cPanel.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, log in to your hosting cPanel and search for &#8216;File Manager.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1461\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/file-manager-cPanel.png\" alt=\"\" width=\"771\" height=\"434\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/file-manager-cPanel.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/file-manager-cPanel-300x169.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/file-manager-cPanel-768x432.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">In File Manager, go to &#8216;Code Editor&#8217; and find the exact line of code where the change is needed (suggested in the error message ).\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1462\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-8.png\" alt=\"\" width=\"762\" height=\"352\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-8.png 1311w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-8-300x139.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-8-1024x473.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-8-768x355.png 768w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, Edit the file and click on &#8216;Save Changes.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1463\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-9.png\" alt=\"\" width=\"769\" height=\"354\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-9.png 1313w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-9-300x138.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-9-1024x472.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-fix-the-syntax-error-in-WordPress-9-768x354.png 768w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, this must fix the error, and you will be able to log in to your site.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">To conclude, WordPress&#8217;s syntax error arises<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0when a command is not written correctly or when users make certain changes by editing codes with the incorrect PHP syntax. You can use an FTP client or your hosting control panel to fix it.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">We hope this write-up helped you to fix the syntax error in WordPress.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If you are experiencing any other error on your site, you can fix it by following the steps told in our other article<\/span><a href=\"https:\/\/hostkicker.com\/blog\/what-to-do-when-you-are-locked-out-of-wordpress-admin-area\/\"><span style=\"font-weight: 400\"> on <\/span><span style=\"font-weight: 400\">what to do when you are logged out of the WordPress admin area.<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is your site displaying a syntax Error, and you are locked out of your wp-admin area? Don&#8217;t freak out! The Syntax error in WordPress is very common. You can fix it easily without making much effort. To know How to Fix the Syntax Error in WordPress, read the article till the end. What Is a [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1633,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Fix the Syntax Error in WordPress - Hostkicker<\/title>\n<meta name=\"description\" content=\"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then ...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the Syntax Error in WordPress\" \/>\n<meta property=\"og:description\" content=\"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-03T06:34:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-08T10:05:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Fix the Syntax Error in WordPress\",\"datePublished\":\"2022-03-03T06:34:05+00:00\",\"dateModified\":\"2022-03-08T10:05:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/\"},\"wordCount\":702,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/row83-01.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/\",\"name\":\"How to Fix the Syntax Error in WordPress - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/row83-01.png\",\"datePublished\":\"2022-03-03T06:34:05+00:00\",\"dateModified\":\"2022-03-08T10:05:26+00:00\",\"description\":\"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then ...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/row83-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/row83-01.png\",\"width\":693,\"height\":511,\"caption\":\"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-syntax-error-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix the Syntax Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix the Syntax Error in WordPress - Hostkicker","description":"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then ...","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:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix the Syntax Error in WordPress","og_description":"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then ...","og_url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2022-03-03T06:34:05+00:00","article_modified_time":"2022-03-08T10:05:26+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Fix the Syntax Error in WordPress","datePublished":"2022-03-03T06:34:05+00:00","dateModified":"2022-03-08T10:05:26+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/"},"wordCount":702,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/","name":"How to Fix the Syntax Error in WordPress - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png","datePublished":"2022-03-03T06:34:05+00:00","dateModified":"2022-03-08T10:05:26+00:00","description":"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then ...","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png","width":693,"height":511,"caption":"You can use an FTP client or your hosting control panel to Fix the Syntax Error in WordPress. First, connect to your site using FTP and then"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-syntax-error-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix the Syntax Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/02\/row83-01.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=1456"}],"version-history":[{"count":3,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1456\/revisions"}],"predecessor-version":[{"id":1712,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1456\/revisions\/1712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/1633"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=1456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=1456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=1456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}