- Issue created by @sime
- 🇦🇺Australia granticusiv
I'm not sure if it's of any help, but I did find this regex '#Cannot access constant (\w+)#' in the ignore rules for PHP standards in GovCMS - https://projects.govcms.gov.au/GovCMS/govcms-ci/-/blob/master/config/php...
I was suddenly encountering the same "Cannot access constant ...." error for the bootstrap theme last week, but now I'm not.
- 🇦🇺Australia granticusiv
Following up from my own comment above, I was triggering the "Cannot access constant" error when I switched the base theme in my sub-theme's info.yml (in my case, switching from bootstrap to bootstrap_barrio). My workaround was to create a clone of my sub-theme and base it on bootstrap_barrio and leave the origin sub-theme based on boostrap. The pipeline was fixed in the next deployment.
- 🇦🇺Australia RichardGaunt Melbourne
We have merged a fix for this issue today: https://github.com/civictheme/monorepo-drupal/pull/1314
- Status changed to Needs review
25 days ago 9:24am 24 November 2024 - 3795ef07 committed on 1.x
Issue #3475110 by joshua1234511, richardgaunt, sime, granticusiv:...
- 3795ef07 committed on 1.x
Automatically closed - issue fixed for 2 weeks with no activity.