[wp-trac] [WordPress Trac] #43194: MySQL error when uploading my own theme

WordPress Trac noreply at wordpress.org
Thu Feb 1 09:21:46 UTC 2018


#43194: MySQL error when uploading my own theme
---------------------------+-----------------------------
 Reporter:  JavierCasares  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Themes         |    Version:  4.9.2
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 NOTE: I have the debug options ON

 When I upload my own theme [Themes -> Add New -> Upload Theme] I get these
 mesages:

 Installing Theme from uploaded file: example-1.2.3.zip
 Unpacking the package…
 Installing the theme…
 Theme installed successfully.
 Network Enable | Return to Themes page

 Notice: wpdb::prepare was called incorrectly. Unsupported value type
 (array). Please see Debugging in WordPress for more information. (This
 message was added in version 4.8.2.) in /wp-includes/functions.php on line
 4147

 Warning: mysqli_real_escape_string() expects parameter 2 to be string,
 array given in /wp-includes/wp-db.php on line 1102

 Notice: wpdb::prepare was called incorrectly. Unsupported value type
 (array). Please see Debugging in WordPress for more information. (This
 message was added in version 4.8.2.) in /wp-includes/functions.php on line
 4147

 Warning: mysqli_real_escape_string() expects parameter 2 to be string,
 array given in /wp-includes/wp-db.php on line 1102

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


More information about the wp-trac mailing list