Warning: rtrim() expects parameter 1 to be string, array given in /srv/users/serverpilot/apps/6domain/public/application/core/agc.php on line 161

Fatal error: Uncaught exception 'Exception' with message 'FPDF error: Some data has already been output, can't send PDF file (output started at /srv/users/serverpilot/apps/6domain/public/application/core/agc.php:161)' in /srv/users/serverpilot/apps/6domain/public/application/libraries/fpdf/fpdf.php:277 Stack trace: #0 /srv/users/serverpilot/apps/6domain/public/application/libraries/fpdf/fpdf.php(1058): FPDF->Error('Some data has a...') #1 /srv/users/serverpilot/apps/6domain/public/application/libraries/fpdf/fpdf.php(1005): FPDF->_checkoutput() #2 /srv/users/serverpilot/apps/6domain/public/application/actions/public/book-pdf.php(116): FPDF->Output() #3 /srv/users/serverpilot/apps/6domain/public/application/core/loader.php(67): require('/srv/users/serv...') #4 /srv/users/serverpilot/apps/6domain/public/index.php(11): require('/srv/users/serv...') #5 {main} thrown in /srv/users/serverpilot/apps/6domain/public/application/libraries/fpdf/fpdf.php on line 277