[wp-trac] [WordPress Trac] #44217: An error maybe related to some deprecated function.

WordPress Trac noreply at wordpress.org
Thu May 24 16:46:47 UTC 2018


#44217: An error maybe related to some deprecated function.
--------------------------+-----------------------------
 Reporter:  pcnador       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 it looks like WordPress Core may still be using a deprecated function. See
 line 224 [here]https://github.com/WordPress/WordPress/blob/master/wp-
 includes/class-wp-locale.php

 The error in my apache error log

 {{{
 [Sun May 20 13:35:20.221828 2018] [proxy_fcgi:error] [pid 10537] [client
 127.0.0.1:47010] AH01071: Got error 'PHP message: PHP Fatal error:
 Uncaught Error: Call to undefined function get_bloginfo() in
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-includes/class-
 wp-locale.php:231\nStack trace:\n#0
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-includes/class-
 wp-locale.php(112): WP_Locale->init()\n#1
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-
 includes/load.php(927): WP_Locale->__construct()\n#2
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-includes/wp-
 db.php(1569): wp_load_translations_early()\n#3
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-
 content/plugins/w3-total-cache/DbCache_Wpdb.php(145):
 wpdb->db_connect(true)\n#4
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-includes/wp-
 db.php(592): W3TC\\DbCache_Wpdb->db_connect()\n#5
 /home/124496.cloudwaysapps.com/tvxxbgmzsv/public_html/wp-
 content/plugins/w3-total-cache/DbCache_Wpdb.php(252):
 wpdb->__construct('tvxxbgmzsv', '8pPcNT6ZvQ', 'tvxxbgmzsv',
 'localhost')\n#6 /home/124496.cloudwaysapps.com/tvxxbgmzsv/pu...\n
 }}}

 my server keeps generate this error until my server disk space was 0.

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


More information about the wp-trac mailing list