#44297 closed defect (bug) (duplicate)
Error and Bug!
| Reported by: | wordpressticket | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 4.9.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
/home/name/public_html/wp-includes/post-template.php