SiteModified Error with SEARCH and multilingual site

fathead


dbs

hi, for quick help:

first way:
- this code
<?php 
 
if (PAGE_ID 0) {
    echo 
'[[SiteModified]]';} 
    else {echo 
'';} ?>


or other way:
  - module: last update info
- instead droplet sitemodified this code
<?php if(function_exists('get_modified_when')) { get_modified_when();}  ?> 

... from the german-thread https://forum.WebsiteBaker.org/index.php/topic,17018.msg112101.html#msg112101

dbs
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

fathead

I'm running a multilingual Site with WB 2.8, setting up the structure as follow. Then modified it according to this.

Works perfectly. Now with [[SiteModified]] integrated in the footer of the template, expected note is shown, exept in the search results, following error is shown

Error in: SiteModifiedDe, no correct returnvalue.

How could I exclude the */search/index.php from the droplet, directly in the template or in the droplet itself? A question from a PHP Donk.