Whoops \ Exception \ ErrorException (E_WARNING)
Undefined array key "tabs" Whoops\Exception\ErrorException thrown with message "Undefined array key "tabs"" Stacktrace: #8 Whoops\Exception\ErrorException in /home2/offismekan/public_html/wp-content/themes/offismekan/app/Components/gizlilikPolitikasi2.php:30 #7 Whoops\Run:handleError in /home2/offismekan/public_html/wp-content/themes/offismekan/app/Components/gizlilikPolitikasi2.php:30 #6 App\Components\gizlilikPolitikasi2:render in /home2/offismekan/public_html/wp-content/plugins/typerocket-pro-v6/typerocket/vendor/typerocket/core/src/Elements/Fields/Matrix.php:475 #5 TypeRocket\Elements\Fields\Matrix:componentsLoop in /home2/offismekan/public_html/wp-content/plugins/typerocket-pro-v6/typerocket/vendor/typerocket/core/src/Utility/ModelField.php:144 #4 TypeRocket\Utility\ModelField:components in /home2/offismekan/public_html/wp-content/plugins/typerocket-pro-v6/typerocket/helpers.php:386 #3 tr_components_field in /home2/offismekan/public_html/wp-content/themes/offismekan/page.php:4 #2 include in /home2/offismekan/public_html/wp-includes/template-loader.php:106 #1 require_once in /home2/offismekan/public_html/wp-blog-header.php:19 #0 require in /home2/offismekan/public_html/index.php:17
Stack frames (9)
8
Whoops\Exception\ErrorException
/home2/offismekan/public_html/wp-content/themes/offismekan/app/Components/gizlilikPolitikasi2.php30
7
Whoops\Run handleError
/home2/offismekan/public_html/wp-content/themes/offismekan/app/Components/gizlilikPolitikasi2.php30
6
App\Components\gizlilikPolitikasi2 render
/vendor/typerocket/core/src/Elements/Fields/Matrix.php475
5
TypeRocket\Elements\Fields\Matrix componentsLoop
/vendor/typerocket/core/src/Utility/ModelField.php144
4
TypeRocket\Utility\ModelField components
/helpers.php386
3
tr_components_field
/home2/offismekan/public_html/wp-content/themes/offismekan/page.php4
2
include
/home2/offismekan/public_html/wp-includes/template-loader.php106
1
require_once
/home2/offismekan/public_html/wp-blog-header.php19
0
require
/home2/offismekan/public_html/index.php17
/home2/offismekan/public_html/wp-content/themes/offismekan/app/Components/gizlilikPolitikasi2.php
 
 
    /**
     * Admin Fields
     */
 
    public function fields()
    {
 
        $form = $this->form();
 
        echo $form->text('Content Title');
        echo $form->editor('Content');
 
    }
 
 
    public function render(array $data, array $info)
    {
        $tabs = (array)$data['tabs'];
        ?>
        <section class="wrapper bg-light">
            <div class="container pb-14 pb-md-16">
                <div class="row mt-10 mt-lg-16">
                    <div class="col-xl-10 mx-auto">
                        <h2 class="mb-6 text-center px-16"><?php echo $data['content_title']; ?></h2>
                        <?php echo $data['content']; ?>
                    </div>
                </div>
            </div>
        </section>
        <?php
 
 
    }
 
}
// if (isset($data['faq_content'])) {
 
/home2/offismekan/public_html/wp-content/themes/offismekan/app/Components/gizlilikPolitikasi2.php
 
 
    /**
     * Admin Fields
     */
 
    public function fields()
    {
 
        $form = $this->form();
 
        echo $form->text('Content Title');
        echo $form->editor('Content');
 
    }
 
 
    public function render(array $data, array $info)
    {
        $tabs = (array)$data['tabs'];
        ?>
        <section class="wrapper bg-light">
            <div class="container pb-14 pb-md-16">
                <div class="row mt-10 mt-lg-16">
                    <div class="col-xl-10 mx-auto">
                        <h2 class="mb-6 text-center px-16"><?php echo $data['content_title']; ?></h2>
                        <?php echo $data['content']; ?>
                    </div>
                </div>
            </div>
        </section>
        <?php
 
 
    }
 
}
// if (isset($data['faq_content'])) {
 
/home2/offismekan/public_html/wp-content/plugins/typerocket-pro-v6/typerocket/vendor/typerocket/core/src/Elements/Fields/Matrix.php
        $info = $info ?? null; // This is an open variable for misc data
        $group = $name ?? $group; // This is to help with migration from v4/v1 to v5
        $name = $group;
        $len = count($builder_data);
 
        do_action('typerocket_components_loop', $builder_data, $other, $len);
        foreach ($builder_data as $hash => $data) {
            $first_item = $last_item = false;
 
            if ($i == 0) {
                $first_item = true;
            } else if ($i == $len - 1) {
                $last_item = true;
            }
 
            $component_id = key($data);
            $component = strtolower(key($data));
            $vals = compact('name', 'item_id', 'model', 'first_item', 'last_item', 'component_id', 'hash', 'info');
            $class = static::getComponentClass($component, $group);
            $class->render($data[$component_id], $vals);
            $i++;
        }
    }
 
}
/home2/offismekan/public_html/wp-content/plugins/typerocket-pro-v6/typerocket/vendor/typerocket/core/src/Utility/ModelField.php
        if($item_id instanceof Model) {
            $model = $item_id;
        } else {
            if (isset($post->ID) && is_null($item_id)) {
                $item_id = $post->ID;
            }
 
            try {
                /** @var Model $model */
                $modelClass = $modelClass ?? \TypeRocket\Models\WPPost::class;
                $model = new $modelClass;
                $model->findById($item_id);
            } catch (Exception $e) {
                return null;
            }
        }
 
        $builder_data = $model->getFieldValue($name);
        if(is_array($builder_data)) {
            Matrix::componentsLoop($builder_data, compact('name', 'item_id', 'model'));
        }
 
        return $builder_data;
    }
 
    /**
     * Get users field
     *
     * @param string|array $name use dot notation
     * @param null|int|WPUser $item_id
     *
     * @return array|mixed|null|string
     */
    public static function user($name, $item_id = null)
    {
        global $user_id, $post;
 
        if ($item_id instanceof WPUser) {
            $model = $item_id;
        } else {
/home2/offismekan/public_html/wp-content/plugins/typerocket-pro-v6/typerocket/helpers.php
{
    return \TypeRocket\Utility\ModelField::post(...func_get_args());
}
 
/**
 * Get components
 *
 * Auto binding only for post types
 *
 * @param string $name use dot notation
 * @param null $item_id
 *
 * @param null|string $modelClass
 *
 * @return array|mixed|null|string
 * @throws Exception
 */
function tr_components_field($name, $item_id = null, $modelClass = null)
{
    return \TypeRocket\Utility\ModelField::components(...func_get_args());
}
 
/**
 * Loop Components
 *
 * @param array $builder_data
 * @param array $other be sure to pass $name, $item_id, $model
 * @param string $group
 */
function tr_components_loop($builder_data, $other = [], $group = 'builder')
{
    \TypeRocket\Elements\Fields\Matrix::componentsLoop(...func_get_args());
}
 
/**
 * Is TypeRocket Builder Active
 *
 * @param string|null $field_name
 *
 * @return bool
/home2/offismekan/public_html/wp-content/themes/offismekan/page.php
<?php get_header();
 
if( tr_show_page_builder( 'use_builder' ) ) {
    tr_components_field( 'builder' );
} else {
    get_template_part( 'index' );
}
 
get_footer();
/home2/offismekan/public_html/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;
}
 
/home2/offismekan/public_html/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';
 
}
 
/home2/offismekan/public_html/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';
 

Environment & details:

Key Value
query_vars Array ( [page] => [pagename] => gizlilik-politikasi )
query_string pagename=gizlilik-politikasi
request gizlilik-politikasi
matched_rule (.?.+?)(?:/([0-9]+))?/?$
matched_query pagename=gizlilik-politikasi&page=
did_permalink 1
Key Value
query Array ( [page] => [pagename] => gizlilik-politikasi )
query_vars Array ( [pagename] => gizlilik-politikasi [name] => gizlilik-politikasi [cache_results] => 1 [update_post_term_cache] => 1 [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [posts_per_page] => 10 [comments_per_page] => 50 [order] => DESC )
meta_query WP_Meta_Query Object ( [queries] => Array ( ) [relation] => [meta_table] => [meta_id_column] => [primary_table] => [primary_id_column] => [table_aliases:protected] => Array ( ) [clauses:protected] => Array ( ) [has_or_relation:protected] => )
queried_object WP_Post Object ( [ID] => 255 [post_author] => 1 [post_date] => 2024-03-18 12:41:33 [post_date_gmt] => 2024-03-18 09:41:33 [post_content] => [post_title] => Gizlilik Politikası [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => gizlilik-politikasi [to_ping] => [pinged] => [post_modified] => 2024-03-18 12:42:44 [post_modified_gmt] => 2024-03-18 09:42:44 [post_content_filtered] => [post_parent] => 0 [guid] => https://offismekan.com/?page_id=255 [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw )
queried_object_id 255
request SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND (wp_posts.ID = '255') AND wp_posts.post_type = 'page' ORDER BY wp_posts.post_date DESC
post_count 1
current_post -1
before_loop 1
current_comment -1
found_posts 1
is_page 1
is_singular 1
Key Value
ID 255
post_author 1
post_date 2024-03-18 12:41:33
post_date_gmt 2024-03-18 09:41:33
post_content
post_title Gizlilik Politikası
post_excerpt
post_status publish
comment_status closed
ping_status closed
post_password
post_name gizlilik-politikasi
to_ping
pinged
post_modified 2024-03-18 12:42:44
post_modified_gmt 2024-03-18 09:42:44
post_content_filtered
post_parent 0
guid https://offismekan.com/?page_id=255
menu_order 0
post_type page
post_mime_type
comment_count 0
filter raw
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /gizlilik-politikasi/
TZ Europe/Istanbul
REDIRECT_REDIRECT_UNIQUE_ID ZlGRdkrlQ3ioikASqwtvmAAAAAE
REDIRECT_REDIRECT_SCRIPT_URL /gizlilik-politikasi/
REDIRECT_REDIRECT_SCRIPT_URI https://offismekan.com/gizlilik-politikasi/
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
REDIRECT_REDIRECT_HTTPS on
REDIRECT_REDIRECT_SSL_TLS_SNI offismekan.com
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZlGRdkrlQ3ioikASqwtvmAAAAAE
REDIRECT_SCRIPT_URL /gizlilik-politikasi/
REDIRECT_SCRIPT_URI https://offismekan.com/gizlilik-politikasi/
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI offismekan.com
REDIRECT_HANDLER application/x-httpd-ea-php81
REDIRECT_STATUS 200
UNIQUE_ID ZlGRdkrlQ3ioikASqwtvmAAAAAE
SCRIPT_URL /gizlilik-politikasi/
SCRIPT_URI https://offismekan.com/gizlilik-politikasi/
HTTPS on
SSL_TLS_SNI offismekan.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING br,gzip
HTTP_HOST offismekan.com
HTTP_CONNECTION Keep-Alive
HTTP_X_HTTPS 1
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
SERVER_SIGNATURE
SERVER_NAME offismekan.com
SERVER_ADDR 213.143.230.20
SERVER_PORT 443
REMOTE_ADDR 100.26.179.41
DOCUMENT_ROOT /home2/offismekan/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN webmaster@offismekan.com
SCRIPT_FILENAME /home2/offismekan/public_html/index.php
REMOTE_PORT 47428
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php81
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home2/offismekan/public_html/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php81
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1716621686.6697
REQUEST_TIME 1716621686
argv Array ( )
argc 0
empty
0. TypeRocket\Pro\Features\WhoopsHtmlHandler