energy Posted November 22, 2003 Posted November 22, 2003 Can anyone please tell me what this means and how to fix it??? Fatal error: Call to a member function on a non-object in public_html/store/includes/header.php on line 51 This is what line 51 says: if ($messageStack->size('header') > 0) { :(
Guest Posted November 22, 2003 Posted November 22, 2003 This is usually caused by mixing newer contributions with older versions of osCommerce. You can fix it four ways: 1. Upgrade to MS2, which has $messageStack defined. 2. Graft the message stack code from MS2 into your install--this is the most technically difficult option. 3. Comment out or delete the references to $messageStack. Note: when you see a {, you need to comment out or delete the corresponding }. You may want to do the same with the intervening lines as well. 4. Remove the troublesome contribution and either replace it with an older version or eliminate it. Note: for future reference, it can be easier to reverse changes if you keep the old versions of the files (prior to making the changes), renamed to something that will remind you which is which. Hth, Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.