Closed fschoelzel closed 2 months ago
@beatrycze-volk
$doc->cPid = max((int) $this->settings['storagePid'], 0);
settings
array and storagePid
key@beatrycze-volk Did you found a solution? This PR #1334 did'nt fix my Problem.
For me it works now.
@beatrycze-volk Did you found a solution? This PR #1334 did'nt fix my Problem.
Yes, for me it has fixed the problem. I can now display the document page. Have you cleaned cache? Maybe restart your ddev.
Description
-- This Issue might be in the wrong Extension --
The
settings
array of theSlub/Dfgviewer/Controller/UriController
is empty. So$doc->cPid
is set tonull
instead of0
if thestoragePid
is empty. (in this case the whole array is) Without the cast to (int) it throws an error.Reproduction
Screenshots and Examples
Environment
Additional Context
occurred after merging this PR:
1324