Attempt to install module gives WSOD

Created on 20 January 2025, about 1 month ago

When I try to install the module, I get a WSOD. When I navigate back to another page, the error message shown is:

Warning: Undefined array key "commerce_xero_transactions.page_1" in Drupal\views\Plugin\Derivative\ViewsLocalTask->getDerivativeDefinitions() (line 82 of core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php).

When I subsequently try to uninstall the module, I again get a WSOD. When I navigate back to another page, the error shown is:

The selected modules could not be uninstalled, either due to a website problem or due to the uninstall confirmation form timing out.

This problem occurs on my test server, but not on my local machine. Both machines have the same modules installed, as far as I can tell, with Drupal 10.4.1.

Are there some pre-requisites to installing this module?

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @dabley
  • πŸ‡ΊπŸ‡ΈUnited States mradcliffe USA

    The test server vs local has me confused. I am not sure why it would not install on one and not the other.

    The error references views and the optional view that comes with the module. I installed on a fresh commerce environment after ensuring 10.4 was up-to-date and I found no changes from the view after I was able to install the module locally.

    Since the error is a warning, that may not be related at all to the WSOD. It may be a race condition in Drupal core.

    There may be a different error in the PHP or Web server error logs. Maybe memory usage? I don't think that would matter unless it's trying to install Commerce, Address, State Machine, Xero and Commerce Xero all at once.

  • Thanks for looking into this. It seems as though the problem was due to insufficient memory allocation on the test server. We've increased the memory available, and now the module installs without any error.

Production build 0.71.5 2024