the_content() returns: Warning: count() error.
-
When using <?php the_content() ?> on a page template, I am recieving this error:
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\cmos\wordpress\wp-includes\post-template.php on line 293.
The page has text in the back end so there should be something there to output.
When I use <?php the_title() ?> it outputs the title fine.
I am using WordPress 5.1.1, PHP 7.3.0.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘the_content() returns: Warning: count() error.’ is closed to new replies.