• When creating a custom drop down list for our registration page, only the first item on the list appears. When I go back to edit the custom field, all the entries have been moved from separate lines (just like the example) to the same line, with an ‘n’ between each item. This also happens for radios and checkboxes.

    Link to screenshot of error in action.

    See for yourself what happens on the registration page. Only one registration type is available, when there should be several.

    Any ideas?

    https://wordpress.org/plugins/s2member/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter irfwpc

    (@irfwpc)

    Bump

    I would guess this is a theme or plugin conflict. Have you tried changing to the default theme and seeing if it works? If it then works, the problem is your theme.

    If it still doesn’t, try disabling all other plugins. If it works then, try reactivating your plugins one by one until you find the culprit.

    Thread Starter irfwpc

    (@irfwpc)

    @kts915: I have switched themes and deactivated all plugins (except s2member). Neither course of action resolves the issue.

    OK. Do you have any MU plugins, and are you running any sort of caching (and, if so, what)?

    Thread Starter irfwpc

    (@irfwpc)

    The only MU installed is s2-hacks. The site is using WP Super Cache, as well.

    Well, s2-hacks can contain many things, so I can’t say whether that is having any effect here.

    As for caching, I wasn’t really thinking of a plugin, since you disabled those. Are you (or your host) running something like Varnish, for example?

    Thread Starter irfwpc

    (@irfwpc)

    Here’s the sum of s2-hack.php

    <?php
    add_filter('ws_plugin__s2member_lock_roles_caps', '__return_true');
    ?>

    As far as I know, there is no non-plugin caching happening. Hosting by Host Gator.

    Thanks for your help thus far. 🙂

    I can’t believe that s2-hack.php is the problem here, then!

    My next step would be to check everything for a typo, or for a non-Latin letter. I had a problem recently that was caused by a plugin author’s name, because it included an umlaut!

    If that still doesn’t work, then I’d try cloning it to another site (e.g. a localhost development site) to see if the problem persists there. If it doesn’t, I’d talk to HostGator.

    Thread Starter irfwpc

    (@irfwpc)

    I’ll mess with it on the dev site tomorrow, but there are definitely no non-Latin characters involved.

    Thanks again for your help. 🙂

    Anyone else have ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom fields not working for drop downs, radios or checkboxes’ is closed to new replies.