Error with PHP 8.1 and Set Error Reporting to default or maximum

This issue has been created since 2022-06-20.

Platform (MAMP Pro 6.6.2, Mac OS 11.6.1):
Joomla 4.1.4, Gantry 5.5.14, all Gantry templates, PHP 8.1.1 or greater, no cache, no SEO plugin.

Steps to reproduce
Using Joomla 4.1.4, set Error Reporting to default/maximum in global configuration and PHP to 8.1.1 or greater
Go to Gantry backend or any frontend page using Gantry template styles.

Actual result
I get the following error message:
Error: During inheritance of Countable: Uncaught Whoops\Exception\ErrorException: Return type of Twig\Node\Node::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213
Capture d’écran 2022-06-20 à 09 56 02

More Details About Repo
Owner Name gantry
Repo Name gantry5
Full Name gantry/gantry5
Language PHP
Created Date 2015-03-27
Updated Date 2022-08-04
Star Count 967
Watcher Count 91
Fork Count 203
Issue Count 385

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
derive-text-encode: Support New Type Idiom 0 2021-05-16 2022-08-05
Quest: Basic Cracking (ID: 2993) 1 2022-05-08 2022-07-23
Bug: wrong air purifier state in Luban 4.1.4 0 2022-02-02 2022-07-16
Look into `altera` guideline messages in clang-tidy 0 2022-01-21 2022-07-27
Optimize shift, msb() and lsb() functions 0 2022-01-12 2022-07-27
Improve standalone capability of examples 2 2022-01-23 2022-07-27
misspelling sing/sign in uintwide_t.h header 0 2022-01-19 2022-07-27
Clean up and test construction/cast-conversion/assignment 2 2022-01-20 2022-08-11
Get all non-Boost examples compiling/running on GCC5 in CI 2 2022-01-23 2022-07-27
how to fixed 2 USB devices network cards? 1 2022-02-28 2022-08-07
[Bug]: Focus Bottom Window hotkey focuses wrong window 15 2021-12-05 2022-08-06
Bug: Audio Flyout appearance after switching keyboard layout 2 2021-11-29 2022-08-11
Flake: [Fail] OVN master EgressIP Operations On node UPDATE [It] using EgressNode retry should re-assign EgressIPs and perform proper OVN transactions when pod is created after node egress label switch 3 2022-05-13 2022-07-30
有关mescroll-uni的问题,mescroll-upwarp什么的样式失效 1 2021-08-28 2022-08-10
Test that final reboot is happening & bitcoind service is changed 0 2021-10-05 2022-07-30
combine eslint with prettier together 1 2021-02-02 2022-08-07
refactor: ko lint 1 2021-02-03 2022-01-20
collection 1 2021-02-03 2021-12-19
support prettier to format code 1 2021-02-02 2022-08-07
App Suggestion: baikal 0 2021-10-08 2022-07-15
Notes on "Growing a Language" 0 2022-01-18 2022-08-01
4 Things I Learned from Mastering Mongoose.js 0 2022-01-18 2022-08-01
Wrong offsets of PCIe Capability registers 1 2021-11-05 2022-08-05
Request: AABBd and AABBf .set(x1,y1,z1, x2,y2,z2) 1 2021-07-03 2022-08-04
Image introspection failed (WSL2 Ubuntu 20.04) 9 2021-11-16 2022-07-28
[3.x]: Matrix blocks sharing field handles only return data for first created block for multi-column fields 2 2022-04-08 2022-08-13
C errors with generics and casting 2 2022-01-17 2022-07-15
Query cost for YouTube lookup decrease 3 2021-09-18 2022-07-18
💌 Get notified about new features and updates! 2 2021-08-26 2022-08-05
Get curriculum adopted at Microsoft 0 2020-12-13 2022-07-28
Need to have a method to disable SSL Verification 1 2020-10-27 2022-07-23
can you use vapoursynth filters in a hardware accelerated encode 1 2022-08-02 2022-08-11
There is no option to join domain while spinning up the VM's dynamically. 6 2021-10-21 2022-06-13
Feedback request: Inline suggestions 0 2022-01-09 2022-08-01
Build fails with setuptools-51.1.1 error 6 2021-01-27 2022-08-06
[question] Can multi-objective BO in botorch be constrained to finding a single optimal location for all objectives? 2 2022-04-06 2022-08-06
BinSkim produced SARIF output is not recognized by github 6 2021-10-19 2022-07-30
npx create-nuxt-app followed by npm run dev throws Vue packages version mismatch 4 2021-03-23 2022-08-11
Should a NonTransfer proxy be able to set_accept_ownership of an asset? 2 2022-04-22 2022-07-25
Refactor alpine importer 4 2021-07-15 2022-07-24
Auto zooming out when new data arrives 1 2022-03-15 2022-08-03
Installation of Wordcloud Failing in Windows 10 2 2021-07-09 2022-08-03
Command to force default WP indexes and collation 1 2020-01-08 2022-07-29
Set Timezone 3 2021-01-04 2022-01-06
Ref #197: Add support for "connected" publisher status and v3 Pub list 0 2019-09-24 2022-06-23
Some operations didn't work in tflite train procedure. 6 2022-01-25 2022-08-02
[RFC] NavBar 12 2021-09-15 2022-01-15
Bonkers Security 1 2021-12-07 2022-01-09
Pull Tye dependencies forward 1 2021-11-17 2022-07-30
Nested reference type record values and nullable constraints 1 2022-07-12 2022-07-30