Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

product_reviews_write.php not functioning - coming up with a 'call to member function' error


Recommended Posts

Hi Everyone,


I discovered today that my product reviews page is not functioning - product_reviews_write.php. Whenever a customer tries to write a review for a product, they're faced with this message:



Fatal error: Call to a member function set_snapshot() on a non-object in /home/eveorgan/public_html/product_reviews_write.php on line 16



I've had a look at the file in question and it looks exactly the same as my backed-up version, so i can't figure out what's wrong. I've copied and pasted the code up to line 16, so you can see what might be causing this:




$Id: product_reviews_write.php 1739 2007-12-20 00:52:16Z hpdl $


osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 osCommerce


Released under the GNU General Public License





if (!tep_session_is_registered('customer_id')) {


tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));



Any ideas? :(


Link to comment
Share on other sites

Okay I just got the same message when I tried to go to the 'Checkout' page! checkout_shipping.php

This is now becoming urgent :( :(

I think i might know what the problem is - I just enabled security pro. Could this be the issue? Does anyone have any idea how to tackle this? :(

Thanks so much everyone.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...