[wp-trac] [WordPress Trac] #41092: PHP Fatal error: Uncaught Error: Call to undefined function get_bloginfo

WordPress Trac noreply at wordpress.org
Wed Sep 5 13:00:36 UTC 2018


#41092: PHP Fatal error:  Uncaught Error: Call to undefined function get_bloginfo
--------------------------+------------------------------
 Reporter:  parsmizban    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.8
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |     Focuses:  rtl
--------------------------+------------------------------
Description changed by johnbillion:

Old description:

> Hi,
>
> I think there is a bug when Direction is RTL in themes,
> I get many of these errors these days on our hosted wordpress web sites
> using PHP 7.1
>
> '''Sample stack trace:'''
>
> PHP Fatal error:  Uncaught Error: Call to undefined function
> get_bloginfo() in /home/username/public_html/wp-includes/class-wp-
> locale.php:233
> Stack trace:
> #0 /home/username/public_html/wp-includes/class-wp-locale.php(113):
> WP_Locale->init()
> #1 /home/username/public_html/wp-includes/load.php(925):
> WP_Locale->__construct()
> #2 /home/username/public_html/wp-includes/functions.php(1403):
> wp_load_translations_early()
> #3 /home/username/public_html/wp-includes/load.php(538):
> is_blog_installed()
> #4 /home/username/public_html/wp-settings.php(140): wp_not_installed()
> #5 /home/username/public_html/wp-config.php(80):
> require_once('/home/username/...')
> #6 /home/username/public_html/wp-load.php(37):
> require_once('/home/username/...')
> #7 /home/username/public_html/wp-blog-header.php(13):
> require_once('/home/cryhhctz/...')
> #8 /home/username/public_html/index.php(17):
> require('/home/username/...')
> #9 {main}
>   thrown in /home/username/public_html/wp-includes/class-wp-locale.php on
> line 233

New description:

 Hi,

 I think there is a bug when Direction is RTL in themes,
 I get many of these errors these days on our hosted wordpress web sites
 using PHP 7.1

 '''Sample stack trace:'''

 {{{
 PHP Fatal error:  Uncaught Error: Call to undefined function
 get_bloginfo() in /home/username/public_html/wp-includes/class-wp-
 locale.php:233
 Stack trace:
 #0 /home/username/public_html/wp-includes/class-wp-locale.php(113):
 WP_Locale->init()
 #1 /home/username/public_html/wp-includes/load.php(925):
 WP_Locale->__construct()
 #2 /home/username/public_html/wp-includes/functions.php(1403):
 wp_load_translations_early()
 #3 /home/username/public_html/wp-includes/load.php(538):
 is_blog_installed()
 #4 /home/username/public_html/wp-settings.php(140): wp_not_installed()
 #5 /home/username/public_html/wp-config.php(80):
 require_once('/home/username/...')
 #6 /home/username/public_html/wp-load.php(37):
 require_once('/home/username/...')
 #7 /home/username/public_html/wp-blog-header.php(13):
 require_once('/home/cryhhctz/...')
 #8 /home/username/public_html/index.php(17): require('/home/username/...')
 #9 {main}
   thrown in /home/username/public_html/wp-includes/class-wp-locale.php on
 line 233
 }}}

--

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


More information about the wp-trac mailing list