• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Search results: Number display of ALL in wordpress php

If the search results are all, 'ALL' is displayed without numbers. If there are 3 search results, '3' is displayed. How can I make sure that all search results are marked with 'ALL(number)'? e.g.) ALL -> ALL(23)

$('#nexusProductList').html('');  $('#nexusProductLoading').show();  $.get('', data,  function(res) {      // console.log(res);      $('#nexusProductLoading').hide();      var total_count = $(res).attr('data-total-count') || 0;      if (params && params.length > 0) {          $('.result-count').html((total_count == 0 ? 'THERE ARE NO' : total_count));      } else $('.result-count').html('ALL');      $(res).appendTo('#nexusProductList');  });

Download script demo [LINK] [Origin]
Download script demo [LINK 2] [Onedrive] Download script demo [LINK 2] [Google drive]