#44297 closed defect (bug) (duplicate)
Error and Bug!
Reported by: | wordpressticket | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.1 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
Hello,
i am write a page.php file as :
<?php get_header() ?> <div class="container"> <div class="news_single"> <center> <h2><?php the_title() ?></h2> <?php the_content(__('')); ?> </div> </center> </div> <?php get_footer() ?>
So What is Bug?
<?php the_content(__('')); ?>
When show Error!?
when php version of server is 7.2.
What is Error?
Warning: count(): Parameter must be an array or an object that implements Countable in /home/shatelga/public_html/wp-includes/post-template.php on line 284
What is WordPress Version?
wordpress-4.9.1-fa_IR (https://fa.wordpress.org/wordpress-4.9.1-fa_IR.zip)
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
/home/name/public_html/wp-includes/post-template.php