Support » Plugin: Email Users » Email-users and user access manager groups not showing up

  • Resolved jensjensen86

    (@jensjensen86)


    After getting everything up to date regarding User Access Manager and Email Users plugin, I can no longer select all my groups that are assigned, when I try to send emails to a specific user group.

    I have tried to downgrade the plugins but doesn’t change a thing.

    I only have the two options of roles for Editor and subscriber.

    Any idea about what could possibly have gone wrong?

    Thank you in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    I took a quick look at this tonight and in my test environment I am not seeing my UAM groups either. Since I didn’t change anything on the Email Users side as it pertains to UAM, I suspect a UAM change that Email Users doesn’t account for is the problem. I will try to look at it closer Monday night when I get home from work.

    jensjensen86

    (@jensjensen86)

    Thanks 🙂
    Any breaking news about if the problem is by you or by UAM? And is it possible to solve from my or your side?
    Thank you in advance

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Sorry, no breaking news. I don’t have my WordPress development environment on my work laptop any longer so I can only look at this at home. Unfortunately, I haven’t been home much this week. I have work function again tonight so unlikely I’ll get to it tonight. I wish I had better progress to report. I am sure it can be fixed, it is a matter of find a block of time to work on it.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I had a little time to look at this earlier today. The current integration solution looks to see if a PHP Class by the name of “UserAccessManager” is defined. If it is defined, the UAM integration is enabled, if it isn’t defined the integration is not enabled. It was a crude solution which worked but it was added to the plugin prior to the customer filter solution.

    I am guessing that in one of the UAM updates, the class name was either changed or eliminated or more likely, the UAM plugin is loading in a fashion where the class name isn’t known when the check is done. Either way, the result is the same, the integration isn’t enabled.

    I will try and look at it further tonight. It should be possible to create an action which achieves the same result. In theory, it should be a more robust solution as well.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    As I suspected, the problem was due to a change in the UAM plugin. UAM has implemented PHP namespaces which affected the check I was performing to determine if UAM was loaded or not. This is fixed in Email Users 4.8.7, the functionality should work as it did previously.

    • This reply was modified 1 month ago by  Mike Walsh.
    jensjensen86

    (@jensjensen86)

    Perfect – thanks a lot 🙂 It works like normal again

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.