Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

error in the documentation of L2 caching in the Magento application #8189

Closed
@redati

Description

@redati

Summary (*)

there is an error in the syntax of the configuration informed in the documentation. It doesn't work.

Warning: substr() expects parameter 1 to be string, object given in /usr/share/nginx/decora/decora_n/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php on line 1248

Link: https://devdocs.magento.com/guides/v2.4/config-guide/cache/two-level-cache.html

Examples (*)

cache' => [
[
'default' => [
'backend' => '\Magento\Framework\Cache\Backend\RemoteSynchronizedCache',
...

the frontend key is missing

Proposed solution

'cache' => [
'frontend' => [
'default' => [
'backend' => '\Magento\Framework\Cache\Backend\RemoteSynchronizedCache',
...


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions