Deprecated: Optional parameter $content declared before required parameter $post is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/functions.php on line 840

Deprecated: Creation of dynamic property wpdb::$categories is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$post2cat is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$link2cat is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/wp-db.php on line 668

Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-theme.php on line 553

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-theme.php on line 594

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-theme.php on line 534

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-theme.php on line 543

Warning: Private methods cannot be final as they are never overridden by other classes in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-session-tokens.php on line 69

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/comment-template.php on line 1720

Deprecated: Optional parameter $object_id declared before required parameter $taxonomy is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/nav-menu.php on line 1060

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 934

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 954

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 966

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 977

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/class-wp-block-list.php on line 199

Deprecated: Optional parameter $block_name declared before required parameter $block_content is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/blocks.php on line 405

Deprecated: Optional parameter $style declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 101

Deprecated: Optional parameter $class declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 101

Deprecated: Optional parameter $style declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 164

Deprecated: Optional parameter $class declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 164

Deprecated: Optional parameter $class declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 192

Deprecated: Optional parameter $prefix declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 207

Deprecated: Optional parameter $style declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 207

Deprecated: Optional parameter $query_args declared before required parameter $attributes is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/getwid/includes/functions.php on line 227

Notice: spl_autoload_register(): Argument #2 ($do_throw) has been ignored, spl_autoload_register() will always throw in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/loco-translate/loco.php on line 159

Deprecated: Optional parameter $sharing_type declared before required parameter $total_shares is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/sassy-social-share/public/class-sassy-social-share-public.php on line 320

Warning: The magic method URE_Base_Lib::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/user-role-editor/includes/classes/base-lib.php on line 357

Warning: The magic method URE_Task_Queue::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/user-role-editor/includes/classes/task-queue.php on line 144

Warning: The magic method URE_Capabilities_Groups_Manager::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/user-role-editor/includes/classes/capabilities-groups-manager.php on line 421

Warning: The magic method URE_Capabilities::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/user-role-editor/includes/classes/capabilities.php on line 428

Warning: The magic method URE_Editor::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/user-role-editor/includes/classes/editor.php on line 1383

Warning: The magic method User_Role_Editor::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/user-role-editor/includes/classes/user-role-editor.php on line 58

Deprecated: Optional parameter $key declared before required parameter $field is implicitly treated as a required parameter in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/white-label-cms/includes/Functions.php on line 17

Deprecated: Creation of dynamic property Otter_Blocks::$name is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/otter-blocks/class-otter-blocks.php on line 45

Deprecated: Creation of dynamic property Otter_Blocks::$description is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/otter-blocks/class-otter-blocks.php on line 46

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/streams.php on line 21

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/streams.php on line 22

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/streams.php on line 153

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/translations.php on line 293

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 229

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 234

Deprecated: Creation of dynamic property Smush\Core\Modules\Helpers\Parser::$iframes is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 87

Deprecated: Creation of dynamic property Yoast\WP\SEO\Main::$helpers is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/wordpress-seo/src/main.php on line 97

Warning: Private methods cannot be final as they are never overridden by other classes in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/SingletonTrait.php on line 22

Warning: The magic method Nextend\Framework\Pattern\SingletonTrait::__wakeup() must have public visibility in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/SingletonTrait.php on line 22

Warning: Private methods cannot be final as they are never overridden by other classes in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/SingletonTrait.php on line 25

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/streams.php on line 21

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/streams.php on line 22

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/streams.php on line 153

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/u239621729/domains/shamsalola.com/public_html/wp-includes/pomo/translations.php on line 293

Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Deprecated: Return type of Timber\QueryIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/QueryIterator.php on line 137

Deprecated: Return type of Timber\QueryIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/QueryIterator.php on line 150

Deprecated: Return type of Timber\QueryIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/QueryIterator.php on line 156

Deprecated: Return type of Timber\QueryIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/QueryIterator.php on line 133

Deprecated: Return type of Timber\QueryIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/QueryIterator.php on line 152

Deprecated: Return type of Timber\QueryIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/QueryIterator.php on line 202
Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_DEPRECATED)
Creation of dynamic property Gantry\Framework\Site::$pingback is deprecated Whoops\Exception\ErrorException thrown with message "Creation of dynamic property Gantry\Framework\Site::$pingback is deprecated" Stacktrace: #14 Whoops\Exception\ErrorException in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/Site.php:180 #13 Gantry\Component\Whoops\SystemFacade:handleError in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/Site.php:180 #12 Timber\Site:init in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/timber/timber/lib/Site.php:116 #11 Timber\Site:__construct in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/src/classes/Gantry/Framework/Base/Gantry.php:269 #10 Gantry\Framework\Base\Gantry:Gantry\Framework\Base\{closure} in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/pimple/pimple/src/Pimple/Container.php:118 #9 Pimple\Container:offsetGet in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/src/classes/Gantry/Framework/Theme.php:575 #8 Gantry\Framework\Theme:init in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php:69 #7 Gantry\Component\Theme\AbstractTheme:__construct in /home/u239621729/domains/shamsalola.com/public_html/wp-content/themes/g5_hydrogen/includes/theme.php:38 #6 {closure} in /home/u239621729/domains/shamsalola.com/public_html/wp-content/plugins/gantry5/vendor/pimple/pimple/src/Pimple/Container.php:118 #5 Pimple\Container:offsetGet in /home/u239621729/domains/shamsalola.com/public_html/wp-content/themes/g5_hydrogen/functions.php:47 #4 include in /home/u239621729/domains/shamsalola.com/public_html/wp-settings.php:514 #3 require_once in /home/u239621729/domains/shamsalola.com/public_html/wp-config.php:82 #2 require_once in /home/u239621729/domains/shamsalola.com/public_html/wp-load.php:37 #1 require_once in /home/u239621729/domains/shamsalola.com/public_html/wp-blog-header.php:13 #0 require in /home/u239621729/domains/shamsalola.com/public_html/index.php:17
Stack frames (15)
14
Whoops\Exception\ErrorException
/vendor/timber/timber/lib/Site.php180
13
Gantry\Component\Whoops\SystemFacade handleError
/vendor/timber/timber/lib/Site.php180
12
Timber\Site init
/vendor/timber/timber/lib/Site.php116
11
Timber\Site __construct
/src/classes/Gantry/Framework/Base/Gantry.php269
10
Gantry\Framework\Base\Gantry Gantry\Framework\Base\{closure}
/vendor/pimple/pimple/src/Pimple/Container.php118
9
Pimple\Container offsetGet
/src/classes/Gantry/Framework/Theme.php575
8
Gantry\Framework\Theme init
/src/classes/Gantry/Component/Theme/AbstractTheme.php69
7
Gantry\Component\Theme\AbstractTheme __construct
/home/u239621729/domains/shamsalola.com/public_html/wp-content/themes/g5_hydrogen/includes/theme.php38
6
{closure}
/vendor/pimple/pimple/src/Pimple/Container.php118
5
Pimple\Container offsetGet
/home/u239621729/domains/shamsalola.com/public_html/wp-content/themes/g5_hydrogen/functions.php47
4
include
/home/u239621729/domains/shamsalola.com/public_html/wp-settings.php514
3
require_once
/home/u239621729/domains/shamsalola.com/public_html/wp-config.php82
2
require_once
/home/u239621729/domains/shamsalola.com/public_html/wp-load.php37
1
require_once
/home/u239621729/domains/shamsalola.com/public_html/wp-blog-header.php13
0
require
/home/u239621729/domains/shamsalola.com/public_html/index.php17
        $this->description = get_bloginfo('description');
        $this->theme = new Theme();
        $this->multisite = false;
    }
 
    /**
     * Executed for all types of sites: both multisite and "regular"
     * @internal
     */
    protected function init() {
        $this->url = home_url();
        $this->home_url = $this->url;
        $this->site_url = site_url();
        $this->rdf = get_bloginfo('rdf_url');
        $this->rss = get_bloginfo('rss_url');
        $this->rss2 = get_bloginfo('rss2_url');
        $this->atom = get_bloginfo('atom_url');
        $this->language = get_locale();
        $this->charset = get_bloginfo('charset');
        $this->pingback = $this->pingback_url = get_bloginfo('pingback_url');
    }
 
 
    /**
     * Returns the language attributes that you're looking for
     * @return string
     */
    public function language_attributes() {
        return get_language_attributes();
    }
 
    /**
     *
     *
     * @param string  $field
     * @return mixed
     */
    public function __get( $field ) {
        if ( !isset($this->$field) ) {
            if ( is_multisite() ) {
        $this->description = get_bloginfo('description');
        $this->theme = new Theme();
        $this->multisite = false;
    }
 
    /**
     * Executed for all types of sites: both multisite and "regular"
     * @internal
     */
    protected function init() {
        $this->url = home_url();
        $this->home_url = $this->url;
        $this->site_url = site_url();
        $this->rdf = get_bloginfo('rdf_url');
        $this->rss = get_bloginfo('rss_url');
        $this->rss2 = get_bloginfo('rss2_url');
        $this->atom = get_bloginfo('atom_url');
        $this->language = get_locale();
        $this->charset = get_bloginfo('charset');
        $this->pingback = $this->pingback_url = get_bloginfo('pingback_url');
    }
 
 
    /**
     * Returns the language attributes that you're looking for
     * @return string
     */
    public function language_attributes() {
        return get_language_attributes();
    }
 
    /**
     *
     *
     * @param string  $field
     * @return mixed
     */
    public function __get( $field ) {
        if ( !isset($this->$field) ) {
            if ( is_multisite() ) {
    /**
     * Constructs a Timber\Site object
     * @example
     * ```php
     * //multisite setup
     * $site = new Timber\Site(1);
     * $site_two = new Timber\Site("My Cool Site");
     * //non-multisite
     * $site = new Timber\Site();
     * ```
     * @param string|int $site_name_or_id
     */
    public function __construct( $site_name_or_id = null ) {
        if ( is_multisite() ) {
            $blog_id = self::switch_to_blog($site_name_or_id);
            $this->init();
            $this->init_as_multisite($blog_id);
            restore_current_blog();
        } else {
            $this->init();
            $this->init_as_singlesite();
        }
    }
 
    /**
     * Switches to the blog requested in the request
     * @param string|integer|null $site_name_or_id
     * @return integer with the ID of the new blog
     */
    protected static function switch_to_blog( $site_name_or_id ) {
        if ( $site_name_or_id === null ) {
            $site_name_or_id = get_current_blog_id();
        }
        $info = get_blog_details($site_name_or_id);
        switch_to_blog($info->blog_id);
        return $info->blog_id;
    }
 
    /**
     * @internal
        $instance->register(new StreamsServiceProvider);
 
        $instance['request'] = static function () {
            return new Request();
        };
 
        $instance['events'] = static function () {
            return new EventDispatcher();
        };
 
        $instance['platform'] = static function ($c) {
            return new Platform($c);
        };
 
        $instance['translator'] = static function () {
            return new Translator();
        };
 
        $instance['site'] = static function () {
            return new Site();
        };
 
        $instance['menu'] = static function () {
            return new Menu();
        };
 
        $instance['messages'] = static function () {
            return new Messages();
        };
 
        $instance['page'] = static function ($c) {
            return new Page($c);
        };
 
        $instance['document'] = static function () {
            return new Document();
        };
 
        // Make sure that nobody modifies the original collection by making it a factory.
        $instance['outlines'] = $instance->factory(static function ($c) {
    {
        if (!isset($this->keys[$id])) {
            throw new UnknownIdentifierException($id);
        }
 
        if (
            isset($this->raw[$id])
            || !\is_object($this->values[$id])
            || isset($this->protected[$this->values[$id]])
            || !\method_exists($this->values[$id], '__invoke')
        ) {
            return $this->values[$id];
        }
 
        if (isset($this->factories[$this->values[$id]])) {
            return $this->values[$id]($this);
        }
 
        $raw = $this->values[$id];
        $val = $this->values[$id] = $raw($this);
        $this->raw[$id] = $raw;
 
        $this->frozen[$id] = true;
 
        return $val;
    }
 
    /**
     * Checks if a parameter or an object is set.
     *
     * @param string $id The unique identifier for the parameter or object
     *
     * @return bool
     */
    public function offsetExists($id)
    {
        return isset($this->keys[$id]);
    }
 
    /**
        $this->preset_styles_init();
 
        // Load theme text domains
        $domain = $this->details()->get('configuration.gantry.engine', 'nucleus');
        $lookup = '/engines/' . $domain . '/languages';
        if (!file_exists(GANTRY5_PATH . $lookup)) {
            $lookup = '/engines/wordpress/' . $domain . '/languages';
        }
        $lookup = basename(GANTRY5_PATH) . $lookup;
 
        if (\load_plugin_textdomain($domain, false, $lookup) === false) {
            \add_filter('plugin_locale', 'modify_gantry5_locale', 10, 2);
            \load_plugin_textdomain($domain, false, $lookup);
            \remove_filter('plugin_locale', 'modify_gantry5_locale', 10);
        }
 
        $domain = $this->details()->get('configuration.theme.textdomain', $this->name);
        \load_theme_textdomain($domain, $this->path . '/languages');
 
        $this->url = $gantry['site']->theme->link;
 
        $gantry['configuration'] = 'default';
 
        $gantry->fireEvent('theme.init');
    }
 
    /**
     * @see AbstractTheme::setTwigLoaderPaths()
     *
     * @param LoaderInterface $loader
     * @return FilesystemLoader
     */
    protected function setTwigLoaderPaths(LoaderInterface $loader)
    {
        $loader = parent::setTwigLoaderPaths($loader);
 
        if ($loader) {
            // TODO: right now we are replacing all paths; we need to do better, but there are some issues with this call.
            $loader->setPaths(static::getTwigPaths());
        }
 
    /** @var Environment|null */
    protected $renderer;
 
    /**
     * Construct theme object.
     *
     * @param string $path
     * @param string $name
     */
    public function __construct($path, $name = null)
    {
        if (!is_dir($path)) {
            throw new \LogicException('Theme not found!');
        }
 
        $this->name = $name ?: Gantry::basename($path);
        $this->path = $path;
 
        $this->init();
    }
 
    /**
     * Get context for render().
     *
     * @param array $context
     * @return array
     */
    public function getContext(array $context)
    {
        $context['theme'] = $this;
 
        return $context;
    }
 
    /**
     * Define twig environment.
     *
     * @param Environment $twig
     * @param LoaderInterface $loader
 */
class GantryTheme extends Theme
{
}
 
// Initialize theme stream.
/** @var Platform $platform */
$platform = $gantry['platform'];
$platform->set(
    'streams.gantry-theme.prefixes',
    array('' => array(
        "gantry-themes://{$gantry['theme.name']}/custom",
        "gantry-themes://{$gantry['theme.name']}",
        "gantry-themes://{$gantry['theme.name']}/common"
    ))
);
 
// Define Gantry services.
$gantry['theme'] = static function ($c) {
    return new GantryTheme($c['theme.path'], $c['theme.name']);
};
 
    {
        if (!isset($this->keys[$id])) {
            throw new UnknownIdentifierException($id);
        }
 
        if (
            isset($this->raw[$id])
            || !\is_object($this->values[$id])
            || isset($this->protected[$this->values[$id]])
            || !\method_exists($this->values[$id], '__invoke')
        ) {
            return $this->values[$id];
        }
 
        if (isset($this->factories[$this->values[$id]])) {
            return $this->values[$id]($this);
        }
 
        $raw = $this->values[$id];
        $val = $this->values[$id] = $raw($this);
        $this->raw[$id] = $raw;
 
        $this->frozen[$id] = true;
 
        return $val;
    }
 
    /**
     * Checks if a parameter or an object is set.
     *
     * @param string $id The unique identifier for the parameter or object
     *
     * @return bool
     */
    public function offsetExists($id)
    {
        return isset($this->keys[$id]);
    }
 
    /**
$gantry = require $gantry_include;
if (!$gantry) {
    return;
}
 
if (!$gantry->isCompatible($requiredGantryVersion)) {
    $current_theme = wp_get_theme();
    $error = sprintf(__('Please upgrade Gantry 5 Framework to v%s (or later) before using %s theme!', $translationDomain), strtoupper($requiredGantryVersion), $current_theme->get('Name'));
 
    if(is_admin()) {
        add_action('admin_notices', static function () use ($error) {
            echo '<div class="error"><p>' . $error . '</p></div>';
        });
    } else {
        wp_die($error);
    }
}
 
/** @var Theme $theme */
$theme = $gantry['theme'];
 
// Theme helper files that can contain useful methods or filters
$helpers = array(
    'includes/helper.php', // General helper file
);
 
// Require custom Functions if the file exists (allows overriding helpers).
if ($customInclude = locate_template('custom/functions.php')) {
    require $customInclude;
}
 
foreach ($helpers as $file) {
    if (!$filepath = locate_template($file)) {
        trigger_error(sprintf(__('Error locating %s for inclusion', $translationDomain), $file), E_USER_ERROR);
    }
 
    require $filepath;
}
 
 *
 * @global WP_Locale $wp_locale WordPress date and time locale object.
 * @since 2.1.0
 */
$GLOBALS['wp_locale'] = new WP_Locale();
 
/**
 * WordPress Locale Switcher object for switching locales.
 *
 * @since 4.7.0
 *
 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
 */
$GLOBALS['wp_locale_switcher'] = new WP_Locale_Switcher();
$GLOBALS['wp_locale_switcher']->init();
 
// Load the functions for the active theme, for both parent and child theme if applicable.
foreach ( wp_get_active_and_valid_themes() as $theme ) {
    if ( file_exists( $theme . '/functions.php' ) ) {
        include $theme . '/functions.php';
    }
}
unset( $theme );
 
/**
 * 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';
}
WP_Site_Health::get_instance();
 
// Set up current user.
$GLOBALS['wp']->init();
 
 * You can have multiple installations in one database if you give each
 * a unique prefix. Only numbers, letters, and underscores please!
 */
$table_prefix = 'wp_';
 
 
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', true );
 
define( 'FS_METHOD', 'direct' );
/* That's all, stop editing! Happy publishing. */
 
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
    define( 'ABSPATH', dirname( __FILE__ ) . '/' );
}
 
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
 
 
/** Define ABSPATH as this file's directory */
if ( ! defined( 'ABSPATH' ) ) {
    define( 'ABSPATH', __DIR__ . '/' );
}
 
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
 
/*
 * If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php
 * doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit
 * of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a)
 * and /blog/ is WordPress(b).
 *
 * 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';
 
} else {
 
    // A config file doesn't exist.
 
    define( 'WPINC', 'wp-includes' );
    require_once ABSPATH . WPINC . '/load.php';
 
    // Standardize $_SERVER variables across setups.
    wp_fix_server_vars();
 
    require_once ABSPATH . WPINC . '/functions.php';
 
    $path = wp_guess_url() . '/wp-admin/setup-config.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';
 
}
 
<?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';
 

Environment & details:

Key Value
line 514
url file://home/u239621729/domains/shamsalola.com/public_html/wp-settings.php
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE LiteSpeed
REQUEST_URI /subl:/open?line=514&url=file%3A%2F%2Fhome%2Fu239621729%2Fdomains%2Fshamsalola.com%2Fpublic_html%2Fwp-settings.php
LSPHP_ProcessGroup on
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_HOST shamsalola.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
DOCUMENT_ROOT /home/u239621729/domains/shamsalola.com/public_html
REMOTE_ADDR 216.73.216.242
REMOTE_PORT 14501
SERVER_ADDR 82.29.191.131
SERVER_NAME shamsalola.com
SERVER_ADMIN
SERVER_PORT 443
REQUEST_SCHEME https
REDIRECT_URL /subl:/open
REDIRECT_QUERY_STRING line=514&url=file%3A%2F%2Fhome%2Fu239621729%2Fdomains%2Fshamsalola.com%2Fpublic_html%2Fwp-settings.php
REDIRECT_REQUEST_METHOD GET
HTTPS on
CRAWLER_USLEEP 1000
CRAWLER_LOAD_LIMIT_ENFORCE 25
H_PLATFORM Hostinger
H_TYPE shared
H_CANARY false
H_STAGING false
REDIRECT_STATUS 200
ratelimited_meta_externalagent 1
ratelimited_chrome_88 1
ratelimited_chrome_124 1
X_SPDY HTTP2
SSL_PROTOCOL TLSv1.3
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_ALGKEYSIZE 256
SCRIPT_FILENAME /home/u239621729/domains/shamsalola.com/public_html/index.php
QUERY_STRING line=514&url=file%3A%2F%2Fhome%2Fu239621729%2Fdomains%2Fshamsalola.com%2Fpublic_html%2Fwp-settings.php
SCRIPT_URI https://shamsalola.com/subl:/open
SCRIPT_URL /subl:/open
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
X-LSCACHE on,crawler,esi,combine
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1783122373.878
REQUEST_TIME 1783122373
empty
0. Whoops\Handler\PrettyPageHandler