• Resolved mkstebbins

    (@mkstebbins)


    Since many plugins I use (like WooCommerce) are going to require PHP 7 soon, I thought I’d try UltimateMember with PHP 7. Most things worked pretty well and the sites appeared to be faster.

    The only things I noticed that forced a roll back to PHP 5.6, is that members cannot edit a profile (the link below the gear vanished) and that clicking to the home page links redirect to the users’ profile page (weird huh?).

    Here’s to hoping there is support for PHP 7 soon!

    Let me know if you have similar or better experiences.

    -Michael

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @mkstebbins – UM is compatible with PHP 7.2+

    Have you tried the latest version of Ultimate Member?

    Regards,

    Thread Starter mkstebbins

    (@mkstebbins)

    Hi @champsupertramp, That is great news.

    Just for fun, I upgraded from UM 2.0.43 to UM 2.1.1 on a working site under PHP 5.6. After clearing a few typical items (re-update visibility of fields, and tabs in the admin UI) it appeared I had the site working pretty well with PHP 5.6.

    Then, switching the working UM 2.1.1 site from PHP 5.6 to PHP 7.0, three things are observed in my instance:

    1. Users are not presented with the option to edit their own profiles. E.g., the gear icon only presents “My Account”, “Logout”, and “Cancel” and is missing “Edit Profile” under PHP 7.0. Attempts to access site.org/user/userfirst-last/?profiletab=main&um_action=edit are redirected to site.org/user/userfirst-last/?profiletab=main
    2. The main member directory no longer lists any of the 2,000+ members as it does when PHP 5.6 is used. Instead the page has no listings at all.
    3. On the site.org/account/ PHP 7.0 removes the “Delete Account” option whereas php 5.6 presents the “Delete Account” option.

    Perhaps there is a checklist I’ve missed or some documentation to go over. Let me know and thanks,

    -Michael

    • This reply was modified 5 years ago by mkstebbins.
    • This reply was modified 5 years ago by mkstebbins.
    • This reply was modified 5 years ago by mkstebbins.
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @mkstebbins

    Could you please check how many roles assigned to your test user? If there are 2 or more assigned roles, you need to set the Priority role for the role that you want to set as the main role. And the main role’s settings will be used globally.

    Regards,

    Thread Starter mkstebbins

    (@mkstebbins)

    @champsupertramp It seems that setting the primary role (UM role) to have a value of 100 solved each of the problems when using PHP 7.0.

    I’m curious how you knew to look at role priority and that it behaves differently from PHP 5 to PHP 7, but I’ll take it now that it works!

    Thank you.

    -Michael

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @mkstebbins

    We’ve already discovered this issue when upgrading PHP and UM before.

    Thanks for letting us know that it has been resolved the issue on your end.

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tried PHP 7 with UM 2.0.43 and most things worked’ is closed to new replies.