Skip to content

Undefined array key "took" #117

Description

Getting these seemingly randomly. Any ideas?

  Undefined array key "took"      
      
  at vendor/manticoresoftware/manticoresearch-php/src/Manticoresearch/ResultSet.php:48      
     44▕             $this->total = $response['hits']['total'];      
     45▕         } else {      
     46▕             $this->total = 0;      
     47▕         }      
  ➜  48▕         $this->took = $response['took'];      
     49▕         $this->timed_out = $response['timed_out'];      
     50▕         if (isset($response['profile'])) {      
     51▕             $this->profile = $response['profile'];      
     52▕         }      
      
       2 vendor frames      

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions