[wp-trac] [WordPress Trac] #12838: PHP error - expecting '; ' in wordpress/wp-admin/edit-pages.php(191)

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 4 05:57:41 UTC 2010


#12838: PHP error - expecting ';' in wordpress/wp-admin/edit-pages.php(191)
--------------------------+-------------------------------------------------
 Reporter:  agentc0re     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.9.2     
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 I was getting the above error(in title) in my apache error logs.
 On line 192 is where I saw the problem.
 192:

 {{{
 if ( empty($locked_post_status) ) :
 }}}


 So I changed it to:

 {{{
 if ( empty($locked_post_status) ) :;
 }}}


 And am no longer receiving this error anymore.

 {{{
 [Sat Apr 03 23:10:48 2010] [error] [client 174.23.x.x] FastCGI: server
 "/home/learnix/virtual_html/public_html/wordpress/wp-admin/index.php"
 stderr: EntityRef: expecting ';' at line 191, column 107, referer:
 http://learnix.net/wordpress/wp-admin/edit-pages.php

 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12838>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list