[wp-trac] [WordPress Trac] #48273: ReferenceError: jQuery is not defined

WordPress Trac noreply at wordpress.org
Thu Oct 10 12:26:47 UTC 2019


#48273: ReferenceError: jQuery is not defined
--------------------------+-----------------------------
 Reporter:  bhartvigsen   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 There is a bug in the latest version (Version 5.2.3), it's throwing:

 ReferenceError: jQuery is not defined

 All over the admin.

 To reproduce:

 - Setup a web server with Ubuntu, MySQL 5.7, PHP 7.2 and nginx 1.10 using
 a off-the-shelf wordpress config.
 - wget https://wordpress.org/latest.tar.gz, extract
 - chown -R www-data:www-data <wordpress install folder> and chmod -R g+rw
 <wordpress install folder>
 - Copy wp-config-sample.php to wp-config.php
 - Edit wp-config.php and edit ONLY DB_NAME, DB_USER, DB_PASSWORD, and
 DB_HOST with the credentials for a MySQL user that has full access to the
 DB in question
 - Visit site URL
 - Select 'English', provide a username, password
 - Login to new installation admin, notice that there are SEVEN fatal JS
 errors due to jQuery not defined issue

 I discovered this on a live site because it broke the 'create page'
 functionality after an update. After installing a fresh copy with a fresh
 database I discovered that this is a bug in WordPress rather than a
 configuration issue.

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


More information about the wp-trac mailing list