ACP 7.0.15 – Export to CSV triggers TypeError (500 error)
Hello Admin Columns Pro Support Team,
I’m encountering a critical error when attempting to use the Export to CSV functionality in Admin Columns Pro.
When triggering an export, the request fails with a 500 Internal Server Error. Below is the full error response for your reference:
{
“code”: “internal_server_error”,
“message”: “There has been a critical error on this website…”,
“data”: {
“status”: 500,
“error”: {
“type”: 1,
“message”: “Uncaught TypeError: ACP\\Export\\Formatter\\ExportFilter::format(): Argument #1 ($value) must be of type AC\\Type\\Value, string given, called in /wp-content/plugins/admin-columns-pro/classes/Export/Exporter/Renderer.php on line 65 and defined in /wp-content/plugins/admin-columns-pro/classes/Export/Formatter/ExportFilter.php:25
Stack trace:
#0 /wp-content/plugins/admin-columns-pro/classes/Export/Exporter/Renderer.php(65): ACP\\Export\\Formatter\\ExportFilter->format()
#1 /wp-content/plugins/admin-columns-pro/classes/Export/Exporter/TableDataFactory.php(82): ACP\\Export\\Exporter\\Renderer->format()
#2 /wp-content/plugins/admin-columns-pro/classes/Export/Exporter/TableDataFactory.php(48): ACP\\Export\\Exporter\\TableDataFactory->add_cells()
#3 /wp-content/plugins/admin-columns-pro/classes/Export/Strategy/Post.php(74): ACP\\Export\\Exporter\\TableDataFactory->create()
#4 /wp-includes/class-wp-hook.php(341): ACP\\Export\\Strategy\\Post->send_response()
#5 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#6 /wp-includes/class-wp-query.php(3629): apply_filters_ref_array()
#7 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#8 /wp-includes/class-wp.php(704): WP_Query->query()
#9 /wp-includes/class-wp.php(824): WP->query_posts()
#10 /wp-includes/functions.php(1343): WP->main()
#11 /wp-admin/includes/post.php(1319): wp()
#12 /wp-admin/includes/class-wp-posts-list-table.php(165): wp_edit_posts_query()
#13 /wp-admin/edit.php(235): WP_Posts_List_Table->prepare_items()
#14 {main}
thrown”,
“file”: “/wp-content/plugins/admin-columns-pro/classes/Export/Formatter/ExportFilter.php”,
“line”: 25
}
}
}
Notes:
* The issue occurs specifically when exporting from the posts table.
* It appears that a string is being passed where an AC\Type\Value instance is expected.
* This may be related to a custom column or field returning an unexpected value type during export.
Could you please advise on:
1. Whether this is a known issue
2. If a specific column type or configuration might be causing this
3. Any recommended debugging steps or fixes
Happy to provide additional details if needed.
Thanks in advance for your help.