PrestaShop 9 Module Compatibility: What Breaks
Most modules survive a move to PrestaShop 9. The ones that break break in predictable places: a hook that no longer exists, a PHP function that stopped doing what it did, or a stylesheet class that Hummingbird renamed. PrestaShop publishes exactly what changed, and it is not a long list. This guide gives the changes that matter to module authors, and a way to find out where your own shop stands before you upgrade rather than after.
What actually breaks modules on PrestaShop 9
PrestaShop 9 moved the back office onto Symfony 6.4 and rewrote large parts of the legacy controller layer underneath it. For a module, that translates into three concrete failure modes, and they are worth separating because they fail in different ways.
A missing hook fails quietly. If a module registers against a hook that no longer exists, nothing crashes. The module loads, the page renders, and the feature the module was supposed to add simply is not there. This is the failure mode that costs the most time, because it looks like a configuration problem rather than a compatibility one.
A changed PHP call fails loudly. If a module calls a function whose behaviour changed, you get a fatal error or visibly wrong output. That is the better failure: you find it in testing rather than in production.
A renamed class fails visually. Module themes often style against the core theme's CSS classes. When the default theme moves to Hummingbird on Bootstrap 5, those class names change, and the module's markup no longer matches anything.
Before any of this matters, there is one question worth answering: is your module even affected? PrestaShop does not publish a compatibility share for its module catalogue, so nobody can tell you the percentage — the honest starting point is that the changes below are specific and bounded. Work down the list, and a module that touches none of it is very likely fine. A module that overrides an admin controller method, depends on one of the removed libraries, registers against a removed hook, or styles against the old theme classes is not.
Hooks removed, and hooks renamed
PrestaShop 9 removes a group of back-office login hooks outright. A module using any of these will stop working on that screen, with no error:
actionAdminLoginControllerBeforeactionAdminLoginControllerLoginBeforeactionAdminLoginControllerLoginAfteractionAdminLoginControllerForgotBeforeactionAdminLoginControllerForgotAfteractionAdminLoginControllerResetBeforeactionAdminLoginControllerResetAfter
Two login hooks survive on purpose so you can keep customising that page:
actionAdminLoginControllerSetMedia for adding your own assets, and
displayAdminLogin for custom HTML. Two new ones appear:
actionBackOfficeLoginForm and actionEmployeeRequestPasswordResetForm, both
handed the form builder so you can modify the fields.
PrestaShop 9.1 adds module lifecycle hooks, which is the more useful direction for module authors:
actionModuleEnable, actionModuleDisable and
actionModuleUpgradeAfter, plus actionConfigurationUpdateValueBefore. If you
maintain a module, these are where to hook in.
In Hummingbird specifically, displaySearch is removed. It was used to inject the
ps_searchbar module into the 404 page and caused duplicate output. The replacement set is
displayOrderDetail, which takes over the old
$HOOK_DISPLAYORDERDETAIL variable under the standard naming convention, and
displayModalContent, which is new.
PHP and library changes that break module code
The trans() function no longer escapes strings. This is the change most
likely to affect a module that touches the front office. In PrestaShop 8 you could pass
htmlspecialchars or addslashes as a parameter to do the cleaning yourself.
That parameter is gone and the function no longer modifies the string. The Smarty l
function behaves the same way. If your module relies on either, it now has to escape explicitly.
Legacy admin controller methods are no longer called. run,
initHeader, initContent, initFooter and display
are not invoked on the legacy controller anymore. A module overriding them still loads; its changes
simply do not appear. PrestaShop kept the actionDispatcher,
actionDispatcherBefore and actionDispatcherAfter hooks deliberately, which is
what keeps most module admin pages working at all.
The base controller you should extend changed. FrameworkBundleAdminController
is deprecated and will be removed in PrestaShop 10. Modules should move to
PrestaShopAdminController, which does not rely on the workaround that keeps the old base
class able to fetch services from the global container.
Several libraries left core. If your module depends on these directly, it needs a release that uses the replacements:
guzzlehttp/guzzle— replaced by the Symfony HTTP clientswiftmailer/swiftailer— replaced by the Symfony Mailer componentleague/tactician-bundle— replaced by the Symfony Messenger componentsensio/framework-extra-bundle— core now favours annotationspear/archive_tar,soundasleep/html2textand severalsymfony/*utilities — no longer used in core
PrestaShop also states that the symfony/symfony package is no longer used: each
Symfony sub-package is included individually instead. And the mail change has a visible consequence
worth knowing: SSL encryption was dropped from the ESMTP transport, leaving TLS or no encryption.
Classes and services moved. The PrestaShop employee class is now
PrestaShopBundle\Entity\Employee, and Context has been split into services
such as ShopContext, EmployeeContext, CurrencyContext and
LanguageContext. Several Symfony services including the translator, the session and
security.csrf.token_manager are no longer public.
Theme changes: Classic to Hummingbird
You do not have to move to Hummingbird to upgrade to PrestaShop 9. It is the default for fresh 9.1 installations; an upgraded store keeps the theme it has. But if you do move, this is where module compatibility gets its own separate job.
Hummingbird moves Bootstrap from 4.0.0-alpha.5 to 5.3.3, and Bootstrap 5 renamed a lot of the class names module templates rely on:
.closebecomes.btn-close.badge-pillbecomes.rounded-pill.custom-control.custom-checkboxand.custom-control.custom-radiobecome.form-check, and.custom-selectbecomes.form-select.btn-blockbecomes.d-gridwith.gap-*utilities- Layout classes
.form-group,.form-rowand.form-inlineare gone in favour of the grid - Labels now require
.form-label .float-leftand.float-rightbecome.float-startand.float-end, and the same rename applies to the border and padding utilities.sr-onlybecomes.visually-hidden- The
.jumbotroncomponent is removed
JavaScript changes too. Bootstrap's plugins now use namespaced data attributes —
data-bs-toggle instead of data-toggle. PrestaShop is also moving its own
selectors away from CSS classes and onto data attributes, with a data-ps- prefix: for
example a #password-feedback ID selector becomes
[data-ps-ref="password-feedback-template"]. That migration is explicitly progressive, so
not every selector has moved yet.
The biggest one: jQuery is deprecated in Hummingbird and will be removed in the next major Hummingbird release, planned alongside PrestaShop 10. Any module whose JavaScript depends on jQuery has a deadline, and it is a shorter one than the module's own release cycle suggests.
How to check your modules before you upgrade
There is no compatibility checker in the back office, so this is a manual pass. Work through your module list rather than your shop.
- Check each module's own compatibility notes for PrestaShop 9. The module author is the only real authority on whether it supports the release. If the notes are silent, assume it does not.
- Flag the modules that override admin controller methods. Search your modules for
initHeader,initContentanddisplay. These are the ones that will load and then do nothing. - Flag the modules that depend on Guzzle, Swift Mailer or Tactician. These need a PrestaShop 9 release from the author, not a config change.
- Flag the modules that touch the login screen hooks listed above.
- Flag the modules that style against core theme CSS classes, if you are moving to Hummingbird.
- Check your overrides, not just your modules. The
trans()escaping change affects your own theme and override files as much as any module. - Test the whole shop on staging. Module behaviour is where an upgrade surprises you, and it is the part that cannot be checked from a compatibility note.
Two things PrestaShop states about 9.1 are worth holding on to: it aims to stay backward compatible with 9.0.x, and breaking changes are only introduced when absolutely necessary. So if you are on 9.0 already, the step to 9.1 is the smaller one of the two.
Verification
Read on 2026-10-04 from PrestaShop's own release notes for 9.0 and 9.1. Every hook name, class name, library name and version quoted above appears in those pages.
From the PrestaShop 9.0 notes:
- Symfony 6.4 replaces the Symfony 4.4 base of PrestaShop 8, which is the source of every
controller, layout and hook change below.
- The removed login hooks, the two kept ("so you can add some custom assets on the login page" and "so
you can add custom HTML on the login page"), and the two new form hooks.
- trans(): "does not escape anymore strings", and the same applies to the
l function in Smarty.
- The removed AdminController methods, and the statement that
actionDispatcher, actionDispatcherBefore and
actionDispatcherAfter were maintained.
- FrameworkBundleAdminController is "deprecated and will be removed in PrestaShop 10.0",
and PrestaShopAdminController is the replacement.
- The removed dependency table, including Guzzle replaced by the Symfony HTTP client and Swift Mailer
replaced by the Symfony Mailer component.
- Mail: "Mail SSL encryption was dropped ... The remaining choices are 'TLS encryption' or 'No
encryption'."
- Context refactorisation and the list of new context services, and the services that are
"no longer public".
From the PrestaShop 9.1 notes:
- The Hummingbird hook changes: displaySearch "caused conflict issues (duplicate
display), which is why it has been removed in Hummingbird", displayOrderDetail replacing
$HOOK_DISPLAYORDERDETAIL, and displayModalContent as new.
- "Bootstrap has been updated from 4.0.0-alpha.5 → 5.3.3", with
the class rename list including .close → .btn-close,
.badge-pill → .rounded-pill, .form-group dropped and
.sr-only → .visually-hidden.
- "All JavaScript plugins are now namespaced (e.g., data-bs-toggle instead of
data-toggle)", and the data-ps-ref / data-ps-action /
data-ps-target naming convention, described as a progressive migration.
- "JQuery is now deprecated and will be removed in the next major Hummingbird version planned to be
released with PrestaShop 10."
- The new module lifecycle hooks actionModuleEnable, actionModuleDisable and
actionModuleUpgradeAfter, and actionConfigurationUpdateValueBefore.
Not verified, and not claimed above: whether any specific module or agency has released a compatible version, whether your module's author has tested against a particular 9.x patch release, and what share of the module catalogue PrestaShop 9 affects — the project publishes no such figure.
Where to go next
The rest of the PrestaShop 9 cluster:
FAQ
How do I know if a module will work on PrestaShop 9? Check the module's own compatibility notes for the release, then read its changelog for PrestaShop 9 support. There is no built-in compatibility checker in the back office, so the module author is the only authority.
What is the most common way a module breaks on PrestaShop 9? A hook that was removed. PrestaShop 9 removes a set of back-office login hooks, and a module that registers against one of them simply stops being called rather than raising an error.
Do I have to switch to the Hummingbird theme to upgrade to PrestaShop 9? No. Hummingbird is the default theme for new PrestaShop 9.1 installations only; an upgraded store keeps its current theme. But if you do move to Hummingbird, its Bootstrap 5 changes are a separate compatibility job.
My module calls trans() to escape output. Does it still work? It still runs, but it no longer escapes. PrestaShop 9 removed the escape parameter, and the function no longer modifies the string, so code that relied on it needs explicit htmlspecialchars() calls now.
My module overrides AdminController::initHeader(). Why is it ignored? PrestaShop 9 stopped calling run, initHeader, initContent, initFooter and display directly on the legacy controller. Overriding them has no effect; the layout is now built by Symfony components.
Do I need to rebuild my module for PrestaShop 9 or can I just update it? Update it, if the author has released a compatible version. PrestaShop 9 removed libraries such as Guzzle and Swift Mailer from core, so a module built on those needs a release that uses the Symfony replacements.
Will a PrestaShop 1.7 or 8 module work on PrestaShop 9 unchanged? Only if it does not touch anything listed above. Most do not, which is why most upgrades go through. The ones that override admin controller methods, depend on Guzzle or Swift Mailer, or style against Bootstrap 4 classes are the ones to check first.
Where should I test the upgrade before doing it on my live shop? On a staging copy, with the database backup taken first. Module behaviour is the part of an upgrade that surprises you, and a staging environment is where you find it cheaply.
About this guide
Written by Frank Kenedy, who runs PrestaSOO and fixes PrestaShop stores for a living. Last updated on 2026-10-04.
Was this page helpful?
Countdown x Bar
Xleft
Jump to Checkout
Accessibility Guard
SOO Agent Gateway
SOO Agent Catalog Tools
SOO Agent SEO Tools
GDPR
