WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Multisite crash update 2.4 (13 posts)

  1. Jory Hogeveen
    Member
    Posted 2 months ago #

    Hi, the new pods update (2.4) crashes after update. I'm not updating to wordpress 3.9.1 because of multisite problems.
    Error:

    Fatal error: Class 'PodsForm' not found -> pods/classes/PodsAPI.php on line 1122

    I've degraded pods tot 2.3.18 now and it works again.

    Please let me know if you have any news on this. thanks!

    https://wordpress.org/plugins/pods/

  2. Josh Pollock
    Member
    Plugin Author

    Posted 2 months ago #

    I just tried updating a network site running Pods 2.3.18 and WordPress 3.9 to Pods 2.4 and I received no errors. I can't think of why the class PodsForm wouldn't exist. Possibly an interrupted download. Can you try again in a testing environment and see if that works?

  3. Jory Hogeveen
    Member
    Posted 2 months ago #

    Updates to WordPress 3.9.1 and tried the Pods update again. No luck though, Pods 2.4 still breaks my multisite.

  4. Jory Hogeveen
    Member
    Posted 2 months ago #

    Perhaps usefull.

    My other modules:
    - Addthis Smart Layers
    - Blog Copier
    - Codepress Admin Columns
    - Disable Comments
    - Genesis Simple Edits
    - Genesis Translations
    - Multisite Enhancements
    - Responsive Lightbox
    - TinyMCE Advanced
    - WordPress MU Domain Mapping
    - WordPress SEO (Yoast)
    - WP Mail SMTP

    My theme is build on the Genesis framework.

    But I still doubt that this will influence the behaviour of the PodsAPI.

  5. Josh Pollock
    Member
    Plugin Author

    Posted 2 months ago #

    Jory-

    Have you tried doing the update with no other plugins active?

  6. Jory Hogeveen
    Member
    Posted 2 months ago #

    Deactivating plugins will break the multisite aswell.
    I've done a full re-install, and it still breaks.

    The 2.3.18 version also has problems with the PodsForm class at the Widget section (after the PodsForm widget is stops loading and I can't edit any widgets anymore).

  7. Jory Hogeveen
    Member
    Posted 2 months ago #

    Problem with 2.3.18 is fixed, file was somehow not complete.
    Tried to update to 2.4 again after this fix. Still the same fatal error.

  8. Josh Pollock
    Member
    Plugin Author

    Posted 2 months ago #

    Is this the same error about the class PodsForm? The only thing that would be causing that is if the file was incomplete. You can use the security plugin WordFence to scan for plugin and theme files that are different from the version in the WordPress.org repository. That might be a good test and isn't a bad practice in general.

  9. maiki
    Member
    Posted 2 months ago #

    I run a little over a dozen multisite networks, all of which have Pods. Never any issues with upgrades. However, of the list of plugins you have, I only use Domain Mapping and SEO (Yoast). I once used Multisite Enhancements, but that plugin caused a lot of issues for me, so I stopped.

    If I were debugging this, I would turn off everything that is non-essential, and try that. Although what ya really need to is to copy the site and database to a test instance, so you can really go nuts there (ie turn off all the other plugins).

  10. Jory Hogeveen
    Member
    Posted 2 months ago #

    Allright, found it!

    Please comment on what I did since I don't know wether it will break future updates.

    File: init.php (pods root)

    Line 135 to 140.

    if ( false !== pods_compatibility_check() && !is_network_admin()) {
         $pods_form = pods_form();
    
         $pods_init = pods_init();
    }

    I changed this to:

    $pods_form = pods_form();
    if ( false !== pods_compatibility_check() && !is_network_admin()) {
         $pods_init = pods_init();
    }
  11. Jory Hogeveen
    Member
    Posted 2 months ago #

    Oh, and thanks for the tip about WordFence! That helped a lot!

  12. Josh Pollock
    Member
    Plugin Author

    Posted 2 months ago #

    I'm glad to see you got this working. I'm wondering why that conditional would have failed for you. Scott will have to take a look at that.

  13. Redpik
    Member
    Posted 1 month ago #

    Thanx Jory, +1 for your patch :)

Reply

You must log in to post.

About this Plugin

About this Topic