Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error object_info.php on line 13


extramusical.com

Recommended Posts

Get the following error when going to payment modules admin

 

Fatal error: Cannot redeclare class objectInfo in /mnt/w0501/d09/s39/b023bd73/www/extramusical.com/catalog/admin/includes/classes/object_info.php on line 13

 

Customers are also getting error when trying to checkout

Link to comment
Share on other sites

Somewhere you have the code that declares class objectInfo included twice in a page. Have you just made any code changes, or added an add-on? Might you have added the add-on twice by mistake (or you thought the first install failed, and ran it again)? You'll have to look around in all files that have been recently modified, to see why the class is being declared twice.

 

One way to prevent accidentally including a file twice is to change include(name) or require(name) to include_once(name) or require_once(name). However, you should still understand why it was being done twice, and that it was not the result of an accident (making the same code change twice, for instance).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...