Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fatal error in QTpro v2.0 Quantity Tracking Professional


Recommended Posts

I have installed a QTpro but if I want to add product

I have seen it!


Fatal error: Call to undefined function: tep_array_merge() in /home/polishpo/public_html/catalog/admin/categories.php on line 760


Could you help me????

Link to comment
Share on other sites

The contribution is not compatible with your version of osCommerce.


Paste the following into admin/includes/functions/general.php


  function tep_array_merge($array1, $array2, $array3 = '') {

   if ($array3 == '') $array3 = array();

   if (function_exists('array_merge')) {

     $array_merged = array_merge($array1, $array2, $array3);

   } else {

     while (list($key, $val) = each($array1)) $array_merged[$key] = $val;

     while (list($key, $val) = each($array2)) $array_merged[$key] = $val;

     if (sizeof($array3) > 0) while (list($key, $val) = each($array3)) $array_merged[$key] = $val;


   return (array) $array_merged;



You may yet run into other problems - Please backup your file.

Link to comment
Share on other sites


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

  • Create New...