Cannot add a non-admin route

Created on 5 April 2023, over 1 year ago
Updated 19 April 2023, over 1 year ago

Problem/Motivation

I have done a fresh install of v2.00.

My particular interest is in whacking up the available memory on certainly memory-hungry pages such as /admin/config/development/configuration so I have enabled the Route sub-module.

I seem to be able to add an Admin Route fine but whenever I choose just basic Route then hit the Configure Constraint Settings button, nothing appears to happen on-screen and visiting the dblog shows...

TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in implode() (line 81 of [...]modules\contrib\memory_limit_policy\modules\memory_limit_policy_route\src\Plugin\MemoryLimitConstraint\Route.php)
#0 C:\Users\nick\Sites\bit-by-bit.org\public_html\modules\contrib\memory_limit_policy\modules\memory_limit_policy_route\src\Plugin\MemoryLimitConstraint\Route.php(81): implode('\r\n', NULL)

And...

Warning: Undefined array key "routes" in Drupal\memory_limit_policy_route\Plugin\MemoryLimitConstraint\Route->buildConfigurationForm() (line 81 of [...]\modules\contrib\memory_limit_policy\modules\memory_limit_policy_route\src\Plugin\MemoryLimitConstraint\Route.php)

Blocked completely :-(

My configuration

Drupal Version 9.5.7
Web server: Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9
Database: MySQL  5.7.24
PHP: 8.1.0
🐛 Bug report
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024