Jump to content
Latest News: (loading..)

Recommended Posts

Updated store to CE Frozen. Old 2.3.4 store worked perfectly. Imported existing data.

Now when I choose a category I get an empty centre field and this error. Header appears but no footer or side boxes.

PHP Fatal error:  Call to a member function register() on null in /home/*****/public_html/includes/modules/product_listing.php on line 14

Line 14 is   $OSCOM_Hooks->register('product_listing');

Specials and What's New work fine

Edited by mhsuffolk

OsC CE Frozen   PHP 7.2   MySQL 10.1.36-MariaDB-cll-lve

Share this post

Link to post
Share on other sites

Just add

global $OSCOM_Hooks;




Unfortunately we auto-registered hooks in app_top which was a mistake to do so, looking back.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

Get the latest current code (community-supported responsive Edge) here


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now