WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Can't Add/Edit Fields in Pods Admin, AJAX Issue?

[Resolved] Can't Add/Edit Fields in Pods Admin, AJAX Issue?

  • Greetings! I was able to initially set up Pods in my WordPress installation, and edit the items a few times, but starting today, I could no longer edit or add fields within a pod. I can create new pods just fine (whether it’s a completely new one or an extension), but when I click the Add Field button, or Edit on an existing field, nothing happens.

    I cleared the Pods cache, tried multiple browsers (Opera, Chrome, and IE), and even used Reset Pods.

    Debug Info:

    WordPress Version: 3.5
    
    PHP Version: 5.3.10-1ubuntu3.4
    
    MySQL Version: 5.5.28
    
    Server Software: Apache/2.2.22 (Ubuntu)
    
    Your User Agent: Opera/9.80 (Windows NT 6.1; Win64; x64; U; en) Presto/2.10.289 Version/12.02
    
    Session Save Path: /var/lib/php5
    
    Session Save Path Exists: Yes
    
    Session Save Path Writeable: Yes
    
    Session Max Lifetime: 1440
    
    WPDB Prefix: wp2_
    
    WP Multisite Mode: Yes
    
    WP Memory Limit: 64M
    
    Pods Network-Wide Activated: Yes
    
    Pods Install Location: /var/www/*****/wp-content/plugins/pods/
    
    Pods Tableless Mode Activated: No
    
    Pods Light Mode Activated: No
    
    Currently Active Plugins:
    bbPress: 2.2.3
    Category Posts Widget: 3.3
    Events Manager: 5.3.2.1
    Pods - Custom Content Types and Fields: 2.2
    S5 Image And Content Fader: 1.2.3
    Widgets on Pages: 0.0.12

    http://wordpress.org/extend/plugins/pods/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author pglewis
    Member

    @pglewis

    Sounds like a JavaScript conflict of some sort. Check for errors in the Developer Tools/Firebug console.

    Usually this is due to a plug-in conflict, so you might try disabling the other plug-ins you’ve added or updated recently just as a test to determine which one(s) are causing the problem.

    Plugin Author Scott Kingsley Clark
    Participant

    @sc0ttkclark

    Exactly, if you figure out which plugin it is, we’ll try to help that plugin’s author resolve the conflict, or make adjustments on our side to help ensure we avoid that kind of conflict.

    Looks like the offending plugin is the S5 Image and Content Fader, which is fascinating, because it has no real admin interface other than the widget manager. Also, I thought this was working after I installed it, but I’m probably mistaken.

    Hope this is helpful, and I appreciate the help. This plugin is an absolute lifesaver, especially for my current project 🙂

    Plugin Author Scott Kingsley Clark
    Participant

    @sc0ttkclark

    A common issue with plugins is that they load their javascript on every page of the admin area, even sometimes in both the admin area and the front of the site in your theme. This might be the case here, maybe a post in their support forum might help them check into it.

    darrylkraemer
    Member

    @darrylkraemer

    I am having the same problem where the “Add Field” button won’t drop-down the fields section. I see this error when I Inspect the Element in Chrome:

    Uncaught TypeError: Object function each(iterator, context) {
        try {
          this._each(iterator, context);
        } catch (e) {
          if (e != $break) throw e;
        }
        return this;
      } has no method 'replace' jquery.pods.js:356

    Any ideas, or help? Thanks.

    darrylkraemer
    Member

    @darrylkraemer

    Figured out the conflicting plugin. Social Links is the culprit: http://blog.maybe5.com/?page_id=94

    Plugin Author Scott Kingsley Clark
    Participant

    @sc0ttkclark

    Thanks for solving it yourself! 🙂

    There’s another plugin in the site I’m working on that’s conflicting with the Pods administration, and constantly enabling/disabling critical plugins so I can adjust Pods settings is costing me a ton of time. Could you please design the administration pages for Pods in a way that doesn’t rely on Javascript for crucial functionality?

    Plugin Author Scott Kingsley Clark
    Participant

    @sc0ttkclark

    @plong03: Supporting plugins / themes that do not follow WP standards and JS best practices is not something I’m willing to do. If you contact the conflicting project developers about the issue, they may release a patch that fixes this (Pods is NOT the only plugin affected). If not, then it’s time to look for another solution. Either find a replacement for those projects, or find a replacement for Pods.

    Ripping out the JS functionality across the Pods admin would be impossible, given the complex nature of how it works. I can honestly say, we would hit 2-3 PHP limitations just by taking the JS out alone. Those are $_POST population array issues and max post data sizes. That would affect 80% (or more) of our users, and that’s just not a viable option.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Can't Add/Edit Fields in Pods Admin, AJAX Issue?’ is closed to new replies.