Skip to main content

Replicate

Replicate the bug in your local environment.

Check

Check - do you have the latest version of the contrib module?  In case the issue has already been identified and resolved.

A quick check of the issue list for the contrib module.

Nothing.

Document notes

Read through the log files to understand where the bug is located.  Devel module is a must for a backend dev to help resolve issues like this one.  Ensure Symfony var-dumper or Kint is running.  Data is gold here and a time saver.
Armed with data, you will have a great idea of what has gone wrong - so time to fix the bug.

Test.  Test.  Test.

All working... Create a patch so any future updates don't have the same issue.  Also, let the contrib module authors know about the issue via normal git processes.

Related articles

Andrew Fletcher15 Mar 2024
Could not apply patch! Skipping
Attempting to apply a patch in Drupal 10.2.4 that had been working until this version.  Now I'm seeing the following errorCould not apply patch! Skipping. The error was: The process "patch '-p1' --no-backup-if-mismatch -d '/Users/andrewfletcher/Sites/codebales/modules/contrib/facets' <...