Warning: Call-time pass-by-reference has been deprecated in /home/bpganet/public_html/core/ActiveRecord.php on line 1581

Warning: Call-time pass-by-reference has been deprecated in /home/bpganet/public_html/core/ActiveRecord.php on line 2781

Oops! Error No2 <=> [OTHER ERROR] - Cannot modify header information - headers already sent by (output started at /home/bpganet/public_html/core/ActiveRecord.php:1581)
The error occurred on line 35 of /home/bpganet/public_html/core/core.php

#0  MagException->report() called at [/home/bpganet/public_html/core/core.php:36]
#1  MagErrorHandler(2, Cannot modify header information - headers already sent by (output started at /home/bpganet/public_html/core/ActiveRecord.php:1581), /home/bpganet/public_html/controllers/application_controller.php, 83, Array ([params] => Array ([id] => 3,[module] => reports),[model_name] => Report,[model] => Report Object ([] => 1,[] => ,[] => 1,[] => ,[] => ,[] => ,[] => Array ([0] => 123x100,[1] => 300x200),[] => Array ([0] => 150x150),[] => Array ([0] => 5,[1] => 3),[] => ,[orig_table_name] => reports,[table_name] => reports,[index_on] => id,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Array (),[auto_save_associations] => 1,[] => 1,[] => Array ([0] => updated_at,[1] => updated_on),[] => Array ([0] => created_at,[1] => created_on),[] => Y-m-d,[] => H:i:s,[] => 1,[] => ,[] => Array ([0] => count,[1] => sum,[2] => avg,[3] => max,[4] => min),[] => bg-BG,[] => _i18n,[] => ,[] => Array ([0] => ext,[1] => title,[2] => summary,[3] => is_active),[] => Array (),[] => reports_i18n,[] => Array ([0] => i18n_foreign_key,[1] => i18n_locale),[] => i18n_foreign_key,[] => i18n_locale,[primary_keys] => Array ([0] => id),[rows_per_page_default] => 20,[pagination_count] => 0,[errors] => Array (),[auto_timestamps] => 1,[auto_save_habtm] => 1,[auto_delete_habtm] => 1,[] => 1,[] => 1,[] => Array (),[is_find_first] => ),[file_obj] => Report Object ([] => 1,[] => ,[] => 1,[] => ,[] => ,[] => ,[] => Array ([0] => 123x100,[1] => 300x200),[] => Array ([0] => 150x150),[] => Array ([0] => 5,[1] => 3),[] => ,[orig_table_name] => reports,[table_name] => reports,[index_on] => id,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Array (),[auto_save_associations] => 1,[] => ,[] => Array ([0] => updated_at,[1] => updated_on),[] => Array ([0] => created_at,[1] => created_on),[] => Y-m-d,[] => H:i:s,[] => 1,[] => ,[] => Array ([0] => count,[1] => sum,[2] => avg,[3] => max,[4] => min),[] => bg-BG,[] => _i18n,[] => ,[] => Array ([0] => ext,[1] => title,[2] => summary,[3] => is_active),[] => Array ([ext] => Array ([bg-BG] => pdf),[title] => Array ([bg-BG] => Бюлетин на БПГА, брой 1),[summary] => Array ([bg-BG] => Издание, март 2016г.),[is_active] => Array ([bg-BG] => 1)),[] => reports_i18n,[] => Array ([0] => i18n_foreign_key,[1] => i18n_locale),[] => i18n_foreign_key,[] => i18n_locale,[primary_keys] => Array ([0] => id),[rows_per_page_default] => 20,[pagination_count] => 0,[errors] => Array (),[auto_timestamps] => 1,[auto_save_habtm] => 1,[auto_delete_habtm] => 1,[] => 1,[] => 1,[] => Array (),[id] => 3,[date_time] => 2016-06-28 10:24:00,[i18n_foreign_key] => 3,[pages] => ),[file] => /home/bpganet/public_html/public/files/reports/3/bg/document.pdf,[len] => 5854931,[filename] => Бюлетин на БПГА, брой 1.pdf))
#2  header(Content-Description: File Transfer) called at [/home/bpganet/public_html/controllers/application_controller.php:83]
#3  ApplicationController->download(Array ([id] => 3,[module] => reports)) called at [/home/bpganet/public_html/core/BaseController.php:726]
#4  BaseController->process_route() called at [/home/bpganet/public_html/public/dispatch.php:42]