WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Problems with daily digests (7 posts)

  1. Sylwia
    Member
    Posted 2 years ago #

    I'm trying to set the plugin to emailing daily digests, but it sends out only the last email I made. How can I fix it?

    Also, this error appears in the user settings page:

    Warning: sort() expects parameter 1 to be array, string given in /wp-content/plugins/subscribe2/subscribe2.php on line 2630

    Any idea what to do about it?

  2. mattyrob
    Member
    Plugin Author

    Posted 2 years ago #

    @Sylwia,

    Are you trialling the digest email by hitting the Preview button? Or is this live running that is only sending one post per email?

    With respect to the error message - do you have only one category on your site?

  3. Sylwia
    Member
    Posted 2 years ago #

    I scheduled the email to come at 4 pm and it did, but with only the latest post.

    I had 4 categories, and I added a 5th now. It's still the same.

    This is what the Notification Settings page looks like: http://imm.io/7kfX

    Is this all that should be there, or am I missing something?

  4. mattyrob
    Member
    Plugin Author

    Posted 2 years ago #

    @Sylwia,

    Comment out line 2630 in Subscribe2.php or revert to version 6.3 and I'll get that bug fixed in the next version. Your Subscriptions screen is correct as you are using Digest mode - knowing this helped me locate the bug.

    The email at 4 am should have contained all posts made since you installed up to the time the email sent. Wait until next time it sends now and it should include more than 1 post (provided you have made more than 1 post of course).

  5. Sylwia
    Member
    Posted 2 years ago #

    Thanks a lot. I did as you said (commented out the line) and it didn't show any errors during saving now.

    I made many new posts. I'll see what the 4pm digest sends this time.

  6. Sylwia
    Member
    Posted 2 years ago #

    So at 4pm sharp (my local time) a new digest came, with _all_ the new posts in it!

    Thank you so much for the great plugin and your help! I marked the topic as resolved, and I'll give your plugin 5 stars.

  7. mattyrob
    Member
    Plugin Author

    Posted 2 years ago #

    @Sylwia,

    Thanks for the update and for letting me know things are now working as you expect. I'll make sure the error message is fixed for the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags