• Valice

    (@valicesupport)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Balter

    (@benbalter)

    Thanks for the feedback. Try 4.0.5?

    Thread Starter Valice

    (@valicesupport)

    Updated to 4.0.6 and unfortunately this is still happening when creating new documents (says no document file is attached) and not updating existing documents when trying to add new version.

    Not seeing anything in the logs this time but just 403 errors trying to view the document URLs.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.