编辑Typo3页面属性/站点触发Call to a member function getOption() on null异常
Hey there, let's work through this Fluidpages error you're facing in TYPO3 8.7.9. I've come across this exact issue in community discussions before, so here's a breakdown of what's going on and how to fix it:
First, let's confirm the error details
Error thrown in file
.../typo3conf/ext/fluidpages/Classes/Service/PageService.phpat line 226
Context around your issue
- You're running TYPO3 8.7.9, and this error shows up consistently on both your development and production servers
- This is your first time using extension-based templates, and you suspect you might have accidentally modified files in the
Resources/Private/Templates/Pagefolder - Similar cases (particularly with German language configurations) have been reported in the community
The Proven Fix
From discussions in the Fluidpages repository and other TYPO3 community spaces, the most reliable solution is to clear all TYPO3 caches fully. Here's how to do it right:
- Log into your TYPO3 backend, head to the "Maintenance" module
- Select "Flush all caches"—make sure to flush both frontend and backend cache pools
- If the backend method doesn't work, you can manually delete the contents of the
typo3temp/folder via your server's file manager or FTP (just don't delete the folder itself, only its contents)
Extra Check
While clearing cache usually resolves this, take a quick look at the changes you made to the Resources/Private/Templates/Page folder. If you renamed or removed any template files that Fluidpages relies on, restoring those files (or updating your page configuration to match the new template names) might be needed if cache flushing alone doesn't fix the error.
内容的提问来源于stack exchange,提问作者ejoo

