return self::$loader;
}
require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInita9d23f89bea7896e7774779e787a4328', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInita9d23f89bea7896e7774779e787a4328', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInita9d23f89bea7896e7774779e787a4328::getInitializer($loader));
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInita9d23f89bea7896e7774779e787a4328::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
}, null, null);
foreach ($filesToLoad as $fileIdentifier => $file) {
$requireFile($fileIdentifier, $file);
}
return $loader;
}
}
"Failed opening required '/var/www/public/content/themes/probots-v4/vendor/composer/../phpstan/phpstan/bootstrap.php' (include_path='.:/usr/local/lib/php')"
spl_autoload_register(array('ComposerAutoloaderInita9d23f89bea7896e7774779e787a4328', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInita9d23f89bea7896e7774779e787a4328', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInita9d23f89bea7896e7774779e787a4328::getInitializer($loader));
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInita9d23f89bea7896e7774779e787a4328::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
}, null, null);
foreach ($filesToLoad as $fileIdentifier => $file) {
$requireFile($fileIdentifier, $file);
}
return $loader;
}
}
"9b38cf48e83f5d8f60375221cd213eee"
"/var/www/public/content/themes/probots-v4/vendor/composer/../phpstan/phpstan/bootstrap.php"
// autoload.php @generated by Composer
if (PHP_VERSION_ID < 50600) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
throw new RuntimeException($err);
}
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInita9d23f89bea7896e7774779e787a4328::getLoader();
<?php
use Probots\Acf\Common\Context;
use Probots\Acf\Setup as Acf;
use Probots\Ai\Setup as Ai;
use Probots\Blocks\Setup as Blocks;
use Probots\MultiLang\Setup as MultiLang;
use Probots\Seo\Package as Seo;
use Probots\Social\Package as Social;
use Theme\Acf\OptionsPages\SiteMainOptions;
use Theme\Api\Setup as ApiSetup;
$autoloaderFile = sprintf('%s/vendor/autoload.php', dirname(__FILE__));
if (!file_exists($autoloaderFile)) {
echo 'Please run composer install';
return;
}
include($autoloaderFile);
$themeConfig = require __DIR__ . '/includes/config.php';
$seoPostTypes = ['page', 'job', 'project', 'service', 'landing_page'];
try {
Probots\Theme\Setup::load()
->files(['includes/filters', 'includes/classes', 'includes/helpers', 'includes/fields', 'includes/seo'])
->configure($themeConfig)
->packages([
Acf::load()->configure([
'options_pages' => [
'site-options' => [
'name' => 'Options',
'redirect' => true,
],
SiteMainOptions::class,
],
]),
Ai::load()->configure([
'block_context' => false,
"/var/www/public/content/themes/probots-v4/vendor/autoload.php"
$GLOBALS['wp_locale'] = new WP_Locale();
/**
* WordPress Locale Switcher object for switching locales.
*
* @since 4.7.0
*
* @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
*/
$GLOBALS['wp_locale_switcher'] = new WP_Locale_Switcher();
$GLOBALS['wp_locale_switcher']->init();
// Load the functions for the active theme, for both parent and child theme if applicable.
foreach ( wp_get_active_and_valid_themes() as $theme ) {
$wp_theme = wp_get_theme( basename( $theme ) );
$wp_theme->load_textdomain();
if ( file_exists( $theme . '/functions.php' ) ) {
include $theme . '/functions.php';
}
}
unset( $theme, $wp_theme );
/**
* Fires after the theme is loaded.
*
* @since 3.0.0
*/
do_action( 'after_setup_theme' );
// Create an instance of WP_Site_Health so that Cron events may fire.
if ( ! class_exists( 'WP_Site_Health' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}
WP_Site_Health::get_instance();
// Set up current user.
$GLOBALS['wp']->init();
"/var/www/public/content/themes/probots-v4/functions.php"
<?php
use Probots\Config\Helpers\Constants;
use Probots\Config\Setup;
use Spatie\WordPressRay\Ray;
include(sprintf('%s/vendor/autoload.php', __DIR__));
$setup = new Setup(__DIR__);
$setup->run();
$table_prefix = Constants::get('DB_TABLE_PREFIX');
/***************************/
/********* ROCK ON *********/
/***************************/
require_once(ABSPATH . 'wp-settings.php');
"/var/www/public/wp/wp-settings.php"
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
}
/*
* If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php
* doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit
* of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a)
* and /blog/ is WordPress(b).
*
* If neither set of conditions is true, initiate loading the setup process.
*/
if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
/** The config file resides in ABSPATH */
require_once ABSPATH . 'wp-config.php';
} elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
/** The config file resides one level above ABSPATH but is not part of another installation */
require_once dirname( ABSPATH ) . '/wp-config.php';
} else {
// A config file doesn't exist.
define( 'WPINC', 'wp-includes' );
require_once ABSPATH . WPINC . '/version.php';
require_once ABSPATH . WPINC . '/compat.php';
require_once ABSPATH . WPINC . '/load.php';
// Check for the required PHP version and for the MySQL extension or a database drop-in.
wp_check_php_mysql_versions();
// Standardize $_SERVER variables across setups.
wp_fix_server_vars();
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
require_once ABSPATH . WPINC . '/functions.php';
$path = wp_guess_url() . '/wp-admin/setup-config.php';
"/var/www/public/wp-config.php"
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
"/var/www/public/wp/wp-load.php"
<?php
const WP_USE_THEMES = true;
$blogHeaderFile = __DIR__ . '/wp/wp-blog-header.php';
if(!file_exists($blogHeaderFile)) {
die('Wordpress is not installed yet. Run `wp install` locally to install Wordpress in the container.');
}
/** Loads the WordPress Environment and Template */
require($blogHeaderFile);
"/var/www/public/wp/wp-blog-header.php"
| Key | Value |
| PHPSESSID | "52ea8cdc7caecc747af11f0a8e80763a"
|
| Key | Value |
| SERVER_SOFTWARE | "nginx/1.26.3"
|
| REQUEST_URI | "/"
|
| VIRTUAL_HOST | "v4.stage.probots.dev"
|
| WP_IMAGE_VERSION | "4.0.0"
|
| WWW_REDIRECT | "nowww"
|
| HOSTNAME | "eb7c7ce6583b"
|
| DEBUG | "true"
|
| PHP_INI_DIR | "/usr/local/etc/php"
|
| HOME | "/home/www"
|
| ENVIRONMENT | "staging"
|
| DB_NAME | "probots-v4"
|
| NETWORK | "probots"
|
| PHP_LDFLAGS | "-Wl,-O1 -pie"
|
| PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
| PORT_DEV | "6899"
|
| PHP_VERSION | "8.5.4"
|
| OPCACHE_MEMORY_CONSUMPTION | "192"
|
| GPG_KEYS | "1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5"
|
| 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.5.4.tar.xz.asc"
|
| PHP_URL | "https://www.php.net/distributions/php-8.5.4.tar.xz"
|
| PUBLIC_DIR | "/var/www/public"
|
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
| YARN_CACHE_FOLDER | "/var/www/.cache/yarn"
|
| WPMDB_LICENCE | "042e6379-53de-4068-973d-18da4fa8e336"
|
| CDN_URL | "https://v4.stage.probots.dev/media"
|
| DEBIAN_FRONTEND | "noninteractive"
|
| THEME_NAME | "probots-v4"
|
| DB_PASSWORD | "xgTvAFkEMh2pumPRxutsTH"
|
| LETSENCRYPT_HOST | "v4.stage.probots.dev"
|
| PHPIZE_DEPS | "autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
|
| PWD | "/var/www"
|
| PORT_WP | "6895"
|
| PHP_SHA256 | "c1569f1f543f6b025c583cdc0e730e5c5833c603618613f1aa8e75d1524b8c91"
|
| DB_HOST | "host.db.docker.internal"
|
| OPCACHE_MAX_WASTED_PERCENTAGE | "10"
|
| DB_USER | "staging"
|
| OPCACHE_MAX_ACCELERATED_FILES | "10000"
|
| OPCACHE_VALIDATE_TIMESTAMPS | "1"
|
| LC_CTYPE | "C.UTF-8"
|
| SUPERVISOR_ENABLED | "1"
|
| SUPERVISOR_SERVER_URL | "unix:///var/run/supervisor.sock"
|
| SUPERVISOR_PROCESS_NAME | "php8-fpm"
|
| SUPERVISOR_GROUP_NAME | "worker"
|
| USER | "www"
|
| HTTP_COOKIE | "PHPSESSID=52ea8cdc7caecc747af11f0a8e80763a"
|
| 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_X_ORIGINAL_URI | "/"
|
| HTTP_X_FORWARDED_PORT | "443"
|
| HTTP_X_FORWARDED_SSL | "on"
|
| HTTP_X_FORWARDED_HOST | "v4.stage.probots.dev"
|
| HTTP_X_FORWARDED_FOR | "216.73.216.203"
|
| HTTP_X_REAL_IP | "216.73.216.203"
|
| HTTP_HOST | "v4.stage.probots.dev"
|
| HTTP_X_FORWARDED_PROTO | "https"
|
| HTTPS | "on"
|
| PATH_INFO | "" |
| SCRIPT_FILENAME | "/var/www/public/index.php"
|
| REDIRECT_STATUS | "200"
|
| SERVER_NAME | "v4.stage.probots.dev"
|
| SERVER_PORT | "80"
|
| SERVER_ADDR | "172.18.0.33"
|
| REMOTE_USER | "" |
| REMOTE_PORT | "55508"
|
| REMOTE_ADDR | "172.18.0.2"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| REQUEST_SCHEME | "http"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| DOCUMENT_ROOT | "/var/www/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 | 1778857896.5703
|
| REQUEST_TIME | 1778857896
|
| Key | Value |
| VIRTUAL_HOST | "v4.stage.probots.dev"
|
| WP_IMAGE_VERSION | "4.0.0"
|
| WWW_REDIRECT | "nowww"
|
| HOSTNAME | "eb7c7ce6583b"
|
| DEBUG | "true"
|
| PHP_INI_DIR | "/usr/local/etc/php"
|
| HOME | "/home/www"
|
| ENVIRONMENT | "staging"
|
| DB_NAME | "probots-v4"
|
| NETWORK | "probots"
|
| PHP_LDFLAGS | "-Wl,-O1 -pie"
|
| PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
| PORT_DEV | "6899"
|
| PHP_VERSION | "8.5.4"
|
| OPCACHE_MEMORY_CONSUMPTION | "192"
|
| GPG_KEYS | "1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5"
|
| 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.5.4.tar.xz.asc"
|
| PHP_URL | "https://www.php.net/distributions/php-8.5.4.tar.xz"
|
| PUBLIC_DIR | "/var/www/public"
|
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
| YARN_CACHE_FOLDER | "/var/www/.cache/yarn"
|
| WPMDB_LICENCE | "042e6379-53de-4068-973d-18da4fa8e336"
|
| CDN_URL | "https://v4.stage.probots.dev/media"
|
| DEBIAN_FRONTEND | "noninteractive"
|
| THEME_NAME | "probots-v4"
|
| DB_PASSWORD | "xgTvAFkEMh2pumPRxutsTH"
|
| LETSENCRYPT_HOST | "v4.stage.probots.dev"
|
| PHPIZE_DEPS | "autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
|
| PWD | "/var/www"
|
| PORT_WP | "6895"
|
| PHP_SHA256 | "c1569f1f543f6b025c583cdc0e730e5c5833c603618613f1aa8e75d1524b8c91"
|
| DB_HOST | "host.db.docker.internal"
|
| OPCACHE_MAX_WASTED_PERCENTAGE | "10"
|
| DB_USER | "staging"
|
| OPCACHE_MAX_ACCELERATED_FILES | "10000"
|
| OPCACHE_VALIDATE_TIMESTAMPS | "1"
|
| LC_CTYPE | "C.UTF-8"
|
| SUPERVISOR_ENABLED | "1"
|
| SUPERVISOR_SERVER_URL | "unix:///var/run/supervisor.sock"
|
| SUPERVISOR_PROCESS_NAME | "php8-fpm"
|
| SUPERVISOR_GROUP_NAME | "worker"
|
| USER | "www"
|
| HTTP_COOKIE | "PHPSESSID=52ea8cdc7caecc747af11f0a8e80763a"
|
| 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_X_ORIGINAL_URI | "/"
|
| HTTP_X_FORWARDED_PORT | "443"
|
| HTTP_X_FORWARDED_SSL | "on"
|
| HTTP_X_FORWARDED_HOST | "v4.stage.probots.dev"
|
| HTTP_X_FORWARDED_FOR | "216.73.216.203"
|
| HTTP_X_REAL_IP | "216.73.216.203"
|
| HTTP_HOST | "v4.stage.probots.dev"
|
| HTTP_X_FORWARDED_PROTO | "https"
|
| HTTPS | "on"
|
| PATH_INFO | "" |
| SCRIPT_FILENAME | "/var/www/public/index.php"
|
| REDIRECT_STATUS | "200"
|
| SERVER_NAME | "_"
|
| SERVER_PORT | "80"
|
| SERVER_ADDR | "172.18.0.33"
|
| REMOTE_USER | "" |
| REMOTE_PORT | "55508"
|
| REMOTE_ADDR | "172.18.0.2"
|
| SERVER_SOFTWARE | "nginx/1.26.3"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| REQUEST_SCHEME | "http"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| DOCUMENT_ROOT | "/var/www/public"
|
| DOCUMENT_URI | "/index.php"
|
| REQUEST_URI | "/"
|
| SCRIPT_NAME | "/index.php"
|
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "" |
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1778857896.5703
|
| REQUEST_TIME | 1778857896
|