• Resolved Jim

    (@jwmc)


    I’m trying out the plugin for the first time. When I add users to a list and save, the list shows 0 users. When I go to another page and come back, the list is gone.

    Getting these errors in debug log:

    [18-May-2022 15:49:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:49:19 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:49:19 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:49:19 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:51:57 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:51:57 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:51:57 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:51:57 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:54:24 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:54:24 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:54:24 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 15:54:24 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [18-May-2022 16:05:12 UTC] PHP Notice:  Trying to access array offset on value of type null in ***/wp-content/plugins/ultimate-wp-mail/includes/WP_List_Table.UserStatsTable.class.php on line 629
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Jim

    (@jwmc)

    Update:
    I happened to find the Add Users button WAY down at the bottom of the full user list (would be helpful to pin that on the screen somewhere where it can be seen). Now I can get 10 users in the list, but:

    – When I choose the list to send an email, it only has one user in it (that was an earlier version of the list).

    – When I go back to look at the list itself, yup, only has one user.

    – If I just added some people and saved it, then I want to add someone else to the list, I have to recheck all the people who were originally on it as well. That doesn’t seem right.

    – There are still the debug errors/notices.

    Thread Starter Jim

    (@jwmc)

    Update 2:

    I deleted that list and started over. I got it to work. I think I figured out the secret combination of actions required to make a list:

    1. Choose users
    2. Scroll all the way to the end of the list of all users and click Add Users
    3. Click Save
    4. After the window closes, click Update Lists

    If that’s the way it’s supposed to work, some on-screen tips would be helpful because it is not intuitive.

    There’s still the debug notices, but apparently they are not fatal.

    Plugin Support jaysupport

    (@jaysupport)

    Hi Jim,

    That’s the way it’s supposed to work. Thank you for the suggestion. That’s a good idea and would definitely be helpful, especially in the case where someone has a long list of users, like you mentioned.

    What notices are you getting now? Still the same ones from your first message?

    Thread Starter Jim

    (@jwmc)

    Re debug notices:
    Today I made a new list with 1 user (me) using the procedure you said is correct. It worked fine, persisted, and there was no notice in debug log.

    Then I tried to send an email to that list. In the Email Edit screen, the list showed as having 1 Users, as it should. But when I sent to that list, the popup window said the email was sent to 0 users, and indeed, I didn’t receive it.

    The debug log had these new entries:

    [21-May-2022 16:26:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [21-May-2022 16:26:43 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [21-May-2022 16:26:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    [21-May-2022 16:26:43 UTC] PHP Notice:  Trying to get property 'name' of non-object in ***/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
    

    EDIT – oops, I seem to have a general problem with emails. According to WP Mail Catcher, which logs emails, all emails are failing with SMTP Error: Could not authenticate. This is unrelated to Ultimate WP Mail. Let me try to fix that and get back to you.

    EDIT2 – I fixed the email problem. The email was sent successfully to the 1 User on the list, but the same notices as above appeared in the debug log.

    • This reply was modified 2 years ago by Jim.
    • This reply was modified 2 years ago by Jim.
    Plugin Support jaysupport

    (@jaysupport)

    Hi Jim,

    Glad to hear you got the email sending/SMTP issue sorted.

    As for the notices, that line refers specifically to the code that generates the list of possible WooCommerce categories you can send an email to.

    Go to the edit screen for one of your emails. In the “Send Email” box on the right side, choose “Select a List” from the dropdown and then click the “Email User List” button. This will open a pop-up. Click the “WooCommerce Lists” tab. There you’ll see an option for “Previous Purchasers of Product in.” Is there anything that shows in the box?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t save a list’ is closed to new replies.