{"id":1270,"date":"2020-06-11T14:22:13","date_gmt":"2020-06-11T14:22:13","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/06\/11\/4153729-how-to-fix-wordpress-plugins-or-theme-errors-at-hostinger\/"},"modified":"2026-08-11T04:30:13","modified_gmt":"2026-08-11T04:30:13","slug":"4153729-how-to-fix-wordpress-plugins-or-theme-errors-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4153729-how-to-fix-wordpress-plugins-or-theme-errors-at-hostinger\/","title":{"rendered":"How to fix WordPress plugins or theme errors at Hostinger"},"content":{"rendered":"<p>Fix WordPress plugin or theme errors at Hostinger, whether they appear on your website directly or after <a href=\"https:\/\/www.hostinger.com\/support\/4259219-how-to-display-php-error-messages-in-hostinger\/\">enabling PHP error display<\/a>.<\/p><h3>Before you start<\/h3><ul>\n<li>If you&rsquo;re not sure what&rsquo;s causing your error, see <a href=\"https:\/\/www.hostinger.com\/support\/4152553-how-to-identify-and-fix-website-errors-at-hostinger\/\">how to identify and fix website errors at Hostinger<\/a>.<\/li>\n<\/ul><h2 id=\"h-common-causes-and-fixes\">Common causes and fixes<\/h2><p class=\"no-margin\">If you find errors similar to these when accessing your website:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/06\/59ee49ff-9507-4a41-9110-8df3f545ded8.jpg\" alt=\"WordPress error notices listing undefined indexes in a plugin PHP file\" data-media-id=\"4861\"><\/div><p class=\"no-margin\">It can be due to different reasons. Let&rsquo;s go over some of the more common reasons and how to fix them:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Website migration<\/b> &ndash; if you recently <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/4455931-how-to-migrate-a-website-to-hostinger\/\" target=\"_blank\" rel=\"noopener\">migrated your website<\/a><\/b> to Hostinger, it is possibly due to a different PHP version. Try <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan\/\" target=\"_blank\" rel=\"noopener\">changing your PHP version<\/a><\/b> to match that of your previous hosting. If the issue persists, try to re-upload your website files<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>WordPress update <\/b>&ndash; if the errors appeared after a WordPress core update, it indicates either one of your plugins or themes uses outdated functions that are no longer supported or that something went wrong during the update. Try <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/3989447-how-to-restore-a-wordpress-website-from-backups-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">restoring your website from backups<\/a><\/b> and updating the WordPress version once more. If the issue occurs again, you will need to replace the plugin or theme with an alternative compatible with the latest version of WordPress<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Plugin update <\/b>&ndash; If the error is caused by a plugin, try <a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/4411258-how-to-disable-wordpress-plugins-without-access-to-the-admin-page-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">disabling the mentioned plugins from file manager,<\/a> or consider reinstalling the problematic plugin to fix the issue. Try <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/3989447-how-to-restore-a-wordpress-website-from-backups-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">restoring your website from backups<\/a><\/b> if the issue persists.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Theme update <\/b>&ndash; If the error originates from your theme,<a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/4469298-how-to-change-wordpress-theme-via-phpmyadmin-at-hostinger\/\" target=\"_blank\" rel=\"noopener\"> switch to a default WordPress theme<\/a> like Twenty Twenty-Four, then reinstall your original theme to resolve any theme-related problems.<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">If your website is not covered in the cases above, here are some additional steps that can help:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1583479-how-to-fix-file-permissions-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">Fix File Ownership<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Increase the <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-fix-maximum-execution-time-exceeded-error-wordpress\/\" target=\"_blank\" rel=\"noopener\">max_execution_time<\/a><\/b> for your website<\/p>\n<\/li>\n<li>If you&rsquo;re specifically seeing an &ldquo;Unable to export&rdquo; error in the All-in-One WP Migration plugin, see <a href=\"https:\/\/www.hostinger.com\/support\/10260341-unable-to-export-error-in-all-in-one-wp-migration-plugin\/\">Unable to Export error in All-in-One WP Migration plugin.<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Fixing plugin or theme-related errors for WordPress websites<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[180],"tags":[],"class_list":["post-1270","post","type-post","status-publish","format-standard","hentry","category-website-troubleshooting"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4153729-how-to-fix-wordpress-plugins-or-theme-errors-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4153729-como-arreglar-los-errores-de-plugins-y-temas-de-wordpress-en-hostinger\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4153729-como-corrigir-erros-de-plugins-e-temas-do-wordpress-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1270"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1270\/revisions"}],"predecessor-version":[{"id":15170,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1270\/revisions\/15170"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}