after updating from 3.0 to 3.2.7
Getting this error from the contao image selector it appears where the new selection should appear.
Fatal error: Uncaught exception Exception with message No parent entry for / thrown in system/modules/core/library/Contao/Dbafs.php on line 151
#0 system/modules/core/classes/Ajax.php(333): Contao\Dbafs::addResource('/files/images/p...')
#1 system/modules/core/classes/Backend.php(264): Contao\Ajax->executePostActions(Object(Contao\DC_Table))
#2 contao/main.php(136): Contao\Backend->getBackendModule('article')
#3 contao/main.php(287): Main->run()
#4 {main}
it refers to this part of Dbafs
// The parent ID should be in $arrPids
// Do not use isset() here, because the PID can be null
if (array_key_exists($strParent, $arrPids))
{
$strPid = $arrPids[$strParent];
}
else
{
throw new \Exception("No parent entry for $strParent");
}
Any Ideas?
Bookmarks