Try putting the line including the class def before starting the session; maybe at session start, the session variables are deserialized and need the definition (error messaage sounds alike) - like this:
require_once "prduitclass.php";
session_start();