[wp-trac] [WordPress Trac] #55489: SHORTINIT define make error in the core

WordPress Trac noreply at wordpress.org
Wed Mar 30 15:11:03 UTC 2022


#55489: SHORTINIT define make error in the core
----------------------------+-----------------------------
 Reporter:  gerendo         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Bootstrap/Load  |    Version:  5.9.2
 Severity:  critical        |   Keywords:  has-screenshots
  Focuses:                  |
----------------------------+-----------------------------
 hi brothers and sisters
 I am a software developer .. in my current project i use WordPress as
 dashboard for web app using WordPress Rest-API .. for trying to minimize
 the response time of the API . I try to minimize the load of WordPress
 libraries by define this constant (SHORTINIT) in the wp-config.php .. I
 got that error [[https://prnt.sc/BCnjCnsmyv0k]]

 ''Error: Call to a member function main() on null in
 D:\wamp64\www\wordpress\wp-includes\functions.php on line 1310''

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


More information about the wp-trac mailing list