I just installed this theme for a test but when I navigate to /admin/appearance/settings/artisan
there is fatal error: Fatal error: Traits cannot have constants in \themes\contrib\artisan\src\customizations\ArtisanCustomizationsHxTrait.php on line 13
currently I am using PHP 8.1.26 ... and above issues looks like PHP version issue. Is PHP 8.2 or 8.3 required for this theme ?
Issue fork artisan-3500504
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
crzdev commentedThanks for the interest shown, it should work properly with at least 8.2
Related to specific error:
Comment #3
crzdev commentedAccording to core php compatibility table we should support 8.1 too for core 10, this requires some minimal changes
Comment #5
crzdev commentedGenerated MR with changes to avoid reported error
Comment #6
coaston commentedHello,
Thank you for your patch, after I applied i I can no longer see reported issues, but now I can see a different one, right after I navigate to :
/admin/appearance/settings/artisanand it looks good, but once I go back to list :/admin/appearanceI can see following errors :and
Once I uninstall Artisan theme - I do not see such issues anymore.
Comment #8
crzdev commentedOhh great, something fixed & included, that other error seems quite strange, maybe related to files folder permissions to generate twig templates cache? Did you tried clearing cache after adjusting permissions?
Comment #9
coaston commentedHi,
I can confirm it works now. It was due to missing permissions. This can be closed. Thank you for your help
Comment #10
crzdev commentedGreat!!!