-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TYPO3 9.5: Error when accessing page properties and frontend #409
Comments
I guess this is a bug, I get similar erros. You can take a look at the comment within this commit, maybe it can fix your problem (it does for me): |
Thank you very much! That indeed fixed the problem. Cheers |
I stumbled upon this Issue because I ran into the same Error, but my version have already the mentioned fix in it. The error appears when I try to Edit a "Folder" in the Page tree which is not under the Root page (The Icon with the Globe) When I remove the fix from the Is it just an inconvenient way to place Folders (for example storage folders) otuside of the Root? Or does we have here an another Bug? Here's the full error message.
I tried to resolve the issue my modify the public function getBackendLayout($identifier, $pageUid)
{
$record = $this->recordService->getSingle('pages', '*', $pageUid);
if (null === $record) {
return new BackendLayout('empty', 'Empty', '');
}
$grid = $this->resolveProvider($record)->getGrid($record);
if (!$grid->hasChildren()) {
$backendLayout = parent::getBackendLayout($identifier, $pageUid);
if(null === $backendLayout){
return new BackendLayout('empty', 'Empty', '');
}
return $backendLayout;
}
return $grid->buildBackendLayout(0);
} |
Please just try to change it into this: |
Ok, changed it and worked too. Thank you. |
Hi - I experience this error when creating new pages inside the root page? TYPO3 9.5.7, fluidpages 5.0.0 |
@dkm-bb If possible, try the |
@NamelessCoder I'm experiencing the same error as @dkm-bb, also with the beta version of fluidpages from the development branch. Is there any real fix in sight? |
Switch to dev-development solves the problem for me. Looking forward for next release. :) |
Had the same problem, same solution worked ... dev-branch installed. |
Hi, This bug appears when current page is enabled and its parent is disabled. |
Hi @dextar1, It looks from the error message like you do not have TypoScript |
@NamelessCoder thanks for the quick reply. But templateRootPaths work when this page is disabled or page is enabled but under another enabled page. This error comes when current page is enabled and its parent is disabled. |
I don't think this is fluidpages-related, @dextar1 - I suspect it is by design in TYPO3 that you cannot load (statically included) TS that exists on disabled pages, so the root TS never gets resolved. This is probably different in preview mode but then you have to use the "view" context menu option from the backend to preview the pages. I'm not 100% sure though so you should ask in TYPO3 slack if that's how TS is supposed to work / whether you have any options to change this. |
@dextar1 @NamelessCoder the bug with "template file for controller action "Page->default"" is related to ext:flux. |
Closing the issue since the original problem is solved. |
The following error still occurs when adding a page in backend within the context menu of the page tree (right-click in context menu -> "New").
Configured page layout for subpages (in parent page) is set to "parent decides" in this case. Using flux 9.4.2 with TYPO3 9.5.23 |
Fluidpages is obsolete, Flux 9.4+ contains the necessary functionality, you should uninstall Fluidpages. |
Hi FluidTYPO3 team,
I generated a provider extension with the following command:
typo3cms builder:providerextension --use-vhs --pages --content --controllers
.Then I created a root template (for a new site) where I included "Fluid Content Elements" and the TypoScript of my provider extension.
Everything else I left unchanged, meaning the root paths to templates, partials, and layouts in my provider extension are:
templateRootPaths.0 = EXT:provider/Resources/Private/Templates/
partialRootPaths.0 = EXT:provider/Resources/Private/Partials/
layoutRootPaths.0 = EXT:provider/Resources/Private/Layouts/
When I try to access the page properties of a page, I get the following error
In the frontend, I get the error
My configuration is:
(all these extensions are activated)
When disabling "fluidpages", I can access the page properties and the frontend view also throws no error.
Is there anything I'm missing? Do I need to write more configuration in order to be able to use fluidpages? I already searched the Internet for any hints, but without success.
Any help is appreciated. Please let me know, if I can provide you with more information.
Thanks
Jochen
The text was updated successfully, but these errors were encountered: