Opened 7 years ago
Closed 7 years ago
#44217 closed defect (bug) (invalid)
An error maybe related to some deprecated function.
Reported by: | pcnador | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
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.
Change History (6)
#4
follow-up:
↓ 5
@
7 years ago
- Keywords needs-patch removed
@pcnador great, glad to hear it
The get_bloginfo()
function is not deprecated.
This issue seems to be plugin related, where the function might be used in some unexpected way?
One way would be to see what happens without that plugin.
You might also consider contacting the plugin support?
#5
in reply to:
↑ 4
@
7 years ago
yes you're right I'll try it and see
Replying to birgire:
@pcnador great, glad to hear it
The
get_bloginfo()
function is not deprecated.
This issue seems to be plugin related, where the function might be used in some unexpected way?
One way would be to see what happens without that plugin.
You might also consider contacting the plugin support?
Welcome to WordPress core trac
Please be careful what information you post online, you should change it on your end asap if needed!