WSOD on node edit upon updating from 8.x-1.9 to 8.x-1.12

Created on 31 October 2023, 8 months ago
Updated 28 February 2024, 4 months ago

Problem/Motivation

I am experiencing this on Drupal 10.1.5, running PHP 8.2.11.

Upon updating from 1.9 to 1.12 on my development domain, any content edit page containing an Office Hours field WSODs upon opening.

Removing the field from the node's form display allows me to access to edit page.

I have Drupal's debugging enabled, and the page still silently errors.

Memory exhaustion can be ruled out. I've watched htop while attempting to access the edit page, and all seems well. Historically, memory exhaustion is the only thing I've experienced that's caused a totally blank WSOD with debugging enabled.

I am unsure of how to process without being able to give any instruction to reproduce the issue.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Code - widget

Created by

πŸ‡ΊπŸ‡ΈUnited States FrankieD3

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

Comments & Activities

  • Issue created by @FrankieD3
  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3
  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3
  • πŸ‡³πŸ‡±Netherlands johnv

    Just to be sure, the problem is when you start editing a node, not when you just have saved an Edit form?

    Did you enable 'All messages, with backtrace information' on the following page? /admin/config/development/logging

  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    Correct on both accounts.

    I can also confirm this is present on PHP 8.1.25.

    The only variable between my production and dev site that I am aware of is the module version.

  • πŸ‡³πŸ‡±Netherlands johnv

    What happens if you update per version? First 1.10, then 1.11, then 1.12?
    Can you pinpoint to a specific version?

  • πŸ‡³πŸ‡±Netherlands johnv
  • πŸ‡³πŸ‡±Netherlands johnv

    Do you see any relation with πŸ’¬ WSOD on node edit upon updating to 8.x-1.12 Active ?

  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    I'll go ahead and test the intermediary versions. My apologies for the late response.

  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    I've gone ahead and reverted to 1.10, and strangely, the issue persists.

    Perhaps it could be related to a core update? I only go about updating the development domain when new features need to be implemented, so there are a handful of updates that were run at the same time.

    I am wracking my brain for any other variables, and I'm coming up empty handed.

  • πŸ‡³πŸ‡±Netherlands johnv

    Then, the problem could still be in the upgrade from 1.9 to 1.10, correct?

  • πŸ‡³πŸ‡±Netherlands johnv

    Please check the field settings. And disable/resave any exceptions and season settings. Test, then enable, if needed. Let's see if you encounter a difference somewhere to pinpoint the problem.

  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    Downgrading to 1.9 yields the same results, as does toggling and resaving the field settings.

    I do recall that I had a similar issue on a D9 install a while back, though the error wasn't silent. I've checked the composer.json on this other domain, and it has a static version of 1.9.0.

    If I call correctly, that issue had to do with seasons, though they weren't being used.

    I'm not sure if this is relevant, but given that the same base composer.json was used initially for both of these installs, it could be connected.

  • πŸ‡³πŸ‡±Netherlands johnv

    Sorry, in comment #8 I added the wrong link. It is now corrected. It points to πŸ› Ajax error on [Add exception] button if "seasons" is activated Active .

    Having both exceptions and seasons enabled in the widget was the root cause over there.
    However, the error only appeared if you press the [Add exception] button.
    Yo could try new dev version.

  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    Dev also fails. Given this seems to be an isolated issue, should we table it for now and revisit it in the future? There doesn't seem to be too much to go off of, and I'm not sure what other information I could supply at this point.

  • πŸ‡³πŸ‡±Netherlands johnv

    Yes, I do not know how to proceed here.
    But will you then NOT update, for now?

  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    I suppose so, as this install has thousands of nodes with existing hours that my content team needs access to.

    For now I will stay on a static version of 1.9.0 on production.

    If I manage to produce an error I will bump the issue with any new information.

    Thanks much for attempting to help me diagnose the issue.

  • πŸ‡³πŸ‡±Netherlands johnv

    BTW, as you have so many entities, what are your thought on ✨ Exceptions that apply to entire bundles Active ?
    (please respond over there)

  • Status changed to Postponed: needs info 8 months ago
  • πŸ‡³πŸ‡±Netherlands johnv
  • Status changed to Active 7 months ago
  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    I've finally been able to produce an error through the Apache error logs, though it may not be too useful. This is the only trace of an error whatsoever, and only appears when in relation to Office Hours being present on the form. I assume this out of the scope of the project, and a deep rooted configuration issue?

    [Tue Nov 21 15:36:28.727122 2023] [proxy_fcgi:error] [pid 1376:tid 47477690558208] [client {local ip}] Premature end of script headers: index.php
    [Tue Nov 21 15:36:28.727182 2023] [proxy_fcgi:error] [pid 1376:tid 47477690558208] [client {local ip}] AH01070: Error parsing script headers
    [Tue Nov 21 15:36:28.727188 2023] [proxy_fcgi:error] [pid 1376:tid 47477690558208] (22)Invalid argument: [client {local ip}] AH01075: Error dispatching request to :
  • Status changed to Fixed 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    I've finally stumbled across a solution. It seems to have been caused by the http.response.debug_cacheability_headers parameter in development.services.yml being set to true.

    Setting http.response.debug_cacheability_headers: false fixed things right up.

    Strange that the issue cropped up specifically when I upgrade Office Hours. Either way, I've solved it.

    Thanks!

  • Status changed to Closed: works as designed 4 months ago
  • πŸ‡³πŸ‡±Netherlands johnv

    Good to hear that.

Production build 0.69.0 2024