Status report wrongly warns of APCu memory limit when admin language is not English

Created on 26 May 2020, over 4 years ago
Updated 27 August 2024, 5 months ago

Problem/Motivation

In #2800605: Warn/inform users when the hosting environment has a too low limit of APCU cache we did not consider that ByteSizeMarkup::create returns a translated string representation of the size.

Steps to reproduce

  1. Need to make sure that PHP compile with APCu support and APCu cache was enabled
  2. If site has only English language, needs to add another language, Russian or example.
  3. Needs to set non-English language to admin user and go to site Status Report

Proposed resolution

Force set English for ByteSizeMarkup::create function

Result

Before patch:

After patch:

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Cache 

Last updated 3 days ago

Created by

🇷🇺Russia Chi

Live updates comments and jobs are added and updated live.
  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024