Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Illegal string offset 'tr' Whoops\Exception\ErrorException thrown with message "Illegal string offset 'tr'" Stacktrace: #4 Whoops\Exception\ErrorException in /home/degisimisiteknik/public_html/kat_fonksiyonlar.php:285 #3 Whoops\Run:handleError in /home/degisimisiteknik/public_html/kat_fonksiyonlar.php:285 #2 cok_dilli_kategoriler in /home/degisimisiteknik/public_html/sitemap.php:58 #1 include in /home/degisimisiteknik/public_html/url_functions.php:45 #0 yonlendir_sitemap in /home/degisimisiteknik/public_html/index.php:133
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/degisimisiteknik/public_html/kat_fonksiyonlar.php285
3
Whoops\Run handleError
/home/degisimisiteknik/public_html/kat_fonksiyonlar.php285
2
cok_dilli_kategoriler
/home/degisimisiteknik/public_html/sitemap.php58
1
include
/home/degisimisiteknik/public_html/url_functions.php45
0
yonlendir_sitemap
/home/degisimisiteknik/public_html/index.php133
/home/degisimisiteknik/public_html/kat_fonksiyonlar.php
$children_data              = array();
$children_json_where        = array( "kat_id" => "".$category['kat_id']."" );
$children                   = kat_ust_json_cek($children_json_where);
$category_href              = href_get_cok_dilli ($category['kat_id'],$site);

foreach ($children as $child) {

$children_children_data     = array();
$children_child_json_where  = array( "kat_id" => "".$child['kat_id']."" );
$children_child             = kat_ust_json_cek($children_child_json_where);
$children_data_href         = href_get_cok_dilli ($child['kat_id'],$site);    

foreach ($children_child as $chil) {

$children_children_data_href       = href_get_cok_dilli ($chil['kat_id'],$site);    
$urller[$dil][]                    = ''.$category_href[$dil].'/'.$children_data_href[$dil].'/'.$children_children_data_href[$dil].'' ;
}
$urller[$dil][]                    = ''.$category_href[$dil].'/'.$children_data_href[$dil].'';
}
$urller[$dil][]                    = ''.$category_href[$dil] .'';
}

}

return $urller ;

}

function href_get_g ($category_id,$site,$dil) {
    
global $mysqli ;
global $site ;
global $dil ;
    
$category_href                   = "";    
    
$category_linkler                = on_galeri_kategori_where_cek($wheredata=array("kat_id"=>$category_id),$orderBy="kat_id,asc");
$category_katlink                = $category_linkler["kat_link"]; 
$category_kat_seo                = $category_linkler["kat_seo"]; 
$category_kat_adi                = $category_linkler["kat_adi"]; 
/home/degisimisiteknik/public_html/kat_fonksiyonlar.php
$children_data              = array();
$children_json_where        = array( "kat_id" => "".$category['kat_id']."" );
$children                   = kat_ust_json_cek($children_json_where);
$category_href              = href_get_cok_dilli ($category['kat_id'],$site);

foreach ($children as $child) {

$children_children_data     = array();
$children_child_json_where  = array( "kat_id" => "".$child['kat_id']."" );
$children_child             = kat_ust_json_cek($children_child_json_where);
$children_data_href         = href_get_cok_dilli ($child['kat_id'],$site);    

foreach ($children_child as $chil) {

$children_children_data_href       = href_get_cok_dilli ($chil['kat_id'],$site);    
$urller[$dil][]                    = ''.$category_href[$dil].'/'.$children_data_href[$dil].'/'.$children_children_data_href[$dil].'' ;
}
$urller[$dil][]                    = ''.$category_href[$dil].'/'.$children_data_href[$dil].'';
}
$urller[$dil][]                    = ''.$category_href[$dil] .'';
}

}

return $urller ;

}

function href_get_g ($category_id,$site,$dil) {
    
global $mysqli ;
global $site ;
global $dil ;
    
$category_href                   = "";    
    
$category_linkler                = on_galeri_kategori_where_cek($wheredata=array("kat_id"=>$category_id),$orderBy="kat_id,asc");
$category_katlink                = $category_linkler["kat_link"]; 
$category_kat_seo                = $category_linkler["kat_seo"]; 
$category_kat_adi                = $category_linkler["kat_adi"]; 
/home/degisimisiteknik/public_html/sitemap.php
    
echo'
<loc>'.$ayar_site.''.$sayfa_seo.'</loc>';

}

if($key != $dilnormal ) {    
echo'
<xhtml:link  
rel="alternate" 
hreflang="'.$key.'" 
href="'.$ayar_site.''.$sayfa_seo.'"/>    ';
}    
    
}
echo'
</url>';    
}

$cok_dilli_kategoriler = cok_dilli_kategoriler () ;

echo '
<url>
<loc>'.$ayar_site.'</loc>
<lastmod>'.$date.'</lastmod>
<changefreq>daily</changefreq>
<priority>0.5000</priority>
</url>';

echo '
<url>
<loc>'.$ayar_site.'resources</loc>
<lastmod>'.$date.'</lastmod>
<changefreq>daily</changefreq>
<priority>0.5000</priority>
</url>';
    
echo '
<url>
<loc>'.$ayar_site.'contact</loc>
/home/degisimisiteknik/public_html/url_functions.php
return false;
die();        

}


function yonlendir_sitemap ($config,$dil_kisaltma) {
$dil_sitemap  = $config->get("sitemap") ;

$kat_son                =  array( 

"sayfa_adi"    => "$dil_sitemap" ,
"sayfa_tipi"   => "sitemap" ,
"sayfa_dil"    => $dil_kisaltma ,
"sayfa_seo"    => "sitemap" ,
"sayfa_id"     => "" ,

 );

include('sitemap.php');
return false;
die();    

}


function yonlendir_url ($dil_cek_tumu,$url_son) {
    
global $mysqli ;
    
foreach ($dil_cek_tumu as $dil) {


$kategori_where         = array("".$dil["dil_kisaltma"].""=>"".$url_son."");
$kategori_json          = json_encode($kategori_where, JSON_UNESCAPED_UNICODE);
$kategori_gelen_son     = $mysqli->rawQueryOne ("select * from kategori where kat_durum ='1' and json_contains(kat_seo,'$kategori_json')");


//echo "Last executed query was ". $mysqli->getLastQuery();

/home/degisimisiteknik/public_html/index.php
"ayar_cep"         => $ayar_cep,
"ayar_email"       => $ayar_email,
"ayar_facebook"    => $ayar_facebook,
"ayar_twitter"     => $ayar_twitter,
"ayar_instagram"   => $ayar_instagram,
"ayar_harita"      => $ayar_harita,
"ayar_site"        => $ayar_site,
"ayar_telefon_temiz"     => $ayar_telefon_temiz,
"ayar_cep_temiz"         => $ayar_cep_temiz,

);

yonlendir_iletisim ($config,$dil_kisaltma,$contact_data);
return false;
die();
}


if( $url_son == "sitemap" ){    
yonlendir_sitemap ($config,$dil_kisaltma);
return false;
die();
}
 
if( $url_son == "demo" ){    

    include('anasayfa.php');    
    return false;
    die();    
}
 
$kat_son = yonlendir_url ($dil_cek_tumu,$url_son);

if($kat_son){
 
if(count($kat_son) != 0) {
    
include(''.$kat_son["sayfa_tipi"].'.php');
return false;
die();    

Environment & details:

Key Value
url sitemap
empty
empty
empty
Key Value
jst_dil tr
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TZ Europe/Istanbul
REDIRECT_HANDLER application/x-httpd-ea-php74
REDIRECT_STATUS 200
UNIQUE_ID Zz7U4N233SZXYesyQsOrPwAAAAQ
SCRIPT_URL /sitemap
SCRIPT_URI https://degisimisiteknik.com/sitemap
HTTPS 1
SSL_TLS_SNI degisimisiteknik.com
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_HOST degisimisiteknik.com
HTTP_X_HTTPS 1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME degisimisiteknik.com
SERVER_ADDR 45.10.148.176
SERVER_PORT 443
REMOTE_ADDR 13.58.38.184
DOCUMENT_ROOT /home/degisimisiteknik/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN webmaster@degisimisiteknik.com
SCRIPT_FILENAME /home/degisimisiteknik/public_html/index.php
REMOTE_PORT 38032
REDIRECT_URL /index.php
REDIRECT_QUERY_STRING url=sitemap
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING url=sitemap
REQUEST_URI /sitemap
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php74
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/degisimisiteknik/public_html/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php74
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1732170976.2998
REQUEST_TIME 1732170976
argv Array ( [0] => url=sitemap )
argc 1
empty
0. Whoops\Handler\PrettyPageHandler