Error: Warning: ini_set(): A session is active
My fault. The issue seems to be caused by wrong Permission in Access settings in Report.

Instead of using CiviCRM: View all contacts it was set to CiviReport: Access CiviReport.