While I'm using a custom theme that has some custom post types, a custom menu declaration, a support thumbnails declaration, and some Gravity Form's customization, whenever I try to update a plugin it updates, then a few page loads later the plugin reverts itself to the version previously installed. In some cases, it even corrupts the plugin and I can't use it anymore.

I have the following plugins installed, ACF, Akismet, and Posts2Posts. Here is the error hat I get with debug set to true

> 
> Notice: Undefined index: REQUEST\_URI in
>  /wp-content/plugins/one-category-only/oco.php on line 15 Notice:
>  Undefined index: post in /wp-content/plugins/one-category-only/oco.php
>  on line 29 Notice: wpdb::prepare was called incorrectly. The query
>  argument of wpdb::prepare() must have a placeholder. Please see
>  Debugging in WordPress for more information. (This message was added
>  in version 3.9.) in wp-includes/functions.php on line 3245
> 
> 
> 

I'm wondering if anyone has any suggestions for this?