Upgrading from 2.x to 3.0
Last updated Oct 11th, 2026 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$185 per month—let's make that $500!
Learn moreThis page lists breaking changes from 2.x to 3.0 that may affect extras and sites. For the full list, see the changelog. Compatible extras: SiteDash list.
Upgrade to 3.0¶
Setup only upgrades from MODX 2.6.0 or later. On 2.5 or older, upgrade to 2.6 first. Setup stops with a failure if the current version is below 2.6.0.
From 2.6+, follow the standard upgrading process. Upgrade to the latest 2.8 release before 3.0: 2.8 writes deprecated API use to the MODX log. Fix extras and custom code there, then move to 3.0.
- ⚠️ Important: upgrades from MODX older than 2.6.0 are not supported
- ⚠️ Important: the core folder must now always be located in the project root, and can no longer be renamed
- ⚠️ Important: MODX 3.0 required PHP 7.2.5; current 3.x (3.2+) requires PHP 8.1+
- ⚠️ Important: sqlsrv support has been removed
- A list of breaking changes can be found here, most notably many core classes have been moved and renamed
- Updating Extras for 3.0
- xPDO 3, Composer, and migrating custom models
- The manager language is now dynamic
- Various system settings have been removed or changed
$modx->getService()is deprecated in favour of the DI container ($modx->services). The method still works and was not removed in 3.1. See modX.getService.- Notable manager UI changes in 3.0
- Custom resource types that extend core Resource processors: Processors and Custom Resource Classes
Other notable changes and improvements¶
Manager/Interface¶
- New template picker allows for easier resource creation #15535
- Redesigned installer #14507 and login #13773
- Manager has been redesigned. Improved manager on mobile devices #14700, #14735. Changed resource styles in the tree #14832
- Language can now be switched on the fly #14046
- All manager permissions are automatically made available in
MODx.perm#13924, #14425. See The MODx Object. - The manager also exposes
MODx.user({id, username}) for scripts that need the current user. - Google translations are now disabled in the manager #14414
- More consistent resource/element duplication #14411
Packages¶
- Markdown is now parsed in package attributes (changelog/readme/license) #13853. See Creating a Build Script.
Files & Media¶
- Media sources now use Flysystem #13709. See File System and S3 media source types.
- Core directories are now protected from being renamed/removed from the manager #14374. See File System media sources.
Resources & Templates¶
- Resources can now get an icon based on their content type #14383. See Content Types.
- New output modifiers related to files:
dirname,basename,filename,extension#14198. See Output Filter/Modifiers.
Security & email¶
- Forgot-password email uses a reset link (
modhash) instead of sending a password #13786. See forgot_login_email.
Parser & REST¶
- Literal single
[/]inside tag values are supported #13904. See Tag Syntax. - Array property values get a stable serialized tag signature #14689. See Tag Syntax.
- Empty XML elements in
modRestServicerequest bodies map to''#14305. See Developing a RESTful API.
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$185 per month—let's make that $500!
Learn more










