• Resolved iohnatan

    (@iohnatan)


    function manage_perform_request_blocking_by_url($url, $info = '')
    {
    ......

    // HERE AN EMPTY ARRAY IS BEING PASSED!
    return $this->manage_perform_request_blocking(array(), $url);
    }

    // THEN THIS ARE CALLED.
    manage_perform_request_blocking() -> manage_perform_request_blocking->

    // FINALLY THE $args['stream'] WILL GENERATE A WARNING.
    function db_capture_request($response, $context, $transport, $args, $url)
    {
    .......
    $this->request_log($url, $args['stream']);
    .......
    }

    Exception has occurred: Warning Undefined array key “stream”

    maybe just change ($url, $args['stream']); to ($url, $args['stream'] ?? null );

    Great plugin, thanks for your work!

Viewing 1 replies (of 1 total)
  • Plugin Author veppa

    (@veppa)

    Fixed issue and released updated version 1.3.9.

    Thank you for reporting.

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Warning on db_capture_request(), Undefined array key “stream”’ is closed to new replies.