Today, April 8, 2025, Adobe has officially released Magento (Adobe Commerce) 2.4.8. While this release strengthens Magento’s capabilities, we advise all store owners to carefully assess its impact before upgrading.
Below, we present our key findings from Magento 2.4.8 beta, provide expert recommendations from Amasty developers, and share a free fix package to resolve major issues in Magento 2.4.8.
PHP 8.4 Compatibility Issues
Magento 2.4.8 introduces support for PHP 8.4, which brings significant improvements but also requires a thorough review of existing codebases. Due to changes in available functions, methods, and interfaces, developers now must replace deprecated approaches to prevent potential fatal errors, warnings, or functionality issues.
As a result, many of our modules, including the Amasty Base module and Free Gift, need updates to maintain compatibility, ensure optimal performance, and leverage new capabilities for greater efficiency. While this adds maintenance work, it also presents an opportunity to future-proof the codebase and enhance overall quality.
How to Address: We take care of all PHP 8.4 compatibility updates within Amasty extensions, so there’s no action needed on your part. To fix the issues in your custom code, follow a structured approach and apply systematic fixes across all affected files.
LESS Compilation Errors Affecting Frontend Styles
Beyond PHP changes, store owners should prepare for frontend styling issues. The upgrade affects how LESS files compile, leading to visual inconsistencies and functional disruptions in store design.
Themes, custom styles, and add-ons relying on older LESS structures may experience broken layouts or missing styles. The Amasty team’s testing has revealed that key extensions, such as Request a Quote and Improved Layered Navigation, are affected and require adjustments to ensure a seamless user experience.
How to Address: This is a moderate issue that requires debugging the LESS compilation process and applying manual fixes. Again, no action is needed for Amasty modules – we resolve LESS compilation issues on our end. For custom code or integrations, identify problematic variables, then either replace them with direct values or refine the logic to ensure proper style rendering.
Magento 2.4.8 Issues Fix Package
Our team has released the Magento 2.4.8 Issues Fix to resolve two major issues we identified in Magento 2.4.8:
1. Ignored .less Styles with min-width: (@screen__l) – This bug causes Magento to overlook certain responsive styles defined in .less files, leading to layout inconsistencies on larger screens.
2. Store Switcher Not Functioning Correctly – When switching between stores, Magento may serve cached pages instead of fresh content, which results in outdated or incorrect displays.
These issues can critically impact your store’s performance and many third-party integrations, including Amasty extensions such as Improved Layered Navigation, GDPR and Cookie Consent, One Step Checkout, Free Gift, and others. If you're already on version 2.4.8, be sure to install the fix package to avoid serious disruptions within our modules.
Here’s how to install the fix package:
Option 1: Via Composer (Recommended)
Execute the following commands in your Magento root directory:
composer require amasty/module-mage-248-fix -W php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush
Option 2: Manual Installation
1. Download the module files and place them in app/code/Amasty/Mage248Fix.
2. Run the following commands:
composer require wikimedia/less.php:^5.3.1 php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush
Requirements:
- Magento 2.4.8
- Amasty Base module
- wikimedia/less.php:^5.3.1
After the installation, no additional configuration is necessary. The package applies fixes automatically.
Recommended Upgrade Strategy
While the Magento 2.4.8 upgrade isn’t conceptually complex, it involves a high volume of changes, making it a time-consuming process. At Amasty, we strive to make the update process as smooth as possible for clients using our products.
However, since websites often include custom code or open-source solutions that may not adopt compatibility with new versions as quickly, we recommend the following approach to ensure a seamless transition:
- Back up your store before starting the upgrade.
- Use a staging environment to identify potential conflicts early.
- Run automated compatibility checks with Magento 2.4.8 in your CI/CD pipeline.
- Allocate sufficient resources (developers/testers) to systematically update affected themes, extensions, and other entities.
- Conduct thorough regression testing post-upgrade to ensure store stability.
- Prioritize fixing critical errors to prevent any functionality issues.
Magento 2.4.8 makes expert assistance indispensable for a smooth transition. If you lack an in-house team, have limited technical resources, or simply need expert guidance, consider reaching out to Amasty. We simplify your upgrade process with:
- Automated Compatibility Checks – Early detection of potential conflicts in your store with Magento 2.4.8.
- Thorough Debugging & Fixing of Critical Errors – Prioritized resolution of critical issues to keep your store running smoothly.
- Expert Upgrade Support – Swift fixes of errors related to PHP 8.4 and LESS compilation in Amasty modules.
- Comprehensive Regression Testing – Ensuring your store remains stable and fully functional post-upgrade.
Schedule your Magento upgrade with Amasty – and receive expert guidance at every stage of your Magento 2.4.8 transition, minimizing downtime and ensuring a seamless, hassle-free process.