Title: Error coming from get_the_content function
Last modified: June 6, 2018

---

# Error coming from get_the_content function

 *  Resolved [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/)
 * Im getting this error at the top of the page when accessing any post or page 
   that does not have a next post link.
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /path/wp-includes/post-template.php on line 284

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

 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/#post-10377420)
 * Hi
 * I am afraid I can’t reproduce that and it’s not been reported by our pro users,
   can you provide a bit more background?
 * – PHP version
    – WordPress exact version – running any template customization?–
   which plugins on the site? have you tried disabling them one by one from the “
   Comments and Plugins” tab of weeblrAMP configuration?
 * Best regards
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/#post-10377448)
 * Hi again,
 * I take that back, after switching to PHP 7.2, the issue started to appear. We’ll
   have a look today and report back.
 * Best regards
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/#post-10377674)
 * Hi
 * We have fixed this issue, can you please download an updated version [from this page](https://1drv.ms/f/s!AqNs_J_VCpZSi6xPNY_Zdai2Bbc9iQ)(
   no login required) and check if all is fine now?
 * Best regards
 *  Thread Starter [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/#post-10379160)
 * Yes that seems to have fixed the problem. I am running PHP 7.2. Thank you for
   the quick fix. I’ll hopefully have this plugin implemented on my live site soon.
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/#post-10385805)
 * Good, let us know!
 * Best regards

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

The topic ‘Error coming from get_the_content function’ is closed to new replies.

 * ![](https://ps.w.org/weeblramp/assets/icon-256x256.png?rev=2308087)
 * [AMP on WordPress - weeblrAMP CE](https://wordpress.org/plugins/weeblramp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weeblramp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weeblramp/)
 * [Active Topics](https://wordpress.org/support/plugin/weeblramp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weeblramp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weeblramp/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/error-coming-from-get_the_content-function/#post-10385805)
 * Status: resolved