Make WordPress Core

Opened 8 years ago

Closed 20 months ago

#40598 closed defect (bug) (worksforme)

PHP Fatal error: Call to a member function switch_to_locale() on null

Reported by: hiheaven01's profile hiheaven01 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.4
Component: I18N Keywords:
Focuses: Cc:

Description

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

Change History (3)

#1 @jdsteinbach
8 years ago

First time in the tickets: apologies in advance if this is the wrong place for this.

I'm getting the same error logged with WP 4.8, WooCommerce 3.1.1.

#2 @SergeyBiryukov
8 years ago

  • Component changed from General to I18N

#3 @swissspidy
20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.