Closed opi99 closed 8 months ago
Where do you open the page info for pid=0?
The pageInfo is the object which is tried to be loaded. That's nothing which you open.
Anyway, I see, the core do not call (anymore) the event on pid = 0, so this do not happen there, will adapt this in TV+ then (but IMHO should be fixed here).
Would it be enough to ask at line 142 if isset ($this->pageInfo['doktype']) or are there furthur errors?
Yes, this should be enough
A fix is available. Does it work for you?
Yes, thanks
If you select the Root Page in the PageTree (pid = 0), the pageInfo couldn't be loaded. Which leads to following error:
PHP Warning: Undefined array key "doktype" in /var/www/html/typo3conf/ext/cs_seo/Classes/EventListener/ModifyPageLayoutContentEventListener.php line 142