$
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_NOTICE)
Undefined offset: 0 Whoops\Exception\ErrorException thrown with message "Undefined offset: 0" Stacktrace: #3 Whoops\Exception\ErrorException in /home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/views/card_custom.php:148 #2 Whoops\Run:handleError in /home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/views/card_custom.php:148 #1 include in /home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/app/classes/theme.php:39 #0 theme:template in /home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/index.php:11
Stack frames (4)
3
Whoops
\
Exception
\
ErrorException
/
views
/
card_custom.php
148
2
Whoops
\
Run
handleError
/
views
/
card_custom.php
148
1
include
/
app
/
classes
/
theme.php
39
0
theme
template
/
index.php
11
/
home
/
260298.cloudwaysapps.com
/
gmcmqbqznt
/
public_html
/
views
/
card_custom.php
                <div class="three cart-options">
                    <input class="artwork-url" id="artwork_url" type="hidden" name="artwork_url" value="">
                    <button class="button primary" id="add_to_cart">Add to Cart</button>
                    <!-- <input type="submit" class="button primary" name="add_to_cart" value="Add to Cart"> -->
                </div> <!-- /three -->
 
            </div> <!-- /row -->
        </div> <!-- /container -->
    </section> <!-- /page-header-bar -->
 
    <section class="card-customize">
        <div class="container">
            <div class="row">
 
                <div class="card-front <?= $front; ?>">
                    <div class="row">
                        <div class="card-holder <?= $front_column; ?>">
                            <div class="resize-container card front <?= $card['orientation']; ?> <?php if ($color['slug'] != 'white'): echo $color['slug']; endif; ?>" id="canvas">
                                <?php if ($card['content_type_id'] != 2): ?>
                                    <div class="resize-drag dyntextval" data-font-size="48" id="custom_content" style="text-align: center; font-family: <?= $fonts[0]['font_family']; ?>; font-size: 48px; color: <?= $colors[0]['hex']; ?>; top: <?= $top; ?>px; right: <?= $right; ?>px; bottom: <?= $bottom; ?>px; left: <?= $left; ?>px;">
                                        <div class="custom_content">Sample</div>
                                        <div class="handle top-left"></div>
                                        <div class="handle top"></div>
                                        <div class="handle top-right"></div>
                                        <div class="handle right"></div>
                                        <div class="handle bottom-right"></div>
                                        <div class="handle bottom"></div>
                                        <div class="handle bottom-left"></div>
                                        <div class="handle left"></div>
                                    </div>
                                <?php else: ?>
                                    <div class="resize-drag initials" id="initials" style="color: <?= $colors[0]['hex']; ?>; top: <?= $top; ?>px; right: <?= $right; ?>px; bottom: <?= $bottom; ?>px; left: <?= $left; ?>px;">
                                        <div class="left initial">S</div>
                                        <div class="center initial">E</div>
                                        <div class="right initial">K</div>
                                    </div>
 
                                    <script type="text/javascript">
                                        var height = $(".initials").css("height");
                                        var adjheight = parseInt(height) * 1.3;
Arguments
  1. "Undefined offset: 0"
    
/
home
/
260298.cloudwaysapps.com
/
gmcmqbqznt
/
public_html
/
views
/
card_custom.php
                <div class="three cart-options">
                    <input class="artwork-url" id="artwork_url" type="hidden" name="artwork_url" value="">
                    <button class="button primary" id="add_to_cart">Add to Cart</button>
                    <!-- <input type="submit" class="button primary" name="add_to_cart" value="Add to Cart"> -->
                </div> <!-- /three -->
 
            </div> <!-- /row -->
        </div> <!-- /container -->
    </section> <!-- /page-header-bar -->
 
    <section class="card-customize">
        <div class="container">
            <div class="row">
 
                <div class="card-front <?= $front; ?>">
                    <div class="row">
                        <div class="card-holder <?= $front_column; ?>">
                            <div class="resize-container card front <?= $card['orientation']; ?> <?php if ($color['slug'] != 'white'): echo $color['slug']; endif; ?>" id="canvas">
                                <?php if ($card['content_type_id'] != 2): ?>
                                    <div class="resize-drag dyntextval" data-font-size="48" id="custom_content" style="text-align: center; font-family: <?= $fonts[0]['font_family']; ?>; font-size: 48px; color: <?= $colors[0]['hex']; ?>; top: <?= $top; ?>px; right: <?= $right; ?>px; bottom: <?= $bottom; ?>px; left: <?= $left; ?>px;">
                                        <div class="custom_content">Sample</div>
                                        <div class="handle top-left"></div>
                                        <div class="handle top"></div>
                                        <div class="handle top-right"></div>
                                        <div class="handle right"></div>
                                        <div class="handle bottom-right"></div>
                                        <div class="handle bottom"></div>
                                        <div class="handle bottom-left"></div>
                                        <div class="handle left"></div>
                                    </div>
                                <?php else: ?>
                                    <div class="resize-drag initials" id="initials" style="color: <?= $colors[0]['hex']; ?>; top: <?= $top; ?>px; right: <?= $right; ?>px; bottom: <?= $bottom; ?>px; left: <?= $left; ?>px;">
                                        <div class="left initial">S</div>
                                        <div class="center initial">E</div>
                                        <div class="right initial">K</div>
                                    </div>
 
                                    <script type="text/javascript">
                                        var height = $(".initials").css("height");
                                        var adjheight = parseInt(height) * 1.3;
Arguments
  1. 8
    
  2. "Undefined offset: 0"
    
  3. "/home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/views/card_custom.php"
    
  4. 148
    
  5. array:19 [
      "type" => "card_custom"
      "page" => {#47}
      "cart" => Cart {#12}
      "user" => false
      "category" => array:11 [
        "cat_id" => "1"
        "hashid" => ""
        "sort_order" => "1"
        "name" => "Luggage Tags"
        "slug" => "luggage-tags"
        "description" => "<p>Fed up of the same old luggage tags hanging off your bags? Go for something that says more about you than just your names with our credit card-sized customized tags. They’re sturdy enough to take whatever a baggage handler has to throw at them and will look great heading towards you on the luggage carousel!</p>"
        "cta_text" => "Shop Luggage Tags Here"
        "banner" => "suitcase-with-tag.jpg"
        "card_image" => "luggage-tags.png"
        "created_at" => "2016-11-22 06:33:19"
        "modified_at" => "2017-02-20 01:49:59"
      ]
      "card" => false
      "card_id" => null
      "position" => false
      "top" => "20"
      "right" => "20"
      "bottom" => "auto"
      "left" => "20"
      "front" => "six"
      "back" => "six"
      "front_column" => "six"
      "back_column" => "six"
      "color" => false
      "fonts" => []
      "colors" => []
    ]
    
/
home
/
260298.cloudwaysapps.com
/
gmcmqbqznt
/
public_html
/
app
/
classes
/
theme.php
        }
    }
 
    private static function load_style() {
        echo '<link rel="stylesheet" type="text/css" media="screen" href="' . utils::url('home') . 'assets/css/styles.css?v='.date('YmdH').'">';
    }
 
    private static function load_summit_style() {
        echo '<link rel="stylesheet" type="text/css" media="screen" href="' . utils::url('home') . 'assets/css/summit.css?v='.date('YmdH').'">';
    }
 
    public static function image($path) {
        return utils::url('home') . 'assets/img/' . $path;
    }
 
    /* the $page variable will be available in the included
     * file. This allows including with parameters
     */
    public static function template($type, $page = NULL) {
        include(VIEW_PATH . $type . '.php');
    }
}
?>
Arguments
  1. "/home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/views/card_custom.php"
    
/
home
/
260298.cloudwaysapps.com
/
gmcmqbqznt
/
public_html
/
index.php
<?php
require_once('vendor/autoload.php');
require_once('app/bootstrap.php');
 
$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();
 
$theme = new theme();
$page = page::dispatch();
$theme->template( $page->template, $page );
?>
Arguments
  1. "card_custom"
    
  2. {#47}
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"gmcmqbqznt"
HOME
"/home/260298.cloudwaysapps.com/gmcmqbqznt"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/shop/luggage-tags/uppercase-card"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/shop/luggage-tags/uppercase-card"
REMOTE_PORT
"59928"
SCRIPT_FILENAME
"/home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/260298.cloudwaysapps.com/gmcmqbqznt/public_html/"
REMOTE_ADDR
"3.236.172.187"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"specialeventkeys.com"
SERVER_SOFTWARE
"Apache/2.4.25 (Debian)"
SERVER_SIGNATURE
"<address>Apache/2.4.25 (Debian) Server at specialeventkeys.com Port 80</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_X_VARNISH
"298268"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_X_FORWARDED_FOR
"3.236.172.187"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_X_VERSION
"54"
HTTP_X_APP_USER
"gmcmqbqznt"
HTTP_X_APPLICATION
"phpstack"
HTTP_X_FORWARDED_HOST
"specialeventkeys.com"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"specialeventkeys.com"
HTTP_X_REAL_IP
"3.236.172.187"
HTTP_AUTHORIZATION
""
HTTPS
"on"
cw_allowed_ip
"0"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_cw_allowed_ip
"0"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1594124136.287
REQUEST_TIME
1594124136
empty
0. Whoops\Handler\PrettyPageHandler