[wp-trac] [WordPress Trac] #37380: Undefined variable: usingpi / Undefined variable: writable / Undefined variable: update_required

WordPress Trac noreply at wordpress.org
Sat Jul 16 09:06:30 UTC 2016


#37380: Undefined variable: usingpi / Undefined variable: writable / Undefined
variable: update_required
---------------------------+-----------------------------
 Reporter:  andreasneuber  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Permalinks     |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Happens with 4.6-beta3-38065


 '''Steps'''
 1.Fresh WP
 2.Login
 3.Go to Settings > Permalinks
 4.Press "Save Changes"
 5.Check debug.log

 '''debug.log has these entries'''
 {{{
 PHP Notice:  Undefined variable: usingpi in
 /var/www/html/tmp_phpnotices_60/wp-admin/options-permalink.php on line 113
 PHP Stack trace:
 PHP   1. {main}() /var/www/html/tmp_phpnotices_60/wp-admin/options-
 permalink.php:0
 PHP Notice:  Undefined variable: writable in
 /var/www/html/tmp_phpnotices_60/wp-admin/options-permalink.php on line 113
 PHP Stack trace:
 PHP   1. {main}() /var/www/html/tmp_phpnotices_60/wp-admin/options-
 permalink.php:0
 PHP Notice:  Undefined variable: update_required in
 /var/www/html/tmp_phpnotices_60/wp-admin/options-permalink.php on line 113
 PHP Stack trace:
 PHP   1. {main}() /var/www/html/tmp_phpnotices_60/wp-admin/options-
 permalink.php:0
 }}}

 '''My environment'''
 -Apache/2.4.7 (Ubuntu)
 -PHP version: 7.0.8-4 / Apache 2.0 Handler

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37380>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list