ErrorException {#13229 #severity: E_USER_NOTICE }
if ( E_USER_ERROR === $error_level ) { throw new WP_Exception( $message ); } trigger_error( $message, $error_level );}/** * Determines whether the server is running an earlier than 1.5.0 version of lighttpd. * * @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; } if ( E_USER_ERROR === $error_level ) { throw new WP_Exception( $message ); } trigger_error( $message, $error_level );}/** * Determines whether the server is running an earlier than 1.5.0 version of lighttpd. * $message, $version ); } wp_trigger_error( '', $message ); }}/** * Generates a user-level error/warning/notice/deprecation message. if ( ! $path ) { return false; } if ( ! doing_action( 'after_setup_theme' ) && ! did_action( 'after_setup_theme' ) ) { _doing_it_wrong( __FUNCTION__, sprintf( /* translators: 1: The text domain. 2: 'init'. */ __( 'Translation loading for the %1$s 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 %2$s action or later.' ), '<code>' . $domain . '</code>', * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return Translations|NOOP_Translations A Translations instance. */function get_translations_for_domain( $domain ) { global $l10n; if ( isset( $l10n[ $domain ] ) || ( _load_textdomain_just_in_time( $domain ) && isset( $l10n[ $domain ] ) ) ) { return $l10n[ $domain ]; } static $noop_translations = null; if ( null === $noop_translations ) { * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings. * Default 'default'. * @return string Translated text. */function translate( $text, $domain = 'default' ) { $translations = get_translations_for_domain( $domain ); $translation = $translations->translate( $text ); /** * Filters text with its translation. * * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings. * Default 'default'. * @return string Translated text. */function __( $text, $domain = 'default' ) { return translate( $text, $domain );}/** * Retrieves the translation of $text and escapes it for safe use in an attribute. * */ function validate_page( $page ) { // Allow empty arg to generate the default Options Page. if ( empty( $page ) ) { $page_title = __( 'Options', 'acf' ); $page = array( 'page_title' => $page_title, 'menu_title' => $page_title, 'menu_slug' => 'acf-options', ); * @return n/a */ function add_page( $page ) { // validate $page = $this->validate_page( $page ); $slug = $page['menu_slug']; // bail early if already exists if ( isset( $this->pages[ $slug ] ) ) { return false; * @return (array) */if ( ! function_exists( 'acf_add_options_page' ) ) : function acf_add_options_page( $page = '' ) { return acf_options_page()->add_page( $page ); }endif; ] + $config);*/});if (function_exists('acf_add_options_page')) { acf_add_options_page();}add_action('init', function () { remove_post_type_support('post', 'editor excerpt categories'); remove_post_type_support('page', 'editor'); * @param array $args Additional arguments passed to the template. */ do_action( 'wp_before_load_template', $_template_file, $load_once, $args ); if ( $load_once ) { require_once $_template_file; } else { require $_template_file; } /** break; } } if ( $load && '' !== $located ) { load_template( $located, $load_once, $args ); } return $located;}|*/collect(['helper-classes', 'setup', 'filters', 'action']) ->each(function ($file) { if (!locate_template($file = "app/{$file}.php", true, true)) { wp_die( /* translators: %s is replaced with the relative file path */ sprintf(__('Error locating <code>%s</code> for inclusion.', 'sage'), $file) ); } * @return $this */ public function each(callable $callback) { foreach ($this as $key => $item) { if ($callback($item, $key) === false) { break; } } return $this;| is registered alongside Sage.|*/collect(['helper-classes', 'setup', 'filters', 'action']) ->each(function ($file) { if (!locate_template($file = "app/{$file}.php", true, true)) { wp_die( /* translators: %s is replaced with the relative file path */ sprintf(__('Error locating <code>%s</code> for inclusion.', 'sage'), $file) ); $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 );/**if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', __DIR__ . '/' );}/** 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:
Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>acf</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)
at /var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/functions.php:6121
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(1024, 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>acf</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)', '/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/functions.php', 6121, array())
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError(1024, 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>acf</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)', '/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/functions.php', 6121)
at trigger_error('Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>acf</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)', 1024)
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/functions.php:6121)
at wp_trigger_error('', 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>acf</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/functions.php:6061)
at _doing_it_wrong('_load_textdomain_just_in_time', 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>acf</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.)', '(This message was added in version 6.7.0.)')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/l10n.php:1371)
at _load_textdomain_just_in_time('acf')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/l10n.php:1409)
at get_translations_for_domain('acf')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/l10n.php:195)
at translate('Options', 'acf')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/l10n.php:307)
at __('Options', 'acf')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/plugins/advanced-custom-fields-pro/pro/options-page.php:43)
at acf_options_page->validate_page('')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/plugins/advanced-custom-fields-pro/pro/options-page.php:127)
at acf_options_page->add_page('')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/plugins/advanced-custom-fields-pro/pro/options-page.php:285)
at acf_add_options_page()
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/app/setup.php:183)
at require_once('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/app/setup.php')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/template.php:810)
at load_template('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/app/setup.php', true, array())
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-includes/template.php:745)
at locate_template('app/setup.php', true, true)
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/functions.php:59)
at {closure}('app/setup.php', 1)
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/vendor/illuminate/collections/Traits/EnumeratesValues.php:235)
at Illuminate\Support\Collection->each(object(Closure))
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/functions.php:58)
at include('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-content/themes/vital/functions.php')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-settings.php:695)
at require_once('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-settings.php')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-config.php:105)
at require_once('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-config.php')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-load.php:50)
at require_once('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-load.php')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-blog-header.php:13)
at require('/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/wp-blog-header.php')
(/var/www/92f9cd2e-cc1a-46f2-ba5f-af76c89bd402/public_html/index.php:17)
|