Please config your Portfolio Category ID from admin theme options.
Please config your News Category from admin theme options.