Deprecated: The PSR-0 `Requests_...` class names in the Requests library are deprecated. Switch to the PSR-4 `WpOrg\Requests\...` class names at your earliest convenience. in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-requests.php on line 24
Whoops! There was an error.
Error
Call to undefined method WP_Textdomain_Registry::reset() Error thrown with message "Call to undefined method WP_Textdomain_Registry::reset()" Stacktrace: #17 Error in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139 #16 WPML\ST\MO\Hooks\LanguageSwitch:resetTranslationAvailabilityInformation in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:119 #15 WPML\ST\MO\Hooks\LanguageSwitch:changeMoObjects in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:73 #14 WPML\ST\MO\Hooks\LanguageSwitch:switchToLocale in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:48 #13 WPML\ST\MO\Hooks\LanguageSwitch:languageHasSwitched in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php:326 #12 WP_Hook:apply_filters in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php:348 #11 WP_Hook:do_action in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/plugin.php:517 #10 do_action in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:1167 #9 SitePress:switch_lang in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:2741 #8 SitePress:get_ls_languages in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php:45 #7 WPML_SEO_HeadLangs:head_langs in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php:324 #6 WP_Hook:apply_filters in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php:348 #5 WP_Hook:do_action in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/plugin.php:517 #4 do_action in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/general-template.php:3052 #3 wp_head in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/themes/mstein/index.php:7 #2 include in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/template-loader.php:106 #1 require_once in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-blog-header.php:19 #0 require in /data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/index.php:17
17
Error
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php139
16
WPML\ST\MO\Hooks\LanguageSwitch resetTranslationAvailabilityInformation
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php119
15
WPML\ST\MO\Hooks\LanguageSwitch changeMoObjects
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php73
14
WPML\ST\MO\Hooks\LanguageSwitch switchToLocale
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php48
13
WPML\ST\MO\Hooks\LanguageSwitch languageHasSwitched
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php326
12
WP_Hook apply_filters
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php348
11
WP_Hook do_action
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/plugin.php517
10
do_action
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php1167
9
SitePress switch_lang
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php2741
8
SitePress get_ls_languages
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php45
7
WPML_SEO_HeadLangs head_langs
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php324
6
WP_Hook apply_filters
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php348
5
WP_Hook do_action
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/plugin.php517
4
do_action
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/general-template.php3052
3
wp_head
/index.php7
2
include
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/template-loader.php106
1
require_once
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-blog-header.php19
0
require
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/index.php17
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php
 
        $cachedMoObjects = isset( self::$globals_cache[ $new_locale ]['l10n'] )
            ? self::$globals_cache[ $new_locale ]['l10n']
            : [];
 
        /**
         * The JustInTimeMO objects will replaced themselves on the fly
         * by the legacy default MO object if a string is translated.
         * This is because the function "_load_textdomain_just_in_time"
         * does not support the default domain and MO files outside the
         * "wp-content/languages" folder.
         */
        $GLOBALS['l10n'] = $this->jit_mo_factory->get( $new_locale, $this->getUnloadedDomains(), $cachedMoObjects );
    }
 
    private function resetTranslationAvailabilityInformation() {
        global $wp_textdomain_registry;
 
        if ( $wp_textdomain_registry ) {
            $wp_textdomain_registry->reset();
        } elseif ( function_exists( '_get_path_to_translation' ) ) {
            _get_path_to_translation( null, true );
        }
    }
 
    /**
     * @param string $locale
     *
     * @return string
     */
    public function filterLocale( $locale ) {
        $currentLocale = $this->getCurrentLocale();
 
        if ( $currentLocale ) {
            return $currentLocale;
        }
 
        return $locale;
    }
 
Arguments
  1. "Call to undefined method WP_Textdomain_Registry::reset()"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php
     * @param string $new_locale
     */
    private function changeWpLocale( $new_locale ) {
        if ( isset( self::$globals_cache[ $new_locale ]['wp_locale'] ) ) {
            $GLOBALS['wp_locale'] = self::$globals_cache[ $new_locale ]['wp_locale'];
        } else {
            /**
             * WPLocaleProxy is a wrapper of \WP_Locale with a kind of lazy initialization
             * to avoid loading the default domain for strings that
             * we don't use in this transitory language.
             */
            $GLOBALS['wp_locale'] = new WPLocaleProxy();
        }
    }
 
    /**
     * @param string $new_locale
     */
    private function changeMoObjects( $new_locale ) {
        $this->resetTranslationAvailabilityInformation();
 
        $cachedMoObjects = isset( self::$globals_cache[ $new_locale ]['l10n'] )
            ? self::$globals_cache[ $new_locale ]['l10n']
            : [];
 
        /**
         * The JustInTimeMO objects will replaced themselves on the fly
         * by the legacy default MO object if a string is translated.
         * This is because the function "_load_textdomain_just_in_time"
         * does not support the default domain and MO files outside the
         * "wp-content/languages" folder.
         */
        $GLOBALS['l10n'] = $this->jit_mo_factory->get( $new_locale, $this->getUnloadedDomains(), $cachedMoObjects );
    }
 
    private function resetTranslationAvailabilityInformation() {
        global $wp_textdomain_registry;
 
        if ( $wp_textdomain_registry ) {
            $wp_textdomain_registry->reset();
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php
            $this->setCurrentLocale( $this->language_resolution->getCurrentLocale() );
        }
    }
 
    /**
     * This method will act as the WP Core function `switch_to_locale`,
     * but in a more efficient way. It will avoid to instantly load
     * the domains loaded in the previous locale. Instead, it will let
     * the domains be loaded via the "just in time" function.
     *
     * @param string $new_locale
     */
    public function switchToLocale( $new_locale ) {
        if ( $new_locale === $this->getCurrentLocale() ) {
            return;
        }
 
        $this->updateCurrentGlobalsCache();
        $this->changeWpLocale( $new_locale );
        $this->changeMoObjects( $new_locale );
        $this->setCurrentLocale( $new_locale );
    }
 
    /**
     * @param string|null $locale
     */
    public static function resetCache( $locale = null ) {
        self::$current_locale = $locale;
        self::$globals_cache = [];
    }
 
    /**
     * We need to take a new copy of the current locale globals
     * because some domains could have been added with the "just in time"
     * mechanism.
     */
    private function updateCurrentGlobalsCache() {
        $cache = [
            'wp_locale' => isset( $GLOBALS['wp_locale'] ) ? $GLOBALS['wp_locale'] : null,
            'l10n'      => isset( $GLOBALS['l10n'] ) ? (array) $GLOBALS['l10n'] : [],
Arguments
  1. "sk_SK"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php
    }
 
    public function add_hooks() {
        add_action( 'wpml_language_has_switched', [ $this, 'languageHasSwitched' ] );
    }
 
    /** @param string $locale */
    private function setCurrentLocale( $locale ) {
        self::$current_locale = $locale;
    }
 
    /** @return string */
    public function getCurrentLocale() {
        return self::$current_locale;
    }
 
    public function languageHasSwitched() {
        $this->initCurrentLocale();
        $new_locale = $this->language_resolution->getCurrentLocale();
        $this->switchToLocale( $new_locale );
    }
 
    public function initCurrentLocale() {
        if ( ! $this->getCurrentLocale() ) {
            add_filter( 'locale', [ $this, 'filterLocale' ], PHP_INT_MAX );
            $this->setCurrentLocale( $this->language_resolution->getCurrentLocale() );
        }
    }
 
    /**
     * This method will act as the WP Core function `switch_to_locale`,
     * but in a more efficient way. It will avoid to instantly load
     * the domains loaded in the previous locale. Instead, it will let
     * the domains be loaded via the "just in time" function.
     *
     * @param string $new_locale
     */
    public function switchToLocale( $new_locale ) {
        if ( $new_locale === $this->getCurrentLocale() ) {
            return;
Arguments
  1. "sk_SK"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // 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 ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    public function do_action( $args ) {
Arguments
  1. "sk"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @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;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. null
    
  2. array:3 [
      0 => "sk"
      1 => false
      2 => "en"
    ]
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/plugin.php
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } 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 );
}
 
/**
 * Calls the callback functions that have been added to an action hook, specifying arguments in an array.
 *
 * @since 2.1.0
 *
 * @see do_action() This function is identical, but the arguments passed to the
 *                  functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_actions        Stores the number of times each action was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the action to be executed.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
 */
function do_action_ref_array( $hook_name, $args ) {
Arguments
  1. array:3 [
      0 => "sk"
      1 => false
      2 => "en"
    ]
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php
            $this->set_this_lang( $this->original_language );
            if ( ! empty( $this->original_language_cookie ) ) {
                $wpml_request_handler->set_language_cookie( $this->original_language_cookie );
                $this->original_language_cookie = false;
            }
        } else {
            if ( $code === 'all' || in_array( $code, $wpml_language_resolution->get_active_language_codes(), true ) ) {
                $this->set_this_lang( $code );
            }
            if ( $cookie_lang ) {
                $this->original_language_cookie = $wpml_request_handler->get_cookie_lang();
                $wpml_request_handler->set_language_cookie( $code );
            }
        }
        if ( $code ) {
            $GLOBALS['icl_language_switched'] = true;
        } else {
            unset( $GLOBALS['icl_language_switched'] );
        }
        do_action( 'wpml_language_has_switched', $code, $cookie_lang, $this->original_language );
    }
 
    function set_default_language( $code ) {
        $previous_default = $this->get_setting( 'default_language' );
        $this->set_setting( 'default_language', $code );
        $this->set_setting( 'admin_default_language', $code );
        $this->save_settings();
 
        do_action( 'icl_after_set_default_language', $code, $previous_default );
 
        // change WP locale
        $locale = $this->get_locale( $code );
        if ( $locale ) {
            update_option( 'WPLANG', $locale );
        }
 
        $user_language = new WPML_User_Language( $this );
        $user_language->sync_default_admin_user_languages();
 
        return $code !== 'en' && ! file_exists( WP_LANG_DIR . '/' . $locale . '.mo' ) ? 1 : true;
Arguments
  1. "wpml_language_has_switched"
    
  2. "sk"
    
  3. false
    
  4. "en"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php
            $_wp_query_back,
            $this->wp_query
        );
 
        $display_as_translated_ls_link = new WPML_LS_Display_As_Translated_Link(
            $this,
            $wpml_url_converter->get_strategy(),
            $this->wp_query,
            new WPML_Translation_Element_Factory( $this )
        );
 
        // 2. determine url
        foreach ( $w_active_languages as $k => $lang ) {
            $skip_lang = false;
            if ( is_singular()
                 || ( isset( $_wp_query_back->query['name'] ) && isset( $_wp_query_back->query['post_type'] ) )
                 || $this->is_page_query()
            ) {
                $this_lang_tmp = $this->this_lang;
                $this->switch_lang( $lang['code'] );
                $lang_page_on_front  = get_option( 'page_on_front' );
                $lang_page_for_posts = get_option( 'page_for_posts' );
                if ( $lang_page_on_front ) {
                    $lang_page_on_front = icl_object_id( $lang_page_on_front, 'page', false, $lang['code'] );
                }
                if ( $lang_page_for_posts ) {
                    $lang_page_for_posts = icl_object_id( $lang_page_for_posts, 'page', false, $lang['code'] );
                }
                if ( 'page' === get_option( 'show_on_front' ) && ! empty( $translations[ $lang['code'] ] ) && $translations[ $lang['code'] ]->element_id == $lang_page_on_front ) {
                    $lang['translated_url'] = $this->language_url( $lang['code'] );
                } elseif ( 'page' == get_option( 'show_on_front' ) && ! empty( $translations[ $lang['code'] ] ) && $translations[ $lang['code'] ]->element_id && $translations[ $lang['code'] ]->element_id == $lang_page_for_posts ) {
                    if ( $lang_page_for_posts ) {
                        $lang['translated_url'] = get_permalink( $lang_page_for_posts );
                    } else {
                        $lang['translated_url'] = $this->language_url( $lang['code'] );
                    }
                } else {
                    if ( ! empty( $translations[ $lang['code'] ] ) && isset( $translations[ $lang['code'] ]->post_title ) ) {
                        $this->switch_lang( $lang['code'] );
                        $lang['translated_url'] = get_permalink( $translations[ $lang['code'] ]->element_id );
Arguments
  1. "sk"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php
        if ( ! array_key_exists( 'head_langs_priority', $seo_settings ) ) {
            $seo_settings['head_langs_priority'] = 1;
        }
 
        return $seo_settings;
    }
 
    public function init_hooks() {
        if ( $this->sitepress->get_wp_api()->is_front_end() ) {
            $seo_settings = $this->get_seo_settings();
            $head_langs   = $seo_settings['head_langs'];
            if ( $head_langs ) {
                $priority = $seo_settings['head_langs_priority'];
                add_action( 'wp_head', array( $this, 'head_langs' ), (int) $priority );
            }
        }
    }
 
    function head_langs() {
        $languages = $this->sitepress->get_ls_languages( array( 'skip_missing' => true ) );
        /**
         * @since 3.4.0
         */
        $languages = apply_filters( 'wpml_head_langs', $languages );
 
        if ( $this->must_render( $languages ) ) {
            $hreflang_items     = [];
            $xdefault_href_lang = null;
 
            foreach ( $languages as $lang ) {
                /**
                 * @since 3.3.7
                 */
                $alternate_hreflang = apply_filters( 'wpml_alternate_hreflang', $lang['url'], $lang['code'] );
 
                $hreflang_code = $this->get_hreflang_code( $lang );
 
                if ( $hreflang_code ) {
                    $hreflang_items[ $hreflang_code ] = str_replace( '&', '&', $alternate_hreflang );
 
Arguments
  1. array:1 [
      "skip_missing" => true
    ]
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php
 
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // 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 ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
Arguments
  1. ""
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @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;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. null
    
  2. array:1 [
      0 => ""
    ]
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/plugin.php
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } 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 );
}
 
/**
 * Calls the callback functions that have been added to an action hook, specifying arguments in an array.
 *
 * @since 2.1.0
 *
 * @see do_action() This function is identical, but the arguments passed to the
 *                  functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_actions        Stores the number of times each action was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the action to be executed.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
 */
function do_action_ref_array( $hook_name, $args ) {
Arguments
  1. array:1 [
      0 => ""
    ]
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/general-template.php
     * @param string $before           The HTML to output before the date.
     * @param string $after            The HTML to output after the date.
     */
    echo apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after );
}
 
/**
 * Fires the wp_head action.
 *
 * See {@see 'wp_head'}.
 *
 * @since 1.2.0
 */
function wp_head() {
    /**
     * Prints scripts or data in the head tag on the front end.
     *
     * @since 1.5.0
     */
    do_action( 'wp_head' );
}
 
/**
 * Fires the wp_footer action.
 *
 * See {@see 'wp_footer'}.
 *
 * @since 1.5.1
 */
function wp_footer() {
    /**
     * Prints scripts or data before the closing body tag on the front end.
     *
     * @since 1.5.1
     */
    do_action( 'wp_footer' );
}
 
/**
 * Fires the wp_body_open action.
Arguments
  1. "wp_head"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/themes/mstein/index.php
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
    <?php wp_body_open(); ?>
    <?php do_action('get_header'); ?>
 
    <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
 
    <?php do_action('get_footer'); ?>
    <?php wp_footer(); ?>
</body>
</html>
 
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-content/themes/mstein/index.php"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
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.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-includes/template-loader.php"
    
/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
Key Value
wp-wpml_current_language
"en"
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/en/information/about-us/"
REDIRECT_GEOIP_COUNTRY_CODE
"US"
REDIRECT_UNIQUE_ID
"ZflnPntwVZrmhlpHlWIdQQAAAB8"
REDIRECT_DOCROOT
"/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_filter-errordocs
""
REDIRECT_STATUS
"200"
GEOIP_COUNTRY_CODE
"US"
UNIQUE_ID
"ZflnPntwVZrmhlpHlWIdQQAAAB8"
DOCROOT
"/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/"
HTTP_AUTHORIZATION
""
filter-errordocs
""
HTTP_HOST
"new2021.mstein.eu"
HTTP_X_REAL_IP
"54.235.6.60"
HTTP_X_FORWARDED_FOR
"54.235.6.60, 54.235.6.60"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_PROXY_IP
"10.20.6.1"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_WS_GEO_COUNTRY
"US"
HTTP_MAX_FORWARDS
"7"
HTTP_X_FORWARDED_HOST
"new2021.mstein.eu"
HTTP_X_FORWARDED_SERVER
"new2021.mstein.eu"
HTTP_CONNECTION
"close"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
""
SERVER_NAME
"new2021.mstein.eu"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"54.235.6.60"
DOCUMENT_ROOT
"/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/"
SERVER_ADMIN
"admin@websupport.sk"
SCRIPT_FILENAME
"/data/7/7/77ca334a-709b-4d46-9bb5-8cb6b6696236/mstein.eu/sub/new2021/index.php"
REMOTE_PORT
"34472"
REDIRECT_URL
"/en/information/about-us/"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710843710.26
REQUEST_TIME
1710843710
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler