acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-includes/functions.php on line 6260woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-includes/functions.php on line 6260ErrorException {#1557 #severity: E_WARNING }
* @param string $path * @return bool */ public function isReadable($path) { return is_readable($path); } /** * Determine if the given path is writable. * * @throws \ErrorException */ public function handleError($level, $message, $file = '', $line = 0, $context = []) { try { parent::handleError($level, $message, $file, $line, $context); } catch (Throwable $e) { if (! apply_filters('acorn/throw_error_exception', true, $e)) { return false; } * @param string $path * @return bool */ public function isReadable($path) { return is_readable($path); } /** * Determine if the given path is writable. * */ public function closest($path, $file) { $currentDirectory = $path; while ($this->isReadable($currentDirectory)) { if ($this->isFile($filePath = $currentDirectory.DIRECTORY_SEPARATOR.$file)) { return $filePath; } $parentDirectory = $this->dirname($currentDirectory); /** * Get the environment file path. */ protected function environmentPath(): string { return is_file($envPath = $this->files->closest($this->basePath(), '.env') ?? '') ? dirname($envPath) : $this->basePath(); } /** */ public function getApplication(): ApplicationContract { $this->app ??= new Application($this->basePath(), $this->usePaths()); $this->app->useEnvironmentPath($this->environmentPath()); $this->app->singleton( \Illuminate\Contracts\Http\Kernel::class, \Roots\Acorn\Http\Kernel::class ); /** * @deprecated */ \Roots\add_actions(['after_setup_theme', 'rest_api_init'], function () use ($bootloader) { $app = $bootloader->getApplication(); if ($app->hasBeenBootstrapped()) { return; } // Avoid the array_slice() if possible. if ( 0 === $the_['accepted_args'] ) { $value = call_user_func( $the_['function'] ); } elseif ( $the_['accepted_args'] >= $num_args ) { $value = call_user_func_array( $the_['function'], $args ); } else { $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) ); } } } while ( false !== next( $this->iterations[ $nesting_level ] ) ); * * @param array $args Parameters to pass to the callback functions. */ public function do_action( $args ) { $this->doing_action = true; $this->apply_filters( '', $args ); // If there are recursive calls to the current action, we haven't finished it until we get to the last one. if ( ! $this->nesting_level ) { $this->doing_action = false; } } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) { // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`. $arg[0] = $arg[0][0]; } $wp_filter[ $hook_name ]->do_action( $arg ); array_pop( $wp_current_filter );}/**/** * 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';} define( 'ABSPATH', __DIR__ . '/' );define( 'WP_CACHE', true ); /* SC_WC */}/** Sets up WordPress vars and included files. */require_once ABSPATH . 'wp-settings.php'; * 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';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. * @var bool */define( 'WP_USE_THEMES', true );/** Loads the WordPress Environment and Template */require __DIR__ . '/wp-blog-header.php';|
ErrorException
|
|---|
ErrorException:
is_readable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/var/cpanel/php/sessions/ea-php83:/opt/cpanel/ea-php83/root/usr/share/php:/usr/local/bin/composer:/opt/cloudlinux-site-optimization-module)
at /home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/illuminate/filesystem/Filesystem.php:523
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'is_readable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/var/cpanel/php/sessions/ea-php83:/opt/cpanel/ea-php83/root/usr/share/php:/usr/local/bin/composer:/opt/cloudlinux-site-optimization-module)', '/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/illuminate/filesystem/Filesystem.php', 523, array())
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError(2, 'is_readable(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/var/cpanel/php/sessions/ea-php83:/opt/cpanel/ea-php83/root/usr/share/php:/usr/local/bin/composer:/opt/cloudlinux-site-optimization-module)', '/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/illuminate/filesystem/Filesystem.php', 523)
at is_readable('/')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/illuminate/filesystem/Filesystem.php:523)
at Illuminate\Filesystem\Filesystem->isReadable('/')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/roots/acorn/src/Roots/Acorn/Filesystem/Filesystem.php:32)
at Roots\Acorn\Filesystem\Filesystem->closest('/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main', '.env')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php:383)
at Roots\Acorn\Bootloader->environmentPath()
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php:327)
at Roots\Acorn\Bootloader->getApplication()
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-content/themes/sage-main/vendor/roots/acorn/src/Roots/helpers.php:46)
at Roots\{closure}('')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-includes/class-wp-hook.php:353)
at WP_Hook->apply_filters(null, array(''))
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-includes/class-wp-hook.php:377)
at WP_Hook->do_action(array(''))
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-includes/plugin.php:523)
at do_action('after_setup_theme')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-settings.php:757)
at require_once('/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-settings.php')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-config.php:103)
at require_once('/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-config.php')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-load.php:50)
at require_once('/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-load.php')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-blog-header.php:13)
at require('/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/wp-blog-header.php')
(/home/unyagency/public_html/subdomenii/start-sage.unyagency.com/index.php:17)
|