( ! ) Notice: 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.) in /var/www/clients/client2/web57/web/wp-includes/functions.php on line 6260
Call Stack
#TimeMemoryFunctionLocation
10.0002357144{main}( ).../index.php:0
20.0002357504require( '/var/www/clients/client2/web57/web/wp-blog-header.php ).../index.php:17
30.0003357920require_once( '/var/www/clients/client2/web57/web/wp-load.php ).../wp-blog-header.php:13
40.0003358736require_once( '/var/www/clients/client2/web57/web/wp-config.php ).../wp-load.php:50
50.0004360376require_once( '/var/www/clients/client2/web57/web/wp-settings.php ).../wp-config.php:108
60.02852156456include_once( '/var/www/clients/client2/web57/web/wp-content/plugins/advanced-custom-fields-pro/acf.php ).../wp-settings.php:597
70.03822035968acf( ).../acf.php:815
80.03822036128ACF->initialize( ).../acf.php:809
90.03842038824__( $text = 'Advanced Custom Fields', $domain = 'acf' ).../acf.php:116
100.03842038824translate( $text = 'Advanced Custom Fields', $domain = 'acf' ).../l10n.php:307
110.03842038824get_translations_for_domain( $domain = 'acf' ).../l10n.php:195
120.03842038824_load_textdomain_just_in_time( $domain = 'acf' ).../l10n.php:1483
130.04322063864_doing_it_wrong( $function_name = '_load_textdomain_just_in_time', $message = '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.', $version = '6.7.0' ).../l10n.php:1453
140.04332065208wp_trigger_error( $function_name = '', $message = '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.)', $error_level = ??? ).../functions.php:6174
150.04442066696trigger_error( $message = '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.)', $error_level = 1024 ).../functions.php:6260
Cannot modify header information - headers already sent by (output started at /var/www/clients/client2/web57/web/wp-includes/functions.php:6260) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /var/www/clients/client2/web57/web/wp-includes/functions.php:6260)

Exception

ErrorException

Show exception properties
ErrorException {#2108
  #severity: E_WARNING
}
  1.          * @param int          $status        Status code to use.
  2.          * @param string       $location      The path to redirect to.
  3.          */
  4.         $x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
  5.         if ( is_string( $x_redirect_by ) ) {
  6.             header( "X-Redirect-By: $x_redirect_by" );
  7.         }
  8.         header( "Location: $location", true, $status );
  9.         return true;
  1.      * @throws \ErrorException
  2.      */
  3.     public function handleError($level, $message, $file = '', $line = 0, $context = [])
  4.     {
  5.         try {
  6.             parent::handleError($level, $message, $file, $line, $context);
  7.         } catch (Throwable $e) {
  8.             if (! apply_filters('acorn/throw_error_exception', true, $e)) {
  9.                 return false;
  10.             }
HandleExceptions->handleError()
  1.          * @param int          $status        Status code to use.
  2.          * @param string       $location      The path to redirect to.
  3.          */
  4.         $x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
  5.         if ( is_string( $x_redirect_by ) ) {
  6.             header( "X-Redirect-By: $x_redirect_by" );
  7.         }
  8.         header( "Location: $location", true, $status );
  9.         return true;
  1.     }
  2.     if ( $do_redirect ) {
  3.         // Protect against chained redirects.
  4.         if ( ! redirect_canonical( $redirect_url, false ) ) {
  5.             wp_redirect( $redirect_url, 301 );
  6.             exit;
  7.         } else {
  8.             // Debug.
  9.             // die("1: $redirect_url<br />2: " . redirect_canonical( $redirect_url, false ) );
  10.             return null;
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( 0 === $the_['accepted_args'] ) {
  3.                     $value = call_user_func( $the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value = call_user_func_array( $the_['function'], $args );
  6.                 } else {
  7.                     $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next( $this->iterations[ $nesting_level ] ) );
  1.      *
  2.      * @param array $args Parameters to pass to the callback functions.
  3.      */
  4.     public function do_action( $args ) {
  5.         $this->doing_action = true;
  6.         $this->apply_filters( '', $args );
  7.         // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8.         if ( ! $this->nesting_level ) {
  9.             $this->doing_action = false;
  10.         }
  1.     } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
  2.         // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3.         $arg[0] = $arg[0][0];
  4.     }
  5.     $wp_filter[ $hook_name ]->do_action( $arg );
  6.     array_pop( $wp_current_filter );
  7. }
  8. /**
  1.      * the path to the new template you want to use. This will allow an alternative template to be used
  2.      * without interfering with the WordPress loading process.
  3.      *
  4.      * @since 1.5.0
  5.      */
  6.     do_action( 'template_redirect' );
  7. }
  8. /**
  9.  * Filters whether to allow 'HEAD' requests to generate content.
  10.  *
require_once('/var/www/clients/client2/web57/web/wp-includes/template-loader.php') in /var/www/clients/client2/web57/web/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH . WPINC . '/template-loader.php';
  5. }
require('/var/www/clients/client2/web57/web/wp-blog-header.php') in /var/www/clients/client2/web57/web/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define( 'WP_USE_THEMES', true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ . '/wp-blog-header.php';

Stack Trace

ErrorException
ErrorException:
Cannot modify header information - headers already sent by (output started at /var/www/clients/client2/web57/web/wp-includes/functions.php:6260)

  at /var/www/clients/client2/web57/web/wp-includes/pluggable.php:1539
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/var/www/clients/client2/web57/web/wp-content/themes/nakel/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
  at header()
     (/var/www/clients/client2/web57/web/wp-includes/pluggable.php:1539)
  at wp_redirect()
     (/var/www/clients/client2/web57/web/wp-includes/canonical.php:840)
  at redirect_canonical()
     (/var/www/clients/client2/web57/web/wp-includes/class-wp-hook.php:353)
  at WP_Hook->apply_filters()
     (/var/www/clients/client2/web57/web/wp-includes/class-wp-hook.php:377)
  at WP_Hook->do_action()
     (/var/www/clients/client2/web57/web/wp-includes/plugin.php:523)
  at do_action()
     (/var/www/clients/client2/web57/web/wp-includes/template-loader.php:23)
  at require_once('/var/www/clients/client2/web57/web/wp-includes/template-loader.php')
     (/var/www/clients/client2/web57/web/wp-blog-header.php:19)
  at require('/var/www/clients/client2/web57/web/wp-blog-header.php')
     (/var/www/clients/client2/web57/web/index.php:17)