It looks like you may have an older version of eCart installed. If you uninstall and use the current version that error should not occur.... that line of code mentioned in the error doesn't exist in the current version.
Maybe try clearing your winfilecache.dat file in your user's configuration folder.