latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Custom Registration Fields disappeared.

Home Forums Community Forum Custom Registration Fields disappeared.

This topic contains 5 replies, has 3 voices. Last updated by  Bruce 3 years, 9 months ago.

Topic Author Topic
Posted: Monday Mar 11th, 2013 at 4:15 am #44243
Yoko Hirano
Username: yhirano

Hello. After upgrading WordPress and s2Member(pro) to the latest version, I no longer see custom registration field in Dashboard -> s2member General Options -> Registration/Profile Fields and my site’s Registration Form.

Also I have an warning like below in my site/wp-login.php?action=register, and s2Member Configuration & Profile Fields in Dashboard -> user-edit panel.

“Warning: Invalid argument supplied for foreach() in /virtual/ebook/public_html/members/wp-content/plugins/s2member/includes/classes/custom-reg-fields.inc.php on line 285.”

Existing users have custom field (company name and address.etc.). I can see them still in Database, but cannot see anymore in Dashboard-> user edit page.

I was using WP 3.0, s2Member(free) 3.2.5. Upgraded to WP 3.5.1, s2Member130221 with s2 Pro. My server uses PHP 5.2.5, MySQL 5.1.22-rc.

Probably my previous environment was so outdated. Upgrade caused some problems?

Thank you for your help.

Yoko

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Monday Mar 11th, 2013 at 11:59 pm #44315
Eduan
Username: Eduan
Moderator

Hello Yoko,

It is probably the sudden update might have caused some problems. Could you please try all of these common trouble shooting tips to start with:
Knowledge Base » Common Troubleshooting Tips

– Eduan

Posted: Wednesday Mar 13th, 2013 at 12:01 am #44448
Yoko Hirano
Username: yhirano

Thank you Eduan.

I will try the trouble shooting tips. I think I need to create copy test environment to upgrade s2 version by step, for example 3.2.5 > 3.3 > 3.5 > 11xxxx > 12xxxx > the latest.

My problem is missing the interface to create/edit of Custom Registration Fields. I found the similar case in the past thread.

In that case it seemed that Database collapsed partly. I am afraid my Database collapsed. Because of outdated installation, is there possibility of collapsing database? I will see my database by PHP MyAdmin if there are a row for s2, though I am not a DB expert.

Posted: Friday Mar 15th, 2013 at 1:55 pm #44732
Eduan
Username: Eduan
Moderator

I don’t think your database collapsed. They wouldn’t cause this sort of problem I think. However having a test installation should be helpful. Could you create a clean install and see if the problem is there?

Could you please also share an image so that I can get an image of your problem? Thanks!

– Eduan

Posted: Monday Mar 18th, 2013 at 6:36 am #45040
Yoko Hirano
Username: yhirano

I can see the custom registration field and can configure it now, BUT other problem happened.

I entered PHP My Admin to see my database and copied a row of “ws_plugin_s2members_option” in “wp_options” table and paste it on local text file to read it carefully. Then “row affected” showing in PHP My Admin. (I didn’t mind it.) I read the text file and found there were s2 member custom field and s2 configuration information. It seemed my database was not corrupted.

I went back to WP-admin dashboard > s2 General Options. There WERE Custom Registration Fields. I can create/edit them. No longer warning.
BUT s2 configuration was initialized. Post/Page access restriction broken (All pages/posts became free! I quickly restricted again one by one!). I had to re-configure Membership Options Page, Login Welcome Page… and re-generated PayPal Buttons. Users information were kept safely including Membership Level.

What happened? By accessing and copying database table(row), s2 config initialized? On the other hand, Custom Registration Field appeared in admin panel and I can edit it. The warning never showing.

Now that I can edit custom registration field, it’s all right. I will try to import existing users custom field.

As to s2 configuration initialized, I have re-configured things as much, except Security Encryption Key. I want to set it, but I think I once aute-generated it before. I don’t have the key backed up. I lost it. Is there any way to recover it?

Thank you for your advice.
I would like to know how these happened.

-Yoko

Posted: Thursday Mar 21st, 2013 at 2:17 am #45290
Bruce
Username: Bruce
Staff Member

I went back to WP-admin dashboard > s2 General Options. There WERE Custom Registration Fields. I can create/edit them. No longer warning.

Is it possible that you have a process caching your mySQL calls? Try flushing your caches, and see if your options are back.

I am unaware of any reason upgrading WordPress would cause any problem with losing data, since your database and the files for WordPress are totally separate.

Viewing 5 replies - 1 through 5 (of 5 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.