Skip to content

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

Description

@delovelady

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions