// Exit if accessed directly
if (!defined('ABSPATH')) exit;
// Include the local configuration file
require_once( dirname( __FILE__ ) . '/../local-config.php' );
/*
* Bootstrap WordPress
*/
if (!defined('ABSPATH')) {
define('ABSPATH', dirname(__FILE__) . '/pddm/');
}
require_once(ABSPATH . 'wp-settings.php');
// Define WP_DEBUG constants conditionally to avoid overwriting
if (!defined('WP_DEBUG')) {
define('WP_DEBUG', false);
}
if (!defined('WP_DEBUG_LOG')) {
define('WP_DEBUG_LOG', false);
}
if (!defined('WP_DEBUG_DISPLAY')) {
define('WP_DEBUG_DISPLAY', false); // Keep this false to avoid showing errors on the frontend
}
Fatal error: Uncaught Error: Call to undefined function wp() in /var/www/deb-test/public/pddm/wp-blog-header.php:16
Stack trace:
#0 /var/www/deb-test/public/index.php(14): require()
#1 {main}
thrown in /var/www/deb-test/public/pddm/wp-blog-header.php on line 16