Hi all,
I am having a problem with a child theme inherited from Future2021 using CLI method. When I trying to load the home page, that runs in a customized template, it shows blank:

And when trying to load another page from the website, that runs in a parent theme, it shows this error:

There is a similar problem entry here: /forum/support/an-exception-has-been-thrown-during-the-rendering-of-a-template-t2648 but it's not really answered, as I would like to update/downgrade to the working version of PHP if possible and if it's the issue.
I am mainly confused because it was working just normal while I was experimenting with templates & customization and in one try it showed this. When I enable the parent theme in system.yaml it shows normal though, doesn't show this problem.
I troubleshooted by creating another child theme and trying to load, then it worked fine, my custom homepage template was showing up. Then I tried putting a path to a folder in a title (link) and it showed me an error of cache as well "unable to write in cache directory", this time pointing me to a specific one in grav-admin/cache/twig/ac. I went into that folder and just saw my custom template cached. Did not know what to do in there, honestly.
I found this clue online:
PHP Version Conflicts
Recently we have found an issue resulting in this error message:An exception has been thrown during the rendering of a template ("Trying to access array offset on value of type null").This issue seems to stem from PHP7.4. The quick fix is to downgrade to version 7.3 or update to PHP8. We have had success with both workarounds and have Production Sites Running in both environments successfully.
But again, I did not update anything while I was customizing. I did update the whole system (sudo pacman -Suy) yesterday though. Could it be the problem? That PHP updates are conflicting and I need to downgrade them?
Thanks a lot in any case! :)
