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:

168
empty
uri share/twitter/168
empty
empty
wwwvvengelbertnl gk6rcm4i7fea4pmvvmmrgde4f3
USER engelbert_prod
HOME /var/www/vhosts/vvengelbert.nl
SCRIPT_NAME /index.php
REQUEST_URI /share/twitter/168
QUERY_STRING uri=index.php&uri=share/twitter/168
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /share/twitter/168
REDIRECT_QUERY_STRING uri=share/twitter/168
REMOTE_PORT 43466
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.135.209.66
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=gk6rcm4i7fea4pmvvmmrgde4f3
HTTP_REFERER https://vvengelbert.nl/share/twitter/168
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.135.209.66
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/168
SCRIPT_URL /share/twitter/168
UNIQUE_ID Z3KwiyUizVpts-K1X-u-fQAAAAg
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/168
REDIRECT_SCRIPT_URL /share/twitter/168
REDIRECT_UNIQUE_ID Z3KwiyUizVpts-K1X-u-fQAAAAg
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1735569547.9533
REQUEST_TIME 1735569547
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