-
Notifications
You must be signed in to change notification settings - Fork 47
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
Text in fields not saving #26
Comments
Could you please try https://github.com/smurkas/Magic-Fields-2/zipball/beta-dev and see if you're still having the same issue? |
That fixed the problem for me on WP 3.2.1 |
@smurkas can you share what you do for fix the issue? (as a pull request, a diff file or a link to the commit is ok) Thank you |
Yes I'll setup a pull request for you, hopefully tonight but at the latest tomorrow. |
@gnuget I just tried the latest version of your master branch and everything is saving properly as far as I can see. Whatever it was it has been fixed somewhere along the way in your commits. |
Oks. Anyway thank you :-) |
This bug has reappeared recently in the latest master running on WP v3.2.1 |
this start to happen when you update the plugin or also happen in a fresh installation? |
I had v1 and replaced it with v2, so I think it's a fresh install - there was certainly no upgrade process that ran. Could it be a conflict from the old data? |
yeah. In fact for the moment Magic Fields V2 is not backward compatible with the V1. Sorry. |
Ok, I've removed the old plugin completely, including its data, and the problem persists. I might try a complete reinstall of v2 after backing up the data... |
oks, actually there is no way to upgrade from v1 to v2 so if in your project you already create a few write panels and fields this not will work with the v2. Right now mf2 is only for new projects. |
Yeah, I never actually created any write panels in v1 for this particular project. I saw v2 on the site before I got that far, so installed v2, ignored v2 and all data has been entered into the admin section using the v2 plugin. I've now deleted all relevant db tables, reinstalled the plugin and added a panel back in and am still getting the same problem on a fresh install. |
Ok, it's working now. The wp_mf_post_meta table was the problem... It wasn't updating for some reason and the rows that did exist had post_id set to 0. I cleared it out again, updated a post and it repopulated it correctly. Thanks for your help and time with this. |
Is not enough with remove the tables, magic fields add a few settings in the wp_options table for check which version of magic fields are you using, so you need check this table and delete any reference with magic fields too |
Ahh oks no problem :-) |
Hola, I'm having the same problem as detailed above, with a fresh install of MF2 on a new project. I create a new magic field (textbox) and call it in the template using When I type text into the new field on the custom post and click Update, the text disappears and a new Custom Field is created instead with the same label. I'm not confident about working directly with the databases in phpMyAdmin so I'm nto sure what I should or shouldn't be deleting/clearing out. Is there an alternative fix for this? Any suggestions would be really appreciated |
When I make textfield, multibox etc... and write some text in disappears when I publish the post/page
The text was updated successfully, but these errors were encountered: