cancel
Showing results for 
Search instead for 
Did you mean: 

Problems opening Website homepage after Magento 2.4.5-p1 to Magento 2.4.7-p3 Update

Problems opening Website homepage after Magento 2.4.5-p1 to Magento 2.4.7-p3 Update

Hey there,

 

After i updated my Magento Website from Magento 2.4.5-p1 to Magento 2.4.7-p3 i lost access to my Homepage.

 

Using the normal magento upgrade, compile, etc commands i was able to restore access to the admin panel but not to the Homepage.

 

The error is:

 

Class \"Magento\\Framework\\App\\PageCache\\Identifier\\DefaultIdentifier\" does not exist","1"

 

And the file does not exist indeed.

 

I already tried to update the theme and deactivate all plugins, one at a time, no luck.

 

Thank you in advance for the help

3 REPLIES 3

Re: Problems opening Website homepage after Magento 2.4.5-p1 to Magento 2.4.7-p3 Update

After upgrading from Magento 2.4.5-p1 to Magento 2.4.7-p3, users may encounter issues accessing the website homepage. This could be caused by various factors, including incomplete cache clearing, conflicts with custom extensions or themes, outdated database schema, or issues in the server environment. Common troubleshooting steps include clearing Magento's cache, reindexing the data, and checking link error logs for clues.

Re: Problems opening Website homepage after Magento 2.4.5-p1 to Magento 2.4.7-p3 Update

After updating from Magento 2.4.5-p1 to Magento 2.4.7-p3, you may encounter issues with the website homepage not opening. This could be due to compatibility problems with extensions, theme conflicts, missing dependencies, or cache-related issues. Common causes include outdated third-party modules for Half Birthday Calculator that are not fully compatible with the new version, incorrect file permissions, or database upgrade inconsistencies.

Re: Problems opening Website homepage after Magento 2.4.5-p1 to Magento 2.4.7-p3 Update

It looks like your Magento 2.4.7-p3 update is missing the DefaultIdentifier class from the PageCache module, which might be causing the homepage issue. Here are a few steps you can try to resolve this:

1. Run Dependency Injection Commands

Sometimes, after an update, Magento’s DI cache might cause missing class errors. Run the following:

sh
CopyEdit
php bin/magento setup:di:compile php bin/magento setup:upgrade php bin/magento cache:flush

Then check if the homepage loads.

2. Check if the Missing Class Exists in Magento’s Core

Try searching for the missing class:

sh
CopyEdit
grep -r "DefaultIdentifier" vendor/magento/

If it’s missing, your Magento upgrade might be incomplete. Reinstall Magento’s core files:

sh
composer require magento/framework --ignore-platform-reqs composer update

3. Reinstall PageCache Module

Since the issue is related to Magento_PageCache, try:

sh
CopyEdit
composer remove magento/module-page-cache composer require magento/module-page-cache php bin/magento setup:upgrade php bin/magento cache:flush

4. Check for Custom Modules or Themes

  • If you have a custom theme, switch to Luma temporarily:
    sh
    CopyEdit
    php bin/magento config:set design/theme/theme_id 2 php bin/magento cache:flush
  • If you have third-party modules, check app/code for custom PageCache overrides.

5. Check File & Folder Permissions

After updates, Magento might not detect some files due to permission issues. Fix them using:

sh
CopyEdit
find var generated vendor pub/static pub/media app/etc -type f -exec chmod 664 {} \; find var generated vendor pub/static pub/media app/etc -type d -exec chmod 775 {} \; chown -R www-data:www-data .

6. Enable Developer Mode & Debug Logs

If the issue persists, enable developer mode for more detailed error messages:

sh
CopyEdit
php bin/magento deploy:mode:set developer

Check the logs in var/log/system.log or var/log/exception.log for more clues.

Let me know if any of these help or if you need further troubleshooting! 🚀