[wp-trac] [WordPress Trac] #40598: PHP Fatal error: Call to a member function switch_to_locale() on null

WordPress Trac noreply at wordpress.org
Fri Apr 28 17:59:48 UTC 2017


#40598: PHP Fatal error: Call to a member function switch_to_locale() on null
--------------------------+-----------------------------
 Reporter:  hiheaven01    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Wordpress 4.7.4, WooCommerce 3.0.4. Please help.
 My front page won't display images of products, get this error in log:

 PHP Fatal error: Call to a member function switch_to_locale() on null in
 /nas/content/live/lhsupply/wp-includes/l10n.php on line 1277

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


More information about the wp-trac mailing list