plex-api icon indicating copy to clipboard operation
plex-api copied to clipboard

PlexApi->filter returns warning: Undefined index: Video in /svr/www/cgi-bin/vendor/jc21/plex-api/src/jc21/PlexApi.php on line 405

Open delovelady opened this issue 2 years ago • 0 comments

When executing this code:

$res = $client->filter($sectionNumber, [$filter1], true) ;

a warning is logged stating that Video is an undefined index.

Image shows the occurrence as well as the values in $results at the time.

Screen Shot 2022-08-29 at 9 10 28 AM

It would be good practice to avoid extra warnings in the log (by other than reducing the logging level).

delovelady avatar Aug 29 '22 13:08 delovelady