craftcms / craftcms/cms

Can't edit a specific matrix field

Open
#7,854 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Description

I have a matrix fields that has several types of matrix blocks including some with supertable to achieve nested matrixes.
I haven't work on this project for 1 or 2 months and today when I tried to make some changes to this field it would open.
Instead I would get a 502 Bad Gateway message. This only happens in one specific field. Other matrix fields work just fine.
This field is specially complex since it is used as a "page builder".
I checked the web.log file and seems that it looped through the same process 40 times before it crashed.
I updated craft and plugins to latest version and. I am running a docker with with nginx, ubuntu 20.04 and php 8.0.
This is the same image i rum several projects on my local environment.

Steps to reproduce
  1. Go the settings -> fields
  2. Click edit on the selected field
Additional info
  • Craft version: Craft Pro 3.6.12
  • PHP version: 8.0.1
  • Database driver & version: MySQL 5.5.5 (maria db)
  • Plugins & versions:
    Activity 1.0.1
    Amazon S3 1.2.11
    Assets Usage 2.2.1
    Contact Form 2.2.7
    Cookies 1.1.14
    MobileDetect 1.0.2
    Redactor 2.8.6
    Redirect Manager 1.1.1
    Super Dynamic Fields 1.0.5
    Super Table 2.6.7
    Wordsmith 3.3.0.1
    XML Sitemap 1.3.2

In addition to this, all system requirements are matched.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure through Settings → Fields and inspect web.log while opening the specific matrix field. Compare its nested Matrix and Super Table configuration with fields that still open, using the listed Craft and plugin versions as context. Done means the affected field opens without a 502 response or repeated process loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mariadb, nginx, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.