• Resolved tnightingale

    (@tnightingale)


    Users can no longer edit their custom PODS profile fields. This is the critical error email message (minus the stack trace) triggered by someone trying to edit their profile, and the PHP message seen on the user edit page and edit profile page when debugging is turned on:

    Fatal error: Uncaught Error: Call to undefined function PMPro_Pods\Pods\tribe() in /home/marglotr2427/public_html/wp-content/plugins/pmpro-pods/src/Pods/Permissions.php:168

    Latest WP version, all plugins up to date, PHP 7.4.

    The PODS admin screens look normal, I can view and edit fields and groups.

    Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Try going back to Pods 2.9.x temporarily. There’s a fix for this coming in Pods 3.0.5.

    The PMPro Pods add-on hasn’t been updated to the newer functions yet and we decoupled the Tribe Common library in Pods 3.0 which is what this was calling.

    Thread Starter tnightingale

    (@tnightingale)

    Thanks for the quick response.

    Before I roll back… is it safe to deactivate and delete PODS, I won’t lose any data? (I’ll back up first of course)

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    I suggest you download the zip and upload it through WP where it will prompt you to replace and overwrite the plugin files.

    You can deactivate and delete but that leaves your site in a state which may be missing content types etc until it’s added back.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Pods 3.0.5 is out now, I suggest testing on a staging site before updating on your production/live site.

    Thread Starter tnightingale

    (@tnightingale)

    Seems to have fixed the error, thanks!

    Now getting just a warning notice with debugging on, will this be fixed soon in the PMPro PODS Add-On plugin?

    Notice: Function tribe was called incorrectly. tribe() is no longer included in Pods Framework directly. Please use pods_container() instead. Please see Debugging in WordPress for more information. (This message was added in version 3.0.)

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Yes, that one is expected now. That notice tells the developer of the add-on which is calling the old container function how to call it going forward for Pods.

    In this case, that would be the PMPro team that would handle this as I’m no longer involved with this add-on itself.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    @andrewza For your team to update, pods_container() should be used instead of tribe() going forward. That function was added in Pods 2.8.17 which was released in May 2022.

    The minimum version on the add-on is Pods 2.8+ right now so you’d have to up that minimum version to at least Pods 2.8.17+ to make things fully compatible with Pods 3.0+.

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for bringing this to our attention, I have made the necessary changes to our development repository and an update should go out in the near future.

    We are going to continue to look for other improvements while we’re busy with this update.

    Thanks @sc0ttkclark

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: call to undefined function’ is closed to new replies.