TYPO3 Exception 1365779762¶
Note
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.
To add your experience, click “Edit on GitHub” above and follow the “Edit on GitHub” workflow. Also check out our tip on Coding Style and reST.
Missing storage page ids¶
This error appears because you set some specific query settings, like
$querySettings->setIgnoreEnableFields(true)
and use generic
TYPO3QuerySettings
. Because this is a generic object, it knows nothing
about the plugin context so, instead of using a generic object, use a
$this->createQuery()->getQuerySettings()
and then the pid set in
FlexForm or in TypoScript will be set.
This generates an error:
public function initializeObject()
{
/** @var \TYPO3\CMS\Extbase\Persistence\Generic\TYPO3QuerySettings $querySettings */
$querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\TYPO3QuerySettings::class);
$querySettings->setIgnoreEnableFields(true);
$querySettings->setEnableFieldsToBeIgnored(['fe_group']);
$this->setDefaultQuerySettings($querySettings);
}
This one is ok:
public function initializeObject()
{
/** @var \TYPO3\CMS\Extbase\Persistence\Generic\TYPO3QuerySettings $querySettings */
$querySettings = $this->createQuery()->getQuerySettings();
$querySettings->setIgnoreEnableFields(true);
$querySettings->setEnableFieldsToBeIgnored(['fe_group']);
$this->setDefaultQuerySettings($querySettings);
}