Title: Generated error after notification
Last modified: May 14, 2020

---

# Generated error after notification

 *  [NewsArena](https://wordpress.org/support/users/newsarena/)
 * (@newsarena)
 * [6 years ago](https://wordpress.org/support/topic/generated-error-after-notification/)
 * Hi,
 * I need help with generated error in **error_log** file on my server:
 * `PHP Warning: count(): Parameter must be an array or an object that implements
   Countable in /home/****/public_html/wp-content/plugins/email-posts-to-subscribers/
   query/dbquery-notification.php on line 285`
 * That’s happened every time when email notification is triggered via cron job.
 * Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/generated-error-after-notification/#post-13328018)
 * Same here.
 *  [bret.miller](https://wordpress.org/support/users/bretmiller/)
 * (@bretmiller)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/generated-error-after-notification/#post-13328052)
 * See [https://wordpress.org/support/topic/php-warning-252/](https://wordpress.org/support/topic/php-warning-252/)
 *  [bret.miller](https://wordpress.org/support/users/bretmiller/)
 * (@bretmiller)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/generated-error-after-notification/#post-13328072)
 * Actually it’s a little different. It calls get_post which returns null when there’s
   no post and count(null) isn’t valid.
 * I’ll send a note over on gopiplus…
 *  [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/generated-error-after-notification/#post-13328135)
 * Yeah, not the same one.
 *  [bret.miller](https://wordpress.org/support/users/bretmiller/)
 * (@bretmiller)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/generated-error-after-notification/#post-13328158)
 * Yeah… the author seems to like trying to count() things that aren’t arrays.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Generated error after notification’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-posts-to-subscribers_f5f9fd.
   svg)
 * [Email posts to subscribers](https://wordpress.org/plugins/email-posts-to-subscribers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-posts-to-subscribers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-posts-to-subscribers/)
 * [Active Topics](https://wordpress.org/support/plugin/email-posts-to-subscribers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-posts-to-subscribers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-posts-to-subscribers/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [bret.miller](https://wordpress.org/support/users/bretmiller/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/generated-error-after-notification/#post-13328158)
 * Status: not resolved