return false;
}
if ( preg_match( '/^\s*(create|alter|truncate|drop)\s/i', $query ) ) {
$return_val = $this->result;
} elseif ( preg_match( '/^\s*(insert|delete|update|replace)\s/i', $query ) ) {
$this->rows_affected = mysqli_affected_rows( $this->dbh );
// Take note of the insert_id.
if ( preg_match( '/^\s*(insert|replace)\s/i', $query ) ) {
$this->insert_id = mysqli_insert_id( $this->dbh );
}
// Return number of rows affected.
$return_val = $this->rows_affected;
} else {
$num_rows = 0;
if ( $this->result instanceof mysqli_result ) {
while ( $row = mysqli_fetch_object( $this->result ) ) {
$this->last_result[ $num_rows ] = $row;
++$num_rows;
}
}
// Log and return the number of rows selected.
$this->num_rows = $num_rows;
$return_val = $num_rows;
}
return $return_val;
}
/**
* Internal function to perform the mysqli_query() call.
*
* @since 3.9.0
*
* @see wpdb::query()
*
// work on silenced errors.
return false;
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* In certain scenarios, like in shutdown handler, we can not throw exceptions
* @var bool
*/
private $canThrowExceptions = true;
private function resolveHandler($handler)
{
if (is_callable($handler)) {
$handler = new CallbackHandler($handler);
}
| Key | Value |
| wp-wpml_current_language | de |
| Key | Value |
| SERVER_SOFTWARE | nginx/1.27.5 |
| REQUEST_URI | /de/aktuelles/ |
| HOSTNAME | a06fa27de10a |
| PHP_INI_DIR | /usr/local/etc/php |
| HOME | /var/www |
| PHP_LDFLAGS | -Wl,-O1 -pie |
| PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| PHP_VERSION | 8.4.23 |
| WORDPRESS_DB_PASSWORD | ey702lvwv61DqXxKNLsvAL0AbyJyPXpA |
| GPG_KEYS | AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD |
| PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| PHP_ASC_URL | https://www.php.net/distributions/php-8.4.23.tar.xz.asc |
| WORDPRESS_DB_HOST | db:3306 |
| PHP_URL | https://www.php.net/distributions/php-8.4.23.tar.xz |
| WORDPRESS_DB_USER | tourpartnergroup_3876311 |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| WORDPRESS_DB_NAME | tourpartnergroup |
| PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
| PWD | /var/www/html |
| PHP_SHA256 | 1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72 |
| USER | www-data |
| HTTP_X_REAL_IP | 172.71.178.163 |
| HTTP_X_FORWARDED_SERVER | 815e12e2c947 |
| HTTP_X_FORWARDED_PORT | 443 |
| HTTP_CF_VISITOR | {\"scheme\":\"https\"} |
| HTTP_CF_RAY | a1ae68e2ece6a9c0-LHR |
| HTTP_CF_IPCOUNTRY | US |
| HTTP_CF_CONNECTING_IP | 216.73.216.43 |
| HTTP_CDN_LOOP | cloudflare; loops=1 |
| HTTP_ACCEPT_ENCODING | gzip, br |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_HOST | tourpartnergroup.com |
| SCRIPT_FILENAME | /var/www/html/tourpartnergroup/public/index.php |
| HTTPS | on |
| HTTP_X_FORWARDED_FOR | 172.71.178.163, 172.18.0.4 |
| HTTP_X_FORWARDED_HOST | tourpartnergroup.com |
| HTTP_X_FORWARDED_PROTO | https |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | tourpartnergroup.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.18.0.3 |
| REMOTE_PORT | 53386 |
| REMOTE_ADDR | 172.18.0.4 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /var/www/html/tourpartnergroup/public |
| DOCUMENT_URI | /index.php |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1784009902.5976 |
| REQUEST_TIME | 1784009902 |
| argv | Array ( ) |
| argc | 0 |
| Key | Value |
| HOSTNAME | a06fa27de10a |
| PHP_INI_DIR | /usr/local/etc/php |
| HOME | /var/www |
| PHP_LDFLAGS | -Wl,-O1 -pie |
| PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| PHP_VERSION | 8.4.23 |
| WORDPRESS_DB_PASSWORD | ey702lvwv61DqXxKNLsvAL0AbyJyPXpA |
| GPG_KEYS | AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD |
| PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| PHP_ASC_URL | https://www.php.net/distributions/php-8.4.23.tar.xz.asc |
| WORDPRESS_DB_HOST | db:3306 |
| PHP_URL | https://www.php.net/distributions/php-8.4.23.tar.xz |
| WORDPRESS_DB_USER | tourpartnergroup_3876311 |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| WORDPRESS_DB_NAME | tourpartnergroup |
| PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
| PWD | /var/www/html |
| PHP_SHA256 | 1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72 |
| USER | www-data |
| HTTP_X_REAL_IP | 172.71.178.163 |
| HTTP_X_FORWARDED_SERVER | 815e12e2c947 |
| HTTP_X_FORWARDED_PORT | 443 |
| HTTP_CF_VISITOR | {"scheme":"https"} |
| HTTP_CF_RAY | a1ae68e2ece6a9c0-LHR |
| HTTP_CF_IPCOUNTRY | US |
| HTTP_CF_CONNECTING_IP | 216.73.216.43 |
| HTTP_CDN_LOOP | cloudflare; loops=1 |
| HTTP_ACCEPT_ENCODING | gzip, br |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_HOST | tourpartnergroup.com |
| SCRIPT_FILENAME | /var/www/html/tourpartnergroup/public/index.php |
| HTTPS | |
| HTTP_X_FORWARDED_FOR | 172.71.178.163, 172.18.0.4 |
| HTTP_X_FORWARDED_HOST | tourpartnergroup.com |
| HTTP_X_FORWARDED_PROTO | https |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | tourpartnergroup.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.18.0.3 |
| REMOTE_PORT | 53386 |
| REMOTE_ADDR | 172.18.0.4 |
| SERVER_SOFTWARE | nginx/1.27.5 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /var/www/html/tourpartnergroup/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /de/aktuelles/ |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1784009902.5976 |
| REQUEST_TIME | 1784009902 |
| argv | Array ( ) |
| argc | 0 |