Strict standards 

Declaration of fieldsattachTablefieldsattachunidad::publish() should be compatible with JTable::publish($pks = NULL, $state = 1, $userId = 0)