Extension Description 

This is a small but powerful utility extension designed to solve one very specific and recurring problem in OpenCart 3: the PHP deprecation warning preg_replace(): Passing null to parameter that frequently appears in the storage/modification/system/engine/action.php file.


e.g,  action.php line 65/67/68 errors

This error is almost always caused by another extension or theme that incorrectly modifies the action.php core file. Because the error exists in the modified file within the storage/modification cache directory, any manual fix you apply is wiped out every time you click the "Refresh" button in the admin Extensions -> Modifications area.


Key Benefits & Features

The Permanent PHP Fixer solves this problem by acting as a "patch". It runs every time you refresh your modifications cache, automatically finding the buggy line of code created by the other extension and replacing it with the corrected, safe version.
This is a "set and forget" extension. Once installed, it works silently in the background to keep your system error-free. There are no settings to configure.

Usage Instructions

There is no usage required. The extension has no user interface or settings. Once it is installed and the modification cache has been refreshed, it works automatically.


Installation Instructions

Log in to your OpenCart Admin panel.
Navigate to Extensions -> Installer.
Click the blue Upload button.
Select the permanent_php_fixer.ocmod.zip file from your computer.
Wait for the success message confirming the extension has been uploaded.
Navigate to Extensions -> Modifications.
You should see "Permanent PHP Fix for action.php" in the list.
Click the blue Refresh button at the top-right of the page. This is a critical step that applies the fix for the first time.
After the refresh is complete, the preg_replace() error will be gone.


for future backup keep this  storage\modification\system\engine\action.php file
Navigate to htdocs folder of your domain, open this exact location and replace action.php file:
storage\modification\system\engine\action.php 


Un-installation Instructions

If you ever wish to remove this patch (for example, if you find and remove the original buggy extension):
Navigate to Extensions -> Modifications.
Find "Permanent PHP Fix for action.php" in the list.
Click the red Disable button.
(Optional) Click the Delete (trash can) button to remove it from the list.
Click the blue Refresh button at the top-right of the page to remove the patch from the system.

Write a review

Note: HTML is not translated!
    Bad           Good

Fix action.php error

  • Brand: Custom Made
  • Product Code: Fix action.php error
  • Availability: In Stock
  • SGD$0.00


Related Products

Advance Permission Override

Advance Permission Override

Extension Description  Installer Permission Override is a professional-grade utility design..

SGD$0.00

New Tab In Product Page

New Tab In Product Page

Extension Description  The New Tab in Product Page extension for OpenCart 3.x allows you to..

SGD$0.00

Ultimate Live Security Suite 360 for OC 3.X

Ultimate Live Security Suite 360 for OC 3.X

Ultimate Live Security Suite 360The Ultimate Security & Analytics Command Center for OpenCart ..

SGD$400.00

User Permissions & Extension View

User Permissions & Extension View

This extension will add below 3 functions1- Admin Improved Extension ViewHelp you easily navigate to..

SGD$0.00