{"id":9503,"date":"2026-06-03T05:44:57","date_gmt":"2026-06-03T03:44:57","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9503"},"modified":"2026-06-03T05:44:58","modified_gmt":"2026-06-03T03:44:58","slug":"prestashop-error-message","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/","title":{"rendered":"Prestashop error message"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">If your PrestaShop store displays the following error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Fatal error: Declaration of AdminLoginControllerCore::viewAccess() must be compatible with AdminControllerCore<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">the issue is often related to PHP version compatibility.<\/p>\n\n\n\n<\/div>\n\n<div id=\"mybox-1282161084\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">This error may occur after:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Migrating a store to a new hosting environment<\/li>\n\n\n\n<li>Updating the server configuration<\/li>\n\n\n\n<li>Restoring a backup<\/li>\n\n\n\n<li>Changing the PHP version<\/li>\n\n\n\n<li>Running an older version of PrestaShop on a newer PHP release<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In many cases, switching to a PHP version supported by your PrestaShop installation resolves the problem.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#Change_the_PHP_Version_in_the_mybox_Panel\" >Change the PHP Version in the mybox Panel<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#Step_1_Open_the_Websites_Section\" >Step 1: Open the Websites Section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#Step_2_Edit_the_Website_Settings\" >Step 2: Edit the Website Settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#Step_3_Select_a_Different_PHP_Version\" >Step 3: Select a Different PHP Version<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#What_to_Expect\" >What to Expect<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#If_the_Error_Persists\" >If the Error Persists<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/prestashop-error-message\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Change_the_PHP_Version_in_the_mybox_Panel\"><\/span>Change the PHP Version in the mybox Panel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Open_the_Websites_Section\"><\/span>Step 1: Open the Websites Section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to the <strong>mybox Panel<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to the <strong>Websites<\/strong> section.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Edit_the_Website_Settings\"><\/span>Step 2: Edit the Website Settings<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Locate the website affected by the error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Actions<\/strong> next to the website and select <strong>Edit<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Select_a_Different_PHP_Version\"><\/span>Step 3: Select a Different PHP Version<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the website settings, locate the PHP version selector.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the PHP version recommended for your PrestaShop installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Save<\/strong> to apply the changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_Expect\"><\/span>What to Expect<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PHP version changes are not applied immediately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In most cases, the new configuration becomes active within a few minutes after saving the settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the change has been applied, refresh your website and verify whether the error has been resolved.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"If_the_Error_Persists\"><\/span>If the Error Persists<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If changing the PHP version does not resolve the issue, additional investigation may be required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Possible causes include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Outdated PrestaShop files<\/li>\n\n\n\n<li>Incompatible modules<\/li>\n\n\n\n<li>Custom modifications to the store<\/li>\n\n\n\n<li>Incomplete updates or migrations<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Checking the PHP error logs can help identify the exact source of the problem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The error indicating that <code>AdminLoginControllerCore::viewAccess()<\/code> is not compatible with <code>AdminControllerCore<\/code> is commonly caused by PHP version incompatibilities. Switching to a PHP version supported by your PrestaShop installation is often sufficient to restore normal operation of the store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[43],"manual_kb_tag":[2933,3461,4527,5311,5312,5313,283,403,408,1292],"class_list":["post-9503","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-website-errors","manual_kb_tag-change-php-version","manual_kb_tag-fatal-error","manual_kb_tag-website-settings","manual_kb_tag-prestashop-error-message","manual_kb_tag-php-version-compatibility","manual_kb_tag-edit-website-settings","manual_kb_tag-mybox-panel","manual_kb_tag-hosting-migration","manual_kb_tag-server-migration","manual_kb_tag-server-configuration"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9503\/revisions"}],"predecessor-version":[{"id":9504,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9503\/revisions\/9504"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=9503"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9503"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=9503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}