Upload document error after update to 4.0.4
-
After updating to 4.0.4, we are unable to upload new versions of documents. The upload isn’t replacing the old file. Additionally, when trying to create a new file it’s giving a 500 error when publishing and the logs show this (domain file path removed):
PHP message: PHP Fatal error: Uncaught TypeError: WP_Document_Revisions::suppress_adjacent_doc(): Argument #3 ($excluded_terms) must be of type array, string given, called in /httpdocs/wp-includes/class-wp-hook.php on line 341 and defined in /httpdocs/wp-content/plugins/wp-document-revisions/includes/trait-wp-document-revisions-query.php:528\nStack trace:\n#0 /httpdocs/wp-includes/class-wp-hook.php(341): WP_Document_Revisions->suppress_adjacent_doc()\n#1 /httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#2 /httpdocs/wp-includes/link-template.php(1991): apply_filters()\n#3 /httpdocs/wp-content/plugins/clsop/inc/common/purge.php(76): get_adjacent_post()\n#4 /httpdocs/wp-content/plugins/clsop/inc/common/purge.php(222): rocket_get_…’, referer: https://rulbajx3.valicebeta.com/wp-admin/post-new.php?post_type=document&wp-post-new-reload=true
You must be logged in to reply to this topic.