The issue was caused because some of the nodes do not contain 'aliases' filed in their data and search function is checking 'aliases' field by calling the functions to the null object.
Added conditions to check data('aliases') is not null and conditions for 'name' and 'label' field additionally for the future reference when the user upload node without node and label #279
The issue was caused because some of the nodes do not contain 'aliases' filed in their data and search function is checking 'aliases' field by calling the functions to the null object.
Added conditions to check data('aliases') is not null and conditions for 'name' and 'label' field additionally for the future reference when the user upload node without node and label #279