I tried to export a WordPress database from Xampp’s phpMyAdmin, but suddenly this error shows up:
Fatal error: Uncaught TypeError: Argument 5 passed to PhpMyAdminExport::getFilenameAndMimetype() must be of the type string, null given, called in C:xamppphpMyAdminexport.php on line 380 and defined in C:xamppphpMyAdminlibrariesclassesExport.php:270 Stack trace: #0 C:xamppphpMyAdminexport.php(380): PhpMyAdminExport->getFilenameAndMimetype(‘database’, ”, Object(PhpMyAdminPluginsExportExportSql), ”, NULL) #1 {main} thrown in C:xamppphpMyAdminlibrariesclassesExport.php on line 270
I tried cleaning the cache from the dev tools of the browser, but the issue hasn’t been solved. Besides, as soon as I click on "Export", I see a message about one form having more than 1000 lines.
I successfully exported the database with the command line, following another solution found here at StackOverflow, but I need to deselect a couple of tables, which is why I’d rather use the "usual" way.
Thank you very much in advance!
2
Answers
This is what, in my case, solved the issue. Open the Xampp's php.ini file and paste the following at the bottom:
Save the file and restart Apache from Xampp.
This is what worked for me when I was exporting a table,
Then go on download your table as a zipped file.