This theme is not compatible with Drupal 9.0.5. Check that the .info.yml file contains a compatible 'core' or 'core_version_requirement' value.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | Drupal_9_alpha_7-3169332-13-tweak.patch | 6.25 KB | davidburns |
| #13 | Drupal-9-compatible-3169332-13.patch | 27.93 KB | mcannon |
| #8 | Screenshot 2021-05-04 at 4.02.51 PM.png | 78.61 KB | tushar_sachdeva |
| #7 | Drupal-9-compatible-3169332-7.patch | 2.07 KB | divyesh19 |
| #6 | 3169332-d9_info_ymls-6.patch | 735 bytes | ytsurk |
Issue fork omega-3169332
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
gauravvvv commentedI have provided the patch please verify if it is working or not.
Comment #3
gauravvvv commentedComment #4
ytsurkThere are more changes then just in the info.yml needed ...
Comment #5
ytsurkSorry my bad, this is the only thing missing in the automated patch
Comment #6
ytsurkWas too quick, your patch does not respect non-D9, and the omega_tools module also needs an updated core_version_requirement
Comment #7
divyesh19Attaching updated patch which fixes some more deprecated code.
Comment #8
tushar_sachdeva commented@divyesh19 the above patch#7 does not apply, whereas on applying #6 patch apply cleanly but throws an error: "The website encountered an unexpected error. Please try again later".
Comment #9
tushar_sachdeva commentedComment #12
elimw commentedComment #13
mcannon commentedI was just working on this same issue & have been running into error using composer. Both patched on this issue fail because of the changes in the `*.info.yml` files. This is the same problem that I have been having. The patch I am uploading DOES NOT contain any `*.info.yml` updates, but it contains a lot of updates I found via `drupal-check` to replace deprecated code that will not be available in D9.
I hope it helps!
Any advice on how to get past the issues I'm having with the `*.info.yml` files would be appreciated.
Comment #14
ytsurkUse this fork here. See https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa...
Or add your own repository in composer.json, like
require
cweagans/composer-patchesand in the extra section of your composer.json, add
remove
drupal/omegaand addmy/omega.Comment #15
pavelgerasuta commentedPatch for upgrading to Drupal 9 for alpha7 version
Comment #16
pavelgerasuta commentedComment #17
davidburnsPatch in #13 worked for me.
Still ran into 1 error.
omega-functions.php line 120
$vocab = $term->getVocabularyId();should be$vocab = $term->bundle();Comment #18
Sarahlee1 commentedHey I have tried the patches in this thread.
This currently the error i have.
Comment #20
Sarahlee1 commented@Wilson2100 I have pulled down the "remotes/origin/3169332-drupal-9-compatible" branch, should i now be applying the previous patches in this thread to it?
Sorry im not very familiar with git and branch merging etc, currently I have just been applying patches manually.
When i try to apply patches with git I always get "error: patch failed"
Comment #21
rathod03 commentedHi @PavelGerasuta, Tried to apply your patch on alpha 7 version but I can't, it gives error
Could not apply the patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2021-11-08/Drupal_9_compatible_alpha_7-3169332-15.patchCan you please check or suggest if there is something wrong?
Thank you in Advance!
Comment #22
michellesfrazer commentedThis theme is not compatible with 9.3.15. Seeking an alternative. Looks like Bartik as a base theme might be the wiser route to go.
Comment #23
dfletcher commented@ytsurk nice composer solution. The patch fails on (d9 comp) and (warnings and errors). Is that bit missing? Because it has an error "The website encountered an unexpected error. Please try again later." 500 any non-admin page. It says "Error: Class 'Drupal\omega\Theme\OmegaSettingsInfo' not found" and the settings page is broken. Ideas?