You are here:  » Fatal Error

Support Forum



Fatal Error

Submitted by thelegacy on Sat, 2011-12-31 23:51 in

Hi David,

While building our latest PT site, I am geting this error when I attempt to import a feed from the admin page.

Fatal error: Call to undefined function filter_removeDuplicatesExec() in /home/cybersho/public_html/xxxxxxxxx.com/includes/admin.php on line 226

It refers to this section of code below in /includes/admin.php

 /* apply user filters */
    $filter_dropRecordFlag = false;
    if ($admin_importFiltersExist)
    {
      foreach($admin_importFilters as $filter)
      {
        $execFunction = "filter_".$filter["name"]."Exec";
        $importRecord[$filter["field"]] = $execFunction($filter["data"],$importRecord[$filter["field"]]);
      }
    }

Not able to find what is causing this one here. Even tried to reload new includes pages but still have the error.

Thanks in advance,

Ray

Submitted by support on Sun, 2012-01-01 09:21

Hi Ray,

That's referring to a filter (Remove Duplicates) that will have been added to your includes/filter.php previously; so I wondering if you have started with a clean copy of the latest distribution but then imported settings from your previous site as that would cause this to happen.

If that's the case, simply take the copy of includes/filter.php from the same installation that you have migrated feed settings etc. and use that to replace the same file of the new installation and that should be all it is...

Cheers,
David.
--
PriceTapestry.com