Whoops \ Exception \ ErrorException
(E_NOTICE)
Stack frames (2)
1
Whoops
\Exception
\ErrorException
…
/editmysinglecard.php
1292
0
Whoops
\Run
handleError
…
/editmysinglecard.php
1292
/
home
/mtgscgte
/public_html
/editmysinglecard.php
$effectsHeaderHtml = count($_eff)
? "<span class='header-effects' style='display:inline-flex;align-items:center;gap:6px;margin-right:10px;'>".implode('', $_eff)."</span>"
: "";
// check if non-foil or foil exists
if($getcardinfo["nonfoil"] == 1) {$checknonfoil = TRUE;} else {$checknonfoil = FALSE; }
if($getcardinfo["foil"] == 1) {$checkfoil = TRUE;} else {$checkfoil = FALSE;}
if(mysqli_num_rows($getcardinfoQUERY) == 0) { redirect_to(App::url());}
// Rarity & Edition Image
if($getcardinfo['rarity'] == "C") { $rarity = "common"; } elseif($getcardinfo['rarity'] == "U") { $rarity = "uncommon"; } elseif($getcardinfo['rarity'] == "R") { $rarity = "rare"; } elseif($getcardinfo['rarity'] == "M") { $rarity = "mythic"; } // implementieren von Filter für R, UC, C, M
$editioncimg2 = strtolower($getcardinfo['editionc']);
$rarityimg = strtoupper(substr($getcardinfo['rarity'], 0, 1));
$editioncimg = strtoupper($getcardinfo['editionc']);
if(!in_array($editioncimg2, $setsWithImages)) {
$editionicon = '<a href="https://www.mtgstand.com/'.preg_replace("/[^a-zA-Z0-9-]/", "", str_replace(" ","-",$getcardinfo["edition"])).'-set-singles-'.strtoupper($editioncimg2).'-worldwide-0" style=""><i class="ss ss-'.$editioncimg2.' ss-'.$rarity.' ss-grad ss-3x"></i></a>'; } else {
$editionicon = '<a href="https://www.mtgstand.com/'.preg_replace("/[^a-zA-Z0-9-]/", "", str_replace(" ","-",$getcardinfo["edition"])).'-set-singles-'.strtoupper($editioncimg2).'-worldwide-0"><img src="images/sets/'.$editioncimg.'/'.$rarityimg.'.svg" style="max-height: 50px; min-width:44px; max-width:100px;"></a>'; }
// GET TOTAL SALES OF THAT CARD
$totalsalesSQL = "SELECT COUNT(id) AS totalsales FROM shoppingcart WHERE cardscryfallid = '".$sid."' AND send = 1";
$totalsalesQUERY = mysqli_query($conn, $totalsalesSQL);
$totalsalesRESULT = mysqli_fetch_array($totalsalesQUERY);
if($getcardinfo["format"] == "sealed") {
if( $getcardinfo["cardname"] == $getcardinfo["mana_cost"]) {
echo $getcardinfo["cardname"]." - ".$getcardinfo["edition"]." ";
} else {
echo $getcardinfo["cardname"]." (". $getcardinfo["mana_cost"].") - ".$getcardinfo["edition"]." ";
}
} else {
echo $getcardinfo["cardname"]." - ".$getcardinfo["edition"]." ";
}
echo "<div style='float:right; background-color:#FFFFFF; z-index:9; display:flex; align-items:center; gap:6px;'>"
. $effectsHeaderHtml
/
home
/mtgscgte
/public_html
/editmysinglecard.php
$effectsHeaderHtml = count($_eff)
? "<span class='header-effects' style='display:inline-flex;align-items:center;gap:6px;margin-right:10px;'>".implode('', $_eff)."</span>"
: "";
// check if non-foil or foil exists
if($getcardinfo["nonfoil"] == 1) {$checknonfoil = TRUE;} else {$checknonfoil = FALSE; }
if($getcardinfo["foil"] == 1) {$checkfoil = TRUE;} else {$checkfoil = FALSE;}
if(mysqli_num_rows($getcardinfoQUERY) == 0) { redirect_to(App::url());}
// Rarity & Edition Image
if($getcardinfo['rarity'] == "C") { $rarity = "common"; } elseif($getcardinfo['rarity'] == "U") { $rarity = "uncommon"; } elseif($getcardinfo['rarity'] == "R") { $rarity = "rare"; } elseif($getcardinfo['rarity'] == "M") { $rarity = "mythic"; } // implementieren von Filter für R, UC, C, M
$editioncimg2 = strtolower($getcardinfo['editionc']);
$rarityimg = strtoupper(substr($getcardinfo['rarity'], 0, 1));
$editioncimg = strtoupper($getcardinfo['editionc']);
if(!in_array($editioncimg2, $setsWithImages)) {
$editionicon = '<a href="https://www.mtgstand.com/'.preg_replace("/[^a-zA-Z0-9-]/", "", str_replace(" ","-",$getcardinfo["edition"])).'-set-singles-'.strtoupper($editioncimg2).'-worldwide-0" style=""><i class="ss ss-'.$editioncimg2.' ss-'.$rarity.' ss-grad ss-3x"></i></a>'; } else {
$editionicon = '<a href="https://www.mtgstand.com/'.preg_replace("/[^a-zA-Z0-9-]/", "", str_replace(" ","-",$getcardinfo["edition"])).'-set-singles-'.strtoupper($editioncimg2).'-worldwide-0"><img src="images/sets/'.$editioncimg.'/'.$rarityimg.'.svg" style="max-height: 50px; min-width:44px; max-width:100px;"></a>'; }
// GET TOTAL SALES OF THAT CARD
$totalsalesSQL = "SELECT COUNT(id) AS totalsales FROM shoppingcart WHERE cardscryfallid = '".$sid."' AND send = 1";
$totalsalesQUERY = mysqli_query($conn, $totalsalesSQL);
$totalsalesRESULT = mysqli_fetch_array($totalsalesQUERY);
if($getcardinfo["format"] == "sealed") {
if( $getcardinfo["cardname"] == $getcardinfo["mana_cost"]) {
echo $getcardinfo["cardname"]." - ".$getcardinfo["edition"]." ";
} else {
echo $getcardinfo["cardname"]." (". $getcardinfo["mana_cost"].") - ".$getcardinfo["edition"]." ";
}
} else {
echo $getcardinfo["cardname"]." - ".$getcardinfo["edition"]." ";
}
echo "<div style='float:right; background-color:#FFFFFF; z-index:9; display:flex; align-items:center; gap:6px;'>"
. $effectsHeaderHtml
Environment & details:
| Key | Value |
| sid | abb19b6b-4142-4b93-85ca-3f2d8b23b4e1 |
empty
empty
| Key | Value |
| easylogin_session | a6n6thvsv0l7p7uim6mb7l6hj5 |
| Key | Value |
| _token | 33237a36abda4727fbc58b688f923f2b |
| Key | Value |
| PATH | /usr/local/bin:/bin:/usr/bin |
| DOCUMENT_ROOT | /home/mtgscgte/public_html |
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_COOKIE | easylogin_session=a6n6thvsv0l7p7uim6mb7l6hj5 |
| HTTP_HOST | www.mtgstand.com |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| REMOTE_ADDR | 216.73.217.65 |
| REMOTE_PORT | 62548 |
| SERVER_ADDR | 10.123.1.8 |
| SERVER_NAME | www.mtgstand.com |
| SERVER_ADMIN | mtgscgte@mtgstand.com |
| SERVER_PORT | 443 |
| REQUEST_SCHEME | https |
| REQUEST_URI | /Avalanche-Riders-Time-Spiral-Timeshifted-sid-abb19b6b-4142-4b93-85ca-3f2d8b23b4e1 |
| REDIRECT_URL | /Avalanche-Riders-Time-Spiral-Timeshifted-sid-abb19b6b-4142-4b93-85ca-3f2d8b23b4e1 |
| REDIRECT_REQUEST_METHOD | GET |
| HTTPS | on |
| CRAWLER_USLEEP | 1000 |
| CRAWLER_LOAD_LIMIT | 5.2 |
| noconntimeout | 1 |
| REDIRECT_STATUS | 200 |
| X_SPDY | HTTP2 |
| SSL_PROTOCOL | TLSv1.3 |
| SSL_CIPHER | TLS_AES_256_GCM_SHA384 |
| SSL_CIPHER_USEKEYSIZE | 256 |
| SSL_CIPHER_ALGKEYSIZE | 256 |
| SCRIPT_FILENAME | /home/mtgscgte/public_html/editmysinglecard.php |
| QUERY_STRING | sid=abb19b6b-4142-4b93-85ca-3f2d8b23b4e1 |
| SCRIPT_URI | https://www.mtgstand.com/Avalanche-Riders-Time-Spiral-Timeshifted-sid-abb19b6b-4142-4b93-85ca-3f2d8b23b4e1 |
| SCRIPT_URL | /Avalanche-Riders-Time-Spiral-Timeshifted-sid-abb19b6b-4142-4b93-85ca-3f2d8b23b4e1 |
| SCRIPT_NAME | /editmysinglecard.php |
| SERVER_PROTOCOL | HTTP/1.1 |
| SERVER_SOFTWARE | LiteSpeed |
| REQUEST_METHOD | GET |
| X-LSCACHE | on,crawler |
| PHP_SELF | /editmysinglecard.php |
| REQUEST_TIME_FLOAT | 1794591329.5777 |
| REQUEST_TIME | 1794591329 |
| Key | Value |
| PATH | /usr/local/bin:/bin:/usr/bin |
| DOCUMENT_ROOT | /home/mtgscgte/public_html |
0. Whoops\Handler\PrettyPageHandler
