Welcome Guest, Not a member yet? Register   Sign In
Downloading File
#1

I'm currently trying to export a subset of my MySQL database to be downloaded in the client as a SQLite database. In my controller, if there's no errors in moving the data, it returns
PHP Code:
          return $this->response->download('../app/dbtmp/'.$airport['Identifier'].'.sqlite3'null)->setFileName('config.sqlite3'); 
When going to the applicable page I get the following error:
TypeError
CodeIgniter\CodeIgniter::displayPerformanceMetrics(): Argument #1 ($output) must be of type string, null given, called in ...vendor/codeigniter4/framework/system/CodeIgniter.php on line 500
At this point I don't know what the error could be or how to trace what could be the issue.
Reply
#2

This is bug, see
https://github.com/codeigniter4/CodeIgniter4/pull/6361
Reply




Theme © iAndrew 2016 - Forum software by © MyBB