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

WordPress Trac noreply at wordpress.org
Thu May 24 17:16:38 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        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Description changed by birgire:

Old description:

> 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 /public_html
> /wp-includes/class-wp-locale.php:231\n
> Stack trace:\n
> #0 /public_html/wp-includes/class-wp-locale.php(112): WP_Locale->init()\n
> #1 /public_html/wp-includes/load.php(927): WP_Locale->__construct()\n
> #2 /public_html/wp-includes/wp-db.php(1569):
> wp_load_translations_early()\n
> #3 /public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(145):
> wpdb->db_connect(true)\n
> #4 /public_html/wp-includes/wp-db.php(592):
> W3TC\\DbCache_Wpdb->db_connect()\n
> #5 /public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(252):
> wpdb->__construct('db', 'pass', 'user', 'localhost')\n
> #6 /home/124496.cloudwaysapps.com/tvxxbgmzsv/pu...\n
> }}}
>
> my server keeps generate this error until my server disk space was 0.

New description:

 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 /public_html
 /wp-includes/class-wp-locale.php:231\n
 Stack trace:\n
 #0 /public_html/wp-includes/class-wp-locale.php(112): WP_Locale->init()\n
 #1 /public_html/wp-includes/load.php(927): WP_Locale->__construct()\n
 #2 /public_html/wp-includes/wp-db.php(1569):
 wp_load_translations_early()\n
 #3 /public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(145):
 wpdb->db_connect(true)\n
 #4 /public_html/wp-includes/wp-db.php(592):
 W3TC\\DbCache_Wpdb->db_connect()\n
 #5 /public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(252):
 wpdb->__construct('db', 'pass', 'user', 'localhost')\n
 #6 /pu...\n
 }}}

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

--

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


More information about the wp-trac mailing list