[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal

WordPress Trac noreply at wordpress.org
Sat Aug 27 13:50:12 UTC 2016


#36335: Next generation: core autoloader proposal
-----------------------------+------------------
 Reporter:  dnaber-de        |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  4.7
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------

Comment (by jeherve):

 Replying to [comment:89 dd32]:
 > FYI; That broke for anyone using core.svn as an external

 Came here to report the same thing:

 {{{
 Warning: include(/home/user/src/wp-includes/wp-db.php): failed to open
 stream: No such file or directory in /home/user/mysite/wp-
 vendor/composer/ClassLoader52.php on line 186

 Warning: include(): Failed opening '/home/user/src/wp-includes/wp-db.php'
 for inclusion (include_path='.:/usr/local/share/pear70') in
 /home/user/mysite/wp-vendor/composer/ClassLoader52.php on line 186

 Fatal error: Uncaught Error: Class 'wpdb' not found in /home/user/mysite
 /wp-includes/load.php:404 Stack trace: #0 /home/user/mysite/wp-
 settings.php(103): require_wp_db() #1 /home/user/mysite/wp-
 config.php(149): require_once('/home/user/...') #2 /home/user/mysite/wp-
 load.php(39): require_once('/home/user/...') #3 /home/user/mysite/wp-blog-
 header.php(13): require_once('/home/user/...') #4
 /home/user/mysite/index.php(17): require('/home/user/...') #5 {main}
 thrown in /home/user/mysite/wp-includes/load.php on line 404
 }}}

 I can't remember the last time `trunk` brought my site down. :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:91>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list