OpenCart 3.0.5.1 and 4.1.0.4 Released: Two Updates for Branches 3 and 4 with PHP 8.5 Support

OpenCartBot - 12 August 2026
OpenCart 3.0.5.1 and 4.1.0.4 Released: Two Updates for Branches 3 and 4 with PHP 8.5 Support

On August 11, 2026, the OpenCart team simultaneously published two updates for the platform's active branches — versions 3.0.5.1 and 4.1.0.4. Both releases focus on fixing bugs that accumulated in the previous builds 3.0.5.0 and 4.1.0.3, and they officially formalize support for the newest PHP 8.5.

For online store owners, this means that both current OpenCart branches have now received a package of fixes that eliminates issues identified over recent months. Particular attention has been paid to compatibility with PHP 8.5, released on November 20, 2025, along with security and stability of the core. Both builds are already available for download from the official GitHub repository.

Fixes in the OpenCart 4.1.0.4 Release

The previous stable build of the 4.1 branch — version 4.1.0.3 — was published on March 24, 2025 and contained mostly PHPDoc comment corrections along with partial fixes to the upgrade procedure. In the nearly seventeen months that have passed since that release, a significant number of patches accumulated in the 4.x.x.x branch. Public testing of the release candidate ran from May 2026. During this period, fixes were introduced for the admin order editor, the variant product option overrides editor, the manufacturer SEO module, as well as dozens of smaller corrections from contributors.

Release 4.1.0.4 received full compatibility with PHP 8.5, an updated upgrade script, and numerous security and stability fixes across the storefront and admin panel. This version is positioned as a stable build of the 4.1 branch, suitable for deployment on production projects.

The OpenCartBot team contributed to this release with ten of our own fixes. The most notable patch concerns the language and currency switcher in the storefront — before its introduction, links were generated incorrectly and led to 404 errors when switching between locales and currencies (commit fccdcc8). The remaining patches from our side addressed internal core logic, product data handling, and the admin interface.

The full list of our commits for 4.1.0.4:

  • fccdcc8 — fixed broken links in the language and currency switcher
  • 2b413cd — fixed possible undefined index 'user_token'
  • 3f87978 — missing language text: text_admin_delete_success
  • 7d891b4 — fixes in Account
  • 964aa4c — fix alert on mobile view
  • 515fbb5 — some fixes in twig templates
  • 2e0bcf5 — documentation link with 404 error
  • 73b525e — admin favicon
  • 811590e — statistics name tranlsation
  • 83121fa — missing html tag

Stores running on 4.1.0.3 can update to 4.1.0.4 through the standard upgrade mechanism. Before the procedure, it is advisable to perform a complete backup of files and the database.

OpenCart 3.0.5.1 Update

Version 3.0.5.0 was released on December 12, 2025 and was already a stable build capable of powering production online stores. Over the nearly eight months of operation, the community identified several bugs that required prompt attention.

Release 3.0.5.1 preserves the architecture of its predecessor and adds targeted fixes on top of it. The main focus is full compatibility with PHP 8.5. In version 3.0.5.0, support for the new PHP was declared as initial and required additional verification for certain scenarios. Several third-party vendor libraries have also been updated, since some of them could previously conflict with the new language syntax.

OpenCartBot contributed one fix to this branch as well (commit 354f339), aimed at stabilizing the operation of a component in the third-version core — fixed preventing adding SEO URL for a second language in Design -> SEO URL.

Since most modules in the OpenCart marketplace are still written for the 3.0.x.x branch, upgrading to 3.0.5.1 remains a safe and recommended path for stores that are not yet ready to migrate to the fourth version.

PHP 8.5 Support in the New Releases

PHP 8.5 was published on November 20, 2025. This version adds the pipe operator for sequential data processing, improved URL handling, more flexible object cloning, and a number of internal performance optimizations. Along with these additions, PHP 8.5 introduces stricter typing rules and deprecates certain syntactic constructs — specifically casts of the form (boolean), (integer), (double), (binary), as well as legacy case variants in switch constructions.

For CMS platforms, such changes mean the need to adapt the entire codebase. In releases 3.0.5.1 and 4.1.0.4, the OpenCart team carried out a review of the core, the Twig templating engine, and third-party vendor libraries in order to ensure correct operation on the new PHP version without deprecation notices in the logs.

The recommendation for store owners remains conservative. PHP 8.5 should be deployed only after testing in a staging environment. For production projects over the next six to twelve months, it is advisable to remain on the proven PHP 8.2–8.3 versions, which are supported by both current OpenCart branches.

Daniel Kerr's Work on OpenCart 5

Alongside supporting the current branches, the project founder Daniel Kerr is developing OpenCart 5 — the next generation of the platform with a fundamentally updated rendering architecture.

According to the plan, OpenCart 5 will work with server-side rendering (SSR) and use a JavaScript template engine of its own design — CurlyTag, whose repository has already been published on Daniel's GitHub profile. Such an approach should open the way to integration with modern frontend frameworks, isomorphic rendering, and better client-side performance while preserving the SEO advantages inherent to the classic server-side approach.

The exact release date for OpenCart 5 has not yet been announced. Until the new major version arrives, branches 3.0.x.x and 4.1.x.x will remain the main options for stores that need stable operation.

The full changelog for both releases is available on the official OpenCart GitHub repository page. Files for both builds can also be downloaded from there for manual installation or upgrade.


Products related to this post


Related Posts