PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Bug Report: Twitter Tools Plugin Creates Services_JSON Conflict

  1. Aaron Forgue
    Member

    We've got Alex King's Twitter Tools plugin installed (http://alexking.org/projects/wordpress). It also makes use of the Services_JSON class and causes Gravity Forms to not work. When I deactivate Twitter Tools, Gravity Forms works.

    I'm still trying to find a work around to make both work together, but if you find a fix first that would be really helpful.

    Thanks!
    Aaron

    Posted 15 years ago on Wednesday September 2, 2009 | Permalink
  2. Aaron Forgue
    Member

    Alright, managed to get the plugins playing nicely by adding an extra check in both the json_encode() and json_decode() functions. All I did was enclose the include_once('json.php') call with a class_exists() call:

    if (!class_exists('Services_JSON')) {
    include_once('json.php');
    }

    Posted 15 years ago on Wednesday September 2, 2009 | Permalink
  3. Glad you were able to get it working with a relatively simple fix. We'll take a look at it on our end. Thanks!

    Posted 15 years ago on Wednesday September 2, 2009 | Permalink
  4. Thanks Aaron. We will add that fix to the next release.

    Posted 15 years ago on Wednesday September 2, 2009 | Permalink

This topic has been resolved and has been closed to new replies.