When Drupal executes hook_ENTITY_TYPE_view() is throwing an exception since _l() is deprecated.
I will attach a possible solution for it, however you could argue about the better implementations.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

keboca created an issue. See original summary.

keboca’s picture

I just attached my own solution, please feel free to ping me.

roberto_araya’s picture

The patch no apply because not find modules/contrib/blog/blog.module so I've edited.

chris_hall_hu_cheng’s picture

Thanks

Have committed to fix the issue for now. The code may be refactored after I have raised an issue to get the tests to pass.

chris_hall_hu_cheng’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.