pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

user extended problem - pods 2.3.12 #1809

Closed TassoPeperone closed 10 years ago

TassoPeperone commented 10 years ago

After the last update in a wp 3.6.1 with pods 2.3.12 when i try to edit a user data inside the profile admin section, the system display the first fields (from wordpress) with right data, but all the extedend user field i create with pods have inside the data from my user and not the selected user for editing. Please help (problem with firefox and also with crome - browser excluded problem)

Shelob9 commented 10 years ago

I am unable to reproduce this issue with Pods 2.3.12 and WP 3.6.1.

I added text, email, avatar and phone number fields to users. I added values for all of those fields for the admin user that I was logged in as. I then went to another users profile--all Pods added fields were empty. I added and saved new values for that user. I reloaded profile and the proper values were still showing.

@TassoPeperone - Am I missing any steps in my attempt to reproduce this issue? Have you tried testing with no other plugins but Pods running and the default theme activated?

Shelob9 commented 10 years ago

2 more users reporting same issue, which I still can't reproduce, via WP.org support- http://wordpress.org/support/topic/custom-fields-when-adding-new-user?replies=5#post-4808259

We need to figure out what I don't have in common with them.

My local XAMPP on OSX 10.6.7 testing environment- WordPress Version: 3.7 PHP Version: 5.3.1 MySQL Version: 5.1.44 Server Software: Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1

@TassoPeperone Can you please provide similar debug info from Pods Admin->Settings?

Shelob9 commented 10 years ago

I also can not reproduce on a shared linux server-

WordPress Version: 3.7 PHP Version: 5.3.18 MySQL Version: 5.1.63 Server Software: Apache

TassoPeperone commented 10 years ago

I can do more. I can give an administrator account over the web site. Only please don't delete anithing. Only enable or disable modules.

Tasso Peperone

-------- Messaggio originale -------- Da: Josh Pollock notifications@github.com Data:
A: pods-framework/pods pods@noreply.github.com Cc: Tasso Peperone tasso@damanhur.it Oggetto: Re: [pods] user extended problem - pods 2.3.12 (#1809)

I also can not reproduce on a shared linux server-

WordPress Version: 3.7 PHP Version: 5.3.18 MySQL Version: 5.1.63 Server Software: Apache

— Reply to this email directly or view it on GitHub.

Shelob9 commented 10 years ago

OK, I can now confirm this, after testing it for a NEW user-not an existing one and tracked down the source of the problem. @sc0ttkclark promises a fix for this in 2.3.14 and via issue #1811.

In the mean time deleting line 210 in /pods/classes/PodsMeta.php (2.3.12) should provide a quick-fix.

TassoPeperone commented 10 years ago

Sorry but i try to delete this row: add_action( 'user_register', array( $this, 'save_user' ) ); number 210 but problem still persists.

Tasso

Il giorno 28/ott/2013, alle ore 01:44, Josh Pollock notifications@github.com ha scritto:

OK, I can now confirm this, after testing it for a NEW user-not an existing one and tracked down the source of the problem. @sc0ttkclark promises a fix for this in 2.3.14 and via issue #1811.

In the mean time deleting line 210 in /pods/classes/PodsMeta.php (2.3.12) should provide a quick-fix.

— Reply to this email directly or view it on GitHub.

Shelob9 commented 10 years ago

@TassoPeperone Worked for me. Might be same hook on line 673 of same file.

2.3.14 should be out with fix for this soon.

TassoPeperone commented 10 years ago

Sorry but also 2.3.14 don't fix the problem

sc0ttkclark commented 10 years ago

I think maybe @Shelob9 mistook this issue for another one. We haven't been able to reproduce the issue where editing another user's profile will show the current user's profile data instead.

Shelob9 commented 10 years ago

@sc0ttkclark Yes. You are correct, I confused this with the one reported on WP.org. This one I can not reproduce. I am reopening. Scott- should we take up @TassoPeperone on their offer to share login credentials and check this out?

Shelob9 commented 10 years ago

Another user in WP.org forums reports their user profiles pods fields are showing in the other users fields when editing. http://wordpress.org/support/topic/custom-user-fields-not-saving?replies=1

taits commented 10 years ago

Here is the debug info from pods:

Debug Information
WordPress Version: 3.7.1
PHP Version: 5.3.2-1ubuntu4.19
MySQL Version: 5.5.31
Server Software: Apache
Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Session Save Path: /var/lib/php5
Session Save Path Exists: Yes
Session Save Path Writeable: Yes
Session Max Lifetime: 1440
WPDB Prefix: wp_
WP Multisite Mode: No
WP Memory Limit: 40M
Pods Network-Wide Activated: No
Pods Install Location: /nas/wp/www/cluster-1737/legalplanet/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No

Currently Active Plugins:
Advanced Search by www.mysolrserver.com Customized: 2.0.5
Akismet: 2.5.9
All In One SEO Pack: 2.0.4
Better WordPress Minify: 1.2.3
BWP Google XML Sitemaps: 1.2.1
Custom Taxonomy Widget: 1.0
Easy WP SMTP: 1.0.6
Google Webfonts For Woo Framework: 1.3.2
iframe: 2.7
Jetpack by WordPress.com: 2.5
Jetpack Post Views: 1.0.8
Links Shortcode: 1.6.1
Pods - Custom Content Types and Fields: 2.3.15
Random Image: 1.1
Redirection: 2.3.4
Subscribe2 HTML: 9.0
Subscribe2 Customizations: 1.0
Term Management Tools: 1.1.2
UberMenu 2 - WordPress Mega Menu Plugin: 2.3.1.1
WooDojo: 1.5.4
WooSidebars: 1.3.1
WP Subtitle: 2.0.1
WP User Avatar: 1.6.5
sc0ttkclark commented 10 years ago

This one was very tricky to find, but I found it and fixed it.

taits commented 10 years ago

I am still having the same issues.

If I edit another users profile, the custom fields from my profile appear in their custom profile fields.

If I edit my user account, upon saving, the form is not updated with the new information.

Thanks!

Shelob9 commented 10 years ago

@taits Thanks for letting us know this issue is still happening. What version of WordPress and Pods are you having the issue with?

Shelob9 commented 10 years ago

I can confirm this issue with Pods 2.3.16. I added a field to users. Saved it in my profile, but other users have the same value for that field in their profile, even if I change it in their profile.

@sc0ttkclark I am re-opening this issue since @taits and I can confirm it is still occurring.

WordPress Version: 3.8-alpha

PHP Version: 5.4.21-1+debphp.org~precise+1

MySQL Version: 5.5.34

Server Software: nginx/1.4.3

Currently Active Plugins:

Debug Bar: 0.8.1 Debug Bar Console: 0.3 Debug Bar Cron: 0.1.2 Debug Bar Post Meta: 0.1 MP6: 2.1.1 Pods - Custom Content Types and Fields: 2.3.16 Pods Framework Unit Tests: 0.2 User Switching: 0.8.4 WordPress Importer: 0.6.1

taits commented 10 years ago

Issue is with Wordpress Version 3.7.1 / Pods 2.3.16

With this version of Pods the front end of wordpress is also seemingly loading cached info from say Profile A into Profiles B & C....

For the time being I have reverted to Pods 2.3.10 which seems to work as expected.

sc0ttkclark commented 10 years ago

Try now with the latest at http://pods.io/latest/

taits commented 10 years ago

The issues with editing user profiles is gone, but the issue with user profile fields showing incorrectly/info from another profile is still there. This is in reference to the "latest".

sc0ttkclark commented 10 years ago

Go to Pods Admin > Settings > Clear Pods Cache and try again with the latest version pushed to WP.org - Pods 2.3.17. Then let me know if the issue persists. Thanks for your patience, this was a very tricky bug that's cropped up.