Okay
  Public Ticket #2225649
Email Issue & Wordpress User Issue
Closed

Comments

  •  1
    Justin Scharr started the conversation

    We are having two problems.

    1. The functionality to link a current wordpress user with an amelia user appears to be broken. Nothing shows up in search results even when the wordpress user that matches the search inquiry exists. It only gives the option to create a new user, but that doesn't work either because of the second issue. 

    2. Administrators are getting the error that "email already exists" when attempting to add new employees.  We couldn't link an employee to an existing wordpress user so we deleted the wordpress user and tried to recreate them through amelia, but got the above error. 


  • [deleted] replied

    Hello Justin Scharr,

    You can connect Amelia employees to WordPress users only if they have Amelia Employee role in your WP Users (roles). If you need your WP users to have different roles as well, you can use some plugin for this, like for example User Role Editor

    So, you need to create WordPress users and then give them Amelia Employee role in WP Users and then when you create employees in Amelia you will be able to connect them to WP users. 

    As for the second part, where exactly they get this error? In Amelia or in WordPress? 

    Hope this helps, 

    If you still have some issues please let me know,

  •  1
    Justin Scharr replied

    Maria,

    I am trying to do this exactly as you outlined but it still Is not working. The user in question is already a wordpress user in the amelia employee role. When I select them as an existing wordpress user and add them, it tells me the email address already exists, and it won't let me add them. 

    I have installed the user role editor plugin and attempted to customize the role so that she can be both a manager and employee but it still won't work.  It seems like once a user Is deleted from wordpress amelia still recognizes their email address so we aren't able to even delete or re-add users In other roles either. 

  • [deleted] replied

    Hello Justin, 

    Could you please tell me have you already saved and deleted this employee from Amelia before? It is probably saved in the database from before and it doesn't give you to create a new employee with the same email again. 

    Or is this maybe your mail that you had as an admin when you installed Amelia on your website? If yes, this mail is saved in the database for Amelia users and this is why it is not letting you create a new user with the same email.

    Could you please check this in your database? Find the table wp_amelia_users and see if the user exists there you can modify it there and try creating the employee again. 

    Please let me know if this helped,

  •  1
    Justin Scharr replied

    yes, this user has been added and deleted before when I was trying to make this work. 

    Where do i find the user table? In the plugin folder? 

  • [deleted] replied

    Hello Justin, 

    You need to go to your database, there you will find this table. Do you have access to your database (PhPMyAdmin)? 

  •  1
    Justin Scharr replied

    Yes, I do have access to the database. What folder is It stored in ?

  • [deleted] replied

    Hello Justin, 

    Great. So, that depends on where you installed Amelia, it is not the same in all databases. Go through them and you will see in one of them tables with amelia in the prefix. You need to find the one wp_amelia_users (or similar, depending on the prefix that you have for your database) and delete the user there or modify the email address.

  •  1
    Justin Scharr replied

    I am searching the file structure and can't find it.  I have a godaddy managed wordpress site.

  •  1
    Justin Scharr replied

    Nevermind, I found it!

  • [deleted] replied

    Great, glad to hear that!

    Please let me know if the issue is gone!