The error doesn't hurt anything, and Inventory should still work properly except for the error message. The message shows up as a side effect of fixing this bug:
http://www.ubercart.org/issue/2610/hook_nodeapi_ubercart_modules
To make it go away, wrap the entire body of uc_stocklevels_nodeapi() in the following:
<?php
if (in_array($node->type, array_keys(uc_product_node_info()))){
// put body of function here
}
?>Inventory API is not currently being maintained, but I am in the process of rewriting it and I will re-release it (and maintain the new release!) sometime in the near future. I made this fix a few weeks ago at the same time I reported the above bug.

Joined: 11/05/2007