Whoops \ Exception \ ErrorException (E_WARNING)
Illegal string offset 'pimage_1' Whoops\Exception\ErrorException thrown with message "Illegal string offset 'pimage_1'" Stacktrace: #11 Whoops\Exception\ErrorException in /home3/iptions/public_html/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php:534 #10 Whoops\Run:handleError in /home3/iptions/public_html/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php:534 #9 content_6420953d1e8041_04171934 in /home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 #8 Smarty_Template_Resource_Base:getRenderedTemplateCode in /home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 #7 Smarty_Template_Compiled:render in /home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 #6 Smarty_Internal_Template:render in /home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:232 #5 Smarty_Internal_TemplateBase:_execute in /home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:134 #4 Smarty_Internal_TemplateBase:display in /home3/iptions/public_html/system/helpers/bin.php:1607 #3 view in /home3/iptions/public_html/system/controllers/services.php:1405 #2 include in /home3/iptions/public_html/system/helpers/bootstrap.php:92 #1 require in /home3/iptions/public_html/system/app.php:58 #0 require in /home3/iptions/public_html/index.php:18
Stack frames (12)
11
Whoops\Exception\ErrorException
/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php534
10
Whoops\Run handleError
/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php534
9
content_6420953d1e8041_04171934
/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php123
8
Smarty_Template_Resource_Base getRenderedTemplateCode
/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php114
7
Smarty_Template_Compiled render
/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php216
6
Smarty_Internal_Template render
/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php232
5
Smarty_Internal_TemplateBase _execute
/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php134
4
Smarty_Internal_TemplateBase display
/system/helpers/bin.php1607
3
view
/system/controllers/services.php1405
2
include
/system/helpers/bootstrap.php92
1
require
/system/app.php58
0
require
/index.php18
/home3/iptions/public_html/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php
    <div class="wrapper gray-wrapper">
      <div class="container inner">
        <h2 class="section-title text-center">Portfolio</h2>
        <div class="grid-view boxed light-gallery-wrapper text-center"> 
          <div class="carousel owl-carousel gap-small" data-margin="0" data-dots="true" data-autoplay="false" data-autoplay-timeout="5000" data-responsive='{"0":{"items": "1"}, "768":{"items": "2"}, "992":{"items": "3"}}'> 
          
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['psblog']->value, 'polist');
$_smarty_tpl->tpl_vars['polist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['polist']->value) {
$_smarty_tpl->tpl_vars['polist']->do_else = false;
?>
            
          
            <div class="item">
              <div class="item-inner">
                <div class="box bg-white shadow p-30">
                  <figure class="main overlay overlay2 rounded mb-30">
                  
                      <?php if (array_key_exists('0',$_smarty_tpl->tpl_vars['polist']->value["pimage_1"])) {?>
                 <a href="<?php ob_start();
echo APP_URL;
$_prefixVariable25 = ob_get_clean();
echo $_prefixVariable25;?>
/storage/media/<?php echo $_smarty_tpl->tpl_vars['polist']->value['pimage_1'][0];?>
" class="lightbox">   
                    <img src="<?php echo $_smarty_tpl->tpl_vars['app_url']->value;?>
storage/media/<?php echo $_smarty_tpl->tpl_vars['polist']->value['pimage_1'][0];?>
" alt="" />
                    </a>
                    <?php } else { ?>
                  <a href="<?php ob_start();
echo APP_URL;
$_prefixVariable26 = ob_get_clean();
echo $_prefixVariable26;?>
/ui/theme/default/style/images/art/p1-full.jpg" class="lightbox">
                    <img src="<?php ob_start();
echo APP_URL;
$_prefixVariable27 = ob_get_clean();
echo $_prefixVariable27;?>
Arguments
  1. "Illegal string offset 'pimage_1'"
    
/home3/iptions/public_html/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php
    <div class="wrapper gray-wrapper">
      <div class="container inner">
        <h2 class="section-title text-center">Portfolio</h2>
        <div class="grid-view boxed light-gallery-wrapper text-center"> 
          <div class="carousel owl-carousel gap-small" data-margin="0" data-dots="true" data-autoplay="false" data-autoplay-timeout="5000" data-responsive='{"0":{"items": "1"}, "768":{"items": "2"}, "992":{"items": "3"}}'> 
          
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['psblog']->value, 'polist');
$_smarty_tpl->tpl_vars['polist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['polist']->value) {
$_smarty_tpl->tpl_vars['polist']->do_else = false;
?>
            
          
            <div class="item">
              <div class="item-inner">
                <div class="box bg-white shadow p-30">
                  <figure class="main overlay overlay2 rounded mb-30">
                  
                      <?php if (array_key_exists('0',$_smarty_tpl->tpl_vars['polist']->value["pimage_1"])) {?>
                 <a href="<?php ob_start();
echo APP_URL;
$_prefixVariable25 = ob_get_clean();
echo $_prefixVariable25;?>
/storage/media/<?php echo $_smarty_tpl->tpl_vars['polist']->value['pimage_1'][0];?>
" class="lightbox">   
                    <img src="<?php echo $_smarty_tpl->tpl_vars['app_url']->value;?>
storage/media/<?php echo $_smarty_tpl->tpl_vars['polist']->value['pimage_1'][0];?>
" alt="" />
                    </a>
                    <?php } else { ?>
                  <a href="<?php ob_start();
echo APP_URL;
$_prefixVariable26 = ob_get_clean();
echo $_prefixVariable26;?>
/ui/theme/default/style/images/art/p1-full.jpg" class="lightbox">
                    <img src="<?php ob_start();
echo APP_URL;
$_prefixVariable27 = ob_get_clean();
echo $_prefixVariable27;?>
Arguments
  1. 2
    
  2. "Illegal string offset 'pimage_1'"
    
  3. "/home3/iptions/public_html/storage/compiled/7bc9f1c5585804f24ed97fd5a73754b6d7f69465_0.file.front_service_post_html.tpl.php"
    
  4. 534
    
  5. array:26 [
      "_smarty_tpl" => Smarty_Internal_Template {#68}
      "_prefixVariable1" => "https://iptions.com"
      "_prefixVariable2" => "https://iptions.com"
      "_prefixVariable3" => "https://iptions.com"
      "_prefixVariable4" => "https://iptions.com"
      "_prefixVariable5" => "https://iptions.com"
      "_prefixVariable6" => "https://iptions.com"
      "_prefixVariable7" => "https://iptions.com"
      "_prefixVariable8" => "https://iptions.com"
      "_prefixVariable9" => "https://iptions.com"
      "_prefixVariable10" => "https://iptions.com"
      "_prefixVariable11" => "https://iptions.com"
      "_prefixVariable12" => "https://iptions.com"
      "_prefixVariable13" => "https://iptions.com"
      "_from" => array:1 [
        0 => ""
      ]
      "_prefixVariable14" => "https://iptions.com"
      "_prefixVariable15" => "https://iptions.com"
      "_prefixVariable16" => "https://iptions.com"
      "_prefixVariable17" => "https://iptions.com"
      "_prefixVariable18" => "https://iptions.com"
      "_prefixVariable19" => "https://iptions.com"
      "_prefixVariable20" => "https://iptions.com"
      "_prefixVariable21" => "https://iptions.com"
      "_prefixVariable22" => "https://iptions.com"
      "_prefixVariable23" => "https://iptions.com"
      "_prefixVariable24" => "https://iptions.com"
    ]
    
/home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
     * @throws \Exception
     */
    public function getRenderedTemplateCode(Smarty_Internal_Template $_template, $unifunc = null)
    {
        $smarty = &$_template->smarty;
        $_template->isRenderingCache = $this->isCache;
        $level = ob_get_level();
        try {
            if (!isset($unifunc)) {
                $unifunc = $this->unifunc;
            }
            if (empty($unifunc) || !function_exists($unifunc)) {
                throw new SmartyException("Invalid compiled template for '{$_template->template_resource}'");
            }
            if ($_template->startRenderCallbacks) {
                foreach ($_template->startRenderCallbacks as $callback) {
                    call_user_func($callback, $_template);
                }
            }
            $unifunc($_template);
            foreach ($_template->endRenderCallbacks as $callback) {
                call_user_func($callback, $_template);
            }
            $_template->isRenderingCache = false;
        } catch (Exception $e) {
            $_template->isRenderingCache = false;
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
            if (isset($smarty->security_policy)) {
                $smarty->security_policy->endTemplate();
            }
            throw $e;
        }
    }
 
    /**
     * Get compiled time stamp
     *
     * @return int
Arguments
  1. Smarty_Internal_Template {#68}
    
/home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
            $type = $_template->source->isConfig ? 'config' : 'template';
            throw new SmartyException("Unable to load {$type} '{$_template->source->type}:{$_template->source->name}'");
        }
        if ($_template->smarty->debugging) {
            if (!isset($_template->smarty->_debug)) {
                $_template->smarty->_debug = new Smarty_Internal_Debug();
            }
            $_template->smarty->_debug->start_render($_template);
        }
        if (!$this->processed) {
            $this->process($_template);
        }
        if (isset($_template->cached)) {
            $_template->cached->file_dependency =
                array_merge($_template->cached->file_dependency, $this->file_dependency);
        }
        if ($_template->source->handler->uncompiled) {
            $_template->source->handler->renderUncompiled($_template->source, $_template);
        } else {
            $this->getRenderedTemplateCode($_template);
        }
        if ($_template->caching && $this->has_nocache_code) {
            $_template->cached->hashes[ $this->nocache_hash ] = true;
        }
        if ($_template->smarty->debugging) {
            $_template->smarty->_debug->end_render($_template);
        }
    }
 
    /**
     * load compiled template or compile from source
     *
     * @param Smarty_Internal_Template $_smarty_tpl do not change variable name, is used by compiled template
     *
     * @throws Exception
     */
    public function process(Smarty_Internal_Template $_smarty_tpl)
    {
        $source = &$_smarty_tpl->source;
        $smarty = &$_smarty_tpl->smarty;
Arguments
  1. Smarty_Internal_Template {#68}
    
/home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
                ($this->_isSubTpl() ? " in '{$this->parent->template_resource}'" : '')
            );
        }
        // disable caching for evaluated code
        if ($this->source->handler->recompiled) {
            $this->caching = Smarty::CACHING_OFF;
        }
        // read from cache or render
        if ($this->caching === Smarty::CACHING_LIFETIME_CURRENT || $this->caching === Smarty::CACHING_LIFETIME_SAVED) {
            if (!isset($this->cached) || $this->cached->cache_id !== $this->cache_id
                || $this->cached->compile_id !== $this->compile_id
            ) {
                $this->loadCached(true);
            }
            $this->cached->render($this, $no_output_filter);
        } else {
            if (!isset($this->compiled) || $this->compiled->compile_id !== $this->compile_id) {
                $this->loadCompiled(true);
            }
            $this->compiled->render($this);
        }
        // display or fetch
        if ($display) {
            if ($this->caching && $this->smarty->cache_modified_check) {
                $this->smarty->ext->_cacheModify->cacheModifiedCheck(
                    $this->cached,
                    $this,
                    isset($content) ? $content : ob_get_clean()
                );
            } else {
                if ((!$this->caching || $this->cached->has_nocache_code || $this->source->handler->recompiled)
                    && !$no_output_filter && (isset($this->smarty->autoload_filters[ 'output' ])
                                              || isset($this->smarty->registered_filters[ 'output' ]))
                ) {
                    echo $this->smarty->ext->_filterHandler->runFilter('output', ob_get_clean(), $this);
                } else {
                    echo ob_get_clean();
                }
            }
            if ($this->smarty->debugging) {
Arguments
  1. Smarty_Internal_Template {#68}
    
/home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
                    // return cache status of template
                    if (!isset($template->cached)) {
                        $template->loadCached();
                    }
                    $result = $template->cached->isCached($template);
                    Smarty_Internal_Template::$isCacheTplObj[ $template->_getTemplateId() ] = $template;
                } else {
                    return false;
                }
            } else {
                if ($saveVars) {
                    $savedTplVars = $template->tpl_vars;
                    $savedConfigVars = $template->config_vars;
                }
                ob_start();
                $template->_mergeVars();
                if (!empty(Smarty::$global_tpl_vars)) {
                    $template->tpl_vars = array_merge(Smarty::$global_tpl_vars, $template->tpl_vars);
                }
                $result = $template->render(false, $function);
                $template->_cleanUp();
                if ($saveVars) {
                    $template->tpl_vars = $savedTplVars;
                    $template->config_vars = $savedConfigVars;
                } else {
                    if (!$function && !isset(Smarty_Internal_Template::$tplObjCache[ $template->templateId ])) {
                        $template->parent = null;
                        $template->tpl_vars = $template->config_vars = array();
                        Smarty_Internal_Template::$tplObjCache[ $template->templateId ] = $template;
                    }
                }
            }
            if (isset($_smarty_old_error_level)) {
                error_reporting($_smarty_old_error_level);
            }
            return $result;
        } catch (Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
Arguments
  1. false
    
  2. 1
    
/home3/iptions/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
    {
        $result = $this->_execute($template, $cache_id, $compile_id, $parent, 0);
        return $result === null ? ob_get_clean() : $result;
    }
 
    /**
     * displays a Smarty template
     *
     * @param string $template   the resource handle of the template file or template object
     * @param mixed  $cache_id   cache id to be used with this template
     * @param mixed  $compile_id compile id to be used with this template
     * @param object $parent     next higher level of Smarty variables
     *
     * @throws \Exception
     * @throws \SmartyException
     */
    public function display($template = null, $cache_id = null, $compile_id = null, $parent = null)
    {
        // display template
        $this->_execute($template, $cache_id, $compile_id, $parent, 1);
    }
 
    /**
     * test if cache is valid
     *
     * @api  Smarty::isCached()
     * @link http://www.smarty.net/docs/en/api.is.cached.tpl
     *
     * @param null|string|\Smarty_Internal_Template $template   the resource handle of the template file or template
     *                                                          object
     * @param mixed                                 $cache_id   cache id to be used with this template
     * @param mixed                                 $compile_id compile id to be used with this template
     * @param object                                $parent     next higher level of Smarty variables
     *
     * @return bool cache status
     * @throws \Exception
     * @throws \SmartyException
     */
    public function isCached($template = null, $cache_id = null, $compile_id = null, $parent = null)
    {
Arguments
  1. Smarty_Internal_Template {#68}
    
  2. null
    
  3. null
    
  4. null
    
  5. 1
    
/home3/iptions/public_html/system/helpers/bin.php
    }
}
 
/**
 * @param $template
 * @param array $vars
 * @throws SmartyException
 */
function view($template, $vars = [])
{
    global $ui;
    global $app_theme;
    foreach ($vars as $key => $value) {
        $ui->assign($key, $value);
    }
 
    if (file_exists('ui/theme/' . $app_theme . '/' . $template . '.tpl')) {
        $ui->display($template . '.tpl');
    } else {
        $ui->display('../default/' . $template . '.tpl');
    }
}
 
function view_render($template, $vars = [])
{
    global $ui;
    global $app_theme;
    foreach ($vars as $key => $value) {
        $ui->assign($key, $value);
    }
 
    if (file_exists('ui/theme/' . $app_theme . '/' . $template . '.tpl')) {
        return $ui->fetch($template . '.tpl');
    } else {
        return $ui->fetch('../default/' . $template . '.tpl');
    }
}
 
/**
 * @return string
Arguments
  1. "../default/front_service_post_html.tpl"
    
/home3/iptions/public_html/system/controllers/services.php
       'psbcategorty'=>$pcat_name,
       'pseokeywords'=>$pnewkeyword_tag,
       'pimage_1'=>$pimage_loc,
       'pdate_creat'=>$pserblog["created"]
      
      
      );
            }
            ////end porfolio
       
       
       
          $ui->assign('psblog',$pservice_blog_array);  
       
       $subcriptions = "";
             //////get subcriptions//
    $subcriptions = ORM::for_table('sys_items')->where('type', 'Subscribe')->where('category_id', $cat_id)->limit(3)->find_array();        
         
                  $ui->assign('subcribs',$subcriptions);  
            view('front_service_post_html');
     
       break;
}
Arguments
  1. "front_service_post_html"
    
/home3/iptions/public_html/system/helpers/bootstrap.php
 
 
 
 
 
 
 
 
 
// variable initializations
 
$xheader = '';
$xfooter = '';
$xjq = '';
 
$pl_path = '';
//
$sys_render = 'system/controllers/' . $handler . '.php';
if (file_exists($sys_render)) {
    include($sys_render);exit();
 
} else {
 
    // exit ("$sys_render");
 
//    @Since v 2.4 supports routing to plugin
 
    $p1 = false;
    $p2 = false;
 
    if (isset($routes[0]) AND ($routes[0]) != '') {
        $p1 = true;
    }
 
    if (isset($routes[1]) AND ($routes[1]) != '') {
        $p2 = true;
    }
 
    if ($p1 AND $p2) {
 
Arguments
  1. "/home3/iptions/public_html/system/controllers/services.php"
    
/home3/iptions/public_html/system/app.php
    exit();
}
 
/*
|--------------------------------------------------------------------------
| To load composer autoload
|--------------------------------------------------------------------------
|
*/
 
require 'vendor/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Start the Application
|--------------------------------------------------------------------------
|
*/
 
require 'system/helpers/bootstrap.php';
 
Arguments
  1. "/home3/iptions/public_html/system/helpers/bootstrap.php"
    
/home3/iptions/public_html/index.php
<?php
 ///force everything to https if its not this link
//var_dump($_SERVER);
/* if($_SERVER["REQUEST_URI"] !== "/p/?ng=forwardallemail"){
     
    //// turn to https
    //If the HTTPS is not found to be "on"
if(!isset($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] != "on")
{
    //Tell the browser to redirect to the HTTPS URL.
    header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"], true, 301);
    //Prevent the rest of the script from executing.
    exit;
} 
     }*/
 
define('APP_RUN', true);
require ('system/app.php');
 
Arguments
  1. "/home3/iptions/public_html/system/app.php"
    

Environment & details:

Key Value
ng
"services/services-post_html_city_state/Website_Design-Lemont-Pennsylvania-template_theme  42"
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"www.iptions.com"
HTTP_USER_AGENT
"claudebot"
HTTP_X_HTTPS
"1"
DOCUMENT_ROOT
"/home3/iptions/public_html"
REMOTE_ADDR
"35.171.159.141"
REMOTE_PORT
"38842"
SERVER_ADDR
"157.90.36.210"
SERVER_NAME
"www.iptions.com"
SERVER_ADMIN
"webmaster@iptions.com"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REQUEST_URI
"/Website_Design-Lemont-Pennsylvania-template_theme+42.html"
REDIRECT_URL
"/Website_Design-Lemont-Pennsylvania-template_theme+42.html"
REDIRECT_REQUEST_METHOD
"GET"
HTTPS
"on"
REDIRECT_STATUS
"200"
X_SPDY
"HTTP2"
SSL_PROTOCOL
"TLSv1.3"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CIPHER_ALGKEYSIZE
"256"
SCRIPT_FILENAME
"/home3/iptions/public_html/index.php"
QUERY_STRING
"ng=services/services-post_html_city_state/Website_Design-Lemont-Pennsylvania-template_theme++42"
SCRIPT_URI
"https://www.iptions.com/Website_Design-Lemont-Pennsylvania-template_theme+42.html"
SCRIPT_URL
"/Website_Design-Lemont-Pennsylvania-template_theme+42.html"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711613540.476
REQUEST_TIME
1711613540
argv
array:3 [
  0 => "ng=services/services-post_html_city_state/Website_Design-Lemont-Pennsylvania-template_theme"
  1 => ""
  2 => "42"
]
argc
3
empty
0. Whoops\Handler\PrettyPageHandler