• Resolved Candymac

    (@candymac)


    It seems this plugin has a conflict with both the WPMU Defender plugin and The Events Calendar plugin.

    When either of these plugins are active, attempting to upload a document results in the following error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function get_post_type_object(), 0 passed and exactly 1 expected in /(serverpath)//wp-includes/post.php:1171

    Curious if this is a bug or there are any workarounds? Appreciate any assistance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bhaldie

    (@bhaldie)

    Unfortunately these are paid plugins and I have no way of testing the issue. My suggestion would be to contact the developer of these plugins and see if they have any suggestions as to why this error is happening.

    Just a side not I don’t use the function get_post_type_object() in my code at all.

    Thread Starter Candymac

    (@candymac)

    Thanks for the quick response.

    As it turns out the root cause was not with any of the plugins, rather an issue with the database, the auto increment values on all the tables apparently vanished in an upgrade causing much unpredictable behavior.

    Plugin Author bhaldie

    (@bhaldie)

    so can we close this case?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Conflict preventing Document Uploads’ is closed to new replies.