Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#39440 closed defect (bug) (duplicate)

Database errors on install with WP_DEBUG:true - wp_create_nonce( 'wp_rest' )

Reported by: thomasmery's profile thomas.mery Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: Upgrade/Install Keywords:
Focuses: rest-api Cc:

Description

On a fresh install it seems like there are db calls made before the db is installed

This appears to originate in wp-admin/install.phpline 421
with a wp_print_scripts call

and more precisely in scripts-loader.php line 510
where wp_create_nonce( 'wp_rest' ) is called

Change History (3)

#1 @ocean90
8 years ago

  • Focuses rest-api added
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version changed from trunk to 4.7

Hello @thomas.mery and welcome to WordPress Trac!

Thanks for your report, we're already tracking this issue in #39047 so I'm closing this one as a duplicate.

#2 @thomas.mery
8 years ago

thanks,

looked for it but apparently not well enough

any tip for next time? (with this issue as an example I searched for 'install' 'db' 'errors' 'rest-api')

#3 @swissspidy
8 years ago

@thomas.mery: Some people use Google to search for existing tickets as their search is very good (site:core.trac.wordpress.org <search terms>). For example, site:core.trac.wordpress.org install nonce shows #39047 on the first position

Note: See TracTickets for help on using tickets.