Page Patch

Page Patch
Some URLs, especially SEO-friendly URLs, can pass a "blank" page number to the OpenCart back end, which can cause the error log to be filled with warnings about a "non well formed numeric value" in the page counter - often several errors for every page load! Writing to the error log so frequently can massively slow down or crash your website, and even render it unusable if the error log grows to fill the server's capacity.

This extension ensures the page number is indeed a number before passing it to the page counter. If you find your OpenCart error log is filled with errors such as:

PHP Notice: A non well formed numeric value encountered in .../catalog/controller/product/category.php
PHP Notice: A non well formed numeric value encountered in .../system/library/pagination.php

- then this is the extension for you!

This extension is for OpenCart versions and earlier - versions 3.0.3.x onwards have this fixed by default.

About Us:

At Antropy, we are a dedicated team of OpenCart web developers, being OpenCart Gold Partners for the last 10 years. We specialise in providing a comprehensive range of services tailored to meet your e-commerce needs.

Whether you require expert assistance in:

Building Advanced OpenCart Stores
Reliable Hosting Solutions
Bug Fixes
Tech Audits
Support Retainer Packages
Seamless OpenCart Upgrades

…our experienced team is here to help. With our commitment to excellence and in-depth knowledge of the OpenCart platform, we aim to deliver exceptional results that empower your online business. Visit our website to learn more about how we can optimise your OpenCart store and drive your e-commerce success to new heights.

  • Developed by OpenCart Partner
  • Documentation Included



Last Update
6 Jul 2023

2 Apr 2021
Member since: 11 Aug 2011

View all extensions Get Support