Hmmm, that's weird.

Type: Undefined variable
Bestand: /var/www/vhosts/vvengelbert.nl/httpdocs/Frontend/Onderdelen/Nieuws/Routes.php
Regelnummer: 27
Melding: Undefined index: titel

Mogelijk nuttige informatie:

188
empty
uri share/twitter/188
empty
empty
wwwvvengelbertnl lldj91l3hgp98tpa7kgv8tf98t
USER engelbert_prod
HOME /var/www/vhosts/vvengelbert.nl
SCRIPT_NAME /index.php
REQUEST_URI /share/twitter/188
QUERY_STRING uri=index.php&uri=share/twitter/188
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /share/twitter/188
REDIRECT_QUERY_STRING uri=share/twitter/188
REMOTE_PORT 58034
SCRIPT_FILENAME /var/www/vhosts/vvengelbert.nl/httpdocs/index.php
SERVER_ADMIN root@localhost
CONTEXT_DOCUMENT_ROOT /var/www/vhosts/vvengelbert.nl/httpdocs
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/vhosts/vvengelbert.nl/httpdocs
REMOTE_ADDR 3.145.52.161
SERVER_PORT 443
SERVER_ADDR 37.97.231.106
SERVER_NAME www.vvengelbert.nl
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE wwwvvengelbertnl=lldj91l3hgp98tpa7kgv8tf98t
HTTP_REFERER https://vvengelbert.nl/share/twitter/188
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_ACCEL_INTERNAL /internal-nginx-static-location
HTTP_X_REAL_IP 3.145.52.161
HTTP_HOST www.vvengelbert.nl
proxy-nokeepalive 1
HTTPS on
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY 0
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY 0
PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
SCRIPT_URI https://www.vvengelbert.nl/share/twitter/188
SCRIPT_URL /share/twitter/188
UNIQUE_ID Z2brtusB-VR-XWhl4bh73QAAAAo
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY 0
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY 0
REDIRECT_PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
REDIRECT_SCRIPT_URI https://www.vvengelbert.nl/share/twitter/188
REDIRECT_SCRIPT_URL /share/twitter/188
REDIRECT_UNIQUE_ID Z2brtusB-VR-XWhl4bh73QAAAAo
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1734798262.7793
REQUEST_TIME 1734798262
17  }
18  
19  $agenda Query::run("SELECT b.*, b.id AS bericht_id, datum FROM berichten_agenda AS a LEFT JOIN `berichten` AS b ON b.`id` = a.bericht_id WHERE publicatie_datum <= NOW()")->fetchAll('assoc');
20  foreach ($agenda as $key => $p) {
21      self::get('agenda/'.Magic::date($p['datum']).'/'.$p['slug'], 'Agenda'$p)->sitemap(true)->alias('nieuws_'.$p['bericht_id']);
22  }
23  
24  self::get('share/twitter/{:id}'function($bericht_id){
25      $bericht Query::on('berichten')->select('titel')->where(['id''='$bericht_id])->first();
26  
27      $message urlencode("'".$bericht['titel']."' ".self::path("nieuws_".$bericht_id)." @KvThrianta");
28      Route::redirect("https://twitter.com/home?status=".$message1);
29  })->alias('twitter')->sitemap(false)->cache(false);
30  
31