Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after upgrade #4

Open
ginghamsburg opened this issue Nov 27, 2012 · 3 comments
Open

Error after upgrade #4

ginghamsburg opened this issue Nov 27, 2012 · 3 comments

Comments

@ginghamsburg
Copy link

Getting this after upgrade:

Error Number: 1054

Unknown column 'temp' in 'where clause'

SELECT member_id, group_id, username, screen_name FROM exp_members WHERE member_id IN (5,temp) ORDER BY member_id ASC

Filename: /var/www/html/third_party/vz_members/ft.vz_members.php

Line Number: 370

Looking into the table exp_channel_data shows the vz_member field data being written as the member's id with a pipe and the string 'temp' (e.g. 5|temp) instead of just the member's id.

Removing unset($field_data['temp']); and restoring the old @array_pop($field_data); around line 334 makes things work again but I don't know what the full repercussions are by doing this.

@elivz
Copy link
Owner

elivz commented Nov 27, 2012

Right you are. Unset wasn't what I needed - stupid brain fart there. I just pushed out 1.0.7, which fixes this.

@ginghamsburg
Copy link
Author

This error is back in 1.0.8

@elivz
Copy link
Owner

elivz commented May 3, 2013

Weird, I have no idea how that fix got reverted. I just pushed a hot-fix that re-fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants