\ = parse_ini_file("/var/www/tradinghouse/env/.env");
define( 'WP_CACHE', true );
define( "WP_MEMORY_LIMIT", "512M" );
define( "CONCATENATE_SCRIPTS", false );
define( "WP_DISABLE_FATAL_ERROR_HANDLER", true );
define( "WP_MAX_MEMORY_LIMIT", "768M" );
# // By Speed Optimizer by SiteGround
// Added by WP Rocket
// Added by WP Rocket
define( 'AS3CF_SETTINGS', serialize( array(
'provider' => 'aws',
'access-key-id' => 'AKIA4G7EAN3EEQRO3HGW',
'secret-access-key' => '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',
) ) );
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
/** ElasticPress */
define('DISABLE_WP_CRON', true);
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'th_db' );
/** MySQL database username */
define( 'DB_USER', 'th_dba' );
/** MySQL database password */
define( 'DB_PASSWORD', $env['DB_PASSWORD'] );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
*/
require('wp-salt.php');
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', '');
define('FS_CHMOD_DIR', (0775 & ~ umask()));
define('FS_CHMOD_FILE', (0664 & ~ umask()));
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
// define('WP_DEBUG', false);
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', true);
//define('WP_DEBUG_DISPLAY', false);
define( 'WP_REDIS_CONFIG', [
'token' => "e279430effe043b8c17d3f3c751c4c0846bc70c97f0eaaea766b4079001c",
'host' => '127.0.0.1',
'port' => 6379,
'database' => "6923",
'timeout' => 2.5,
'read_timeout' => 2.5,
'split_alloptions' => true,
'async_flush' => true,
'client' => 'phpredis',
'compression' => 'zstd',
'serializer' => 'igbinary',
'prefetch' => true,
'debug' => false,
'save_commands' => false,
'prefix' => DB_NAME,
] );
//define( 'WP_REDIS_DISABLED', true );
define( 'WP_REDIS_DISABLED', false );
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
// WordPress File System Configuration for Plugin Updates
define("FS_METHOD", "direct");
define("WP_TEMP_DIR", ABSPATH . "wp-content/tmp/");
define("DISALLOW_FILE_EDIT", false);
define("WP_AUTO_UPDATE_CORE", true);
define("WP_HTTP_TIMEOUT", 300);
define("WP_HTTP_BLOCK_EXTERNAL", false);
Fatal error: Uncaught Error: Call to undefined function wp() in /var/www/tradinghouse/wp-blog-header.php:16
Stack trace:
#0 /var/www/tradinghouse/index.php(17): require()
#1 {main}
thrown in /var/www/tradinghouse/wp-blog-header.php on line 16