<errors><Message>Error retrieving credentials from the instance profile metadata service. (Client error: `GET http://169.254.169.254/latest/meta-data/iam/security-credentials/` resulted in a `401 Unauthorized` response)</Message><Server>unknown (unknown)</Server><URL>http://www.nelsontruck.com/i-15498-weathertech-side-window-deflector-80800.html</URL><IP>216.73.216.180</IP><Database_Server>dbmain-prod-wdsolutions-1.cluster-ro-cpum6qcicyxr.us-west-2.rds.amazonaws.com</Database_Server><Database_Name>wsm_live</Database_Name><Query>-- 'www.nelsontruck.com/i-15498-weathertech-side-window-deflector-80800.html'
SELECT `id` FROM `server` WHERE `tag`='web-04'</Query><backtrace><error><file>/var/www/wsm/app/inc/error.inc.php:78</file><call>wsmBacktrace</call><callparams>NULL,'/var/www/wsm/app/inc/error.inc.php',78,false</callparams><source><line>error.inc.php:75     </line><line>error.inc.php:76     if (!$bt) {</line><line>error.inc.php:77     $file = __FILE__;</line><line>error.inc.php:78     $line = __LINE__;</line><line>error.inc.php:79     $bt = debug_backtrace();</line></source></error><error><file>/var/www/wsm/app/inc/error.inc.php:340</file><call>trigger_error</call><callparams>'Error retrieving credentials from the instance profile metadata service. (Client error: `GET http://169.254.169.254/latest/meta-data/iam/security-credentials/` resulted in a `401 Unauthorized` response)',512</callparams><source><line>error.inc.php:337    echo wsmErrorInfo('Message', $errstr);</line><line>error.inc.php:338    echo wsmEnvironmentErrorInfo();</line><line>error.inc.php:339    echo wsmDatabaseErrorInfo();</line><line>error.inc.php:340    echo wsmBacktrace(null, null, null, false);</line><line>error.inc.php:341    </line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:764</file><call>Aws\S3\StreamWrapper-&gt;triggerError</call><callparams>'Error retrieving credentials from the instance profile metadata service. (Client error: `GET http://169.254.169.254/latest/meta-data/iam/security-credentials/` resulted in a `401 Unauthorized` response)',0</callparams><source><line>StreamWrapper.php:761    }</line><line>StreamWrapper.php:762    </line><line>StreamWrapper.php:763    // This is triggered when doing things like lstat() or stat()</line><line>StreamWrapper.php:764    trigger_error(implode(&quot;\n&quot;, (array) $errors), E_USER_WARNING);</line><line>StreamWrapper.php:765    </line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:943</file><call>Aws\S3\StreamWrapper-&gt;boolCall</call><callparams>object&lt;Closure&gt;,0</callparams><source><line>StreamWrapper.php:940    try {</line><line>StreamWrapper.php:941    return $fn();</line><line>StreamWrapper.php:942    } catch (\Exception $e) {</line><line>StreamWrapper.php:943    return $this-&gt;triggerError($e-&gt;getMessage(), $flags);</line><line>StreamWrapper.php:944    }</line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:299</file><call>Aws\S3\StreamWrapper-&gt;createStat</call><callparams>'s3://wsm-prod-assets-ntdev2/cms/17',0</callparams><source><line>StreamWrapper.php:296    return $this-&gt;statDirectory($parts, $path, $flags);</line><line>StreamWrapper.php:297    }</line><line>StreamWrapper.php:298    </line><line>StreamWrapper.php:299    return $this-&gt;boolCall(function () use ($parts, $path) {</line><line>StreamWrapper.php:300    try {</line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:270</file><call>filemtime</call><callparams>'s3://wsm-prod-assets-ntdev2/cms/17'</callparams><source><line>StreamWrapper.php:267    return $value;</line><line>StreamWrapper.php:268    }</line><line>StreamWrapper.php:269    </line><line>StreamWrapper.php:270    $stat = $this-&gt;createStat($path, $flags);</line><line>StreamWrapper.php:271    </line></source></error><error><file>/var/www/wsm/app/plugins/smarty/frontend/function.cms_filemtime.php:9</file><call>smarty_function_cms_filemtime</call><callparams>{&quot;filename&quot;:&quot;\/js\/wsm_custom.js&quot;},object&lt;Smarty&gt;</callparams><source><line>function.cms_filemtime.php:6      $cmsFileModel = Model::get('cms.file');</line><line>function.cms_filemtime.php:7      $cmsFile = $cmsFileModel-&gt;getByPath($params['filename']);</line><line>function.cms_filemtime.php:8      if ($cmsFile)</line><line>function.cms_filemtime.php:9      return filemtime($cmsFile-&gt;getPath());</line><line>function.cms_filemtime.php:10     else</line></source></error><error><file>/shared/cache/smarty/templates_c/1258/compile/%%82/824/824596EF%%widget%3Awsmtpl_cms_file_tag.php:5</file><call>include</call><callparams>'/shared/cache/smarty/templates_c/1258/compile/%%82/824/824596EF%%widget%3Awsmtpl_cms_file_tag.php'</callparams><source><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:2      compiled from widget:wsmtpl_cms_file_tag */ ?&gt;</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:3      &lt;?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:4      smarty_core_load_plugins(array('plugins' =&gt; array(array('modifier', 'replace', 'widget:wsmtpl_cms_file_tag', 21, false),array('function', 'cms_filemtime', 'widget:wsmtpl_cms_file_tag', 38, false),)), $this); ?&gt;</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:5      &lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php if ($this-&gt;_tpl_vars['params']['file_path'] &amp;&amp; $this-&gt;_tpl_vars['params']['file_type_ext']): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_path', $this-&gt;_tpl_vars['params']['file_path']); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_type', $this-&gt;_tpl_vars['params']['file_type_ext']); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_query_string', &quot;?v&quot;); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_path_full', $this-&gt;_tpl_vars['file_path']); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_path_short', ((is_array($_tmp=$this-&gt;_tpl_vars['file_path'])) ? $this-&gt;_run_mod_handler('replace', true, $_tmp, '/files/', '/') : smarty_modifier_replace($_tmp, '/files/', '/'))); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php if ($this-&gt;_tpl_vars['file_type'] == 'css'): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_valid', 'true'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_open', '&lt;link rel=&quot;stylesheet&quot; href=&quot;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_close', '&quot;&gt;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php elseif ($this-&gt;_tpl_vars['file_type'] == 'js'): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_valid', 'true'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_open', '&lt;script src=&quot;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_close', '&quot;&gt;&lt;/script&gt;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php else: ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_valid', 'false'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php if ($this-&gt;_tpl_vars['tag_valid'] == 'true'): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['tag_open']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['file_path_full']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['file_query_string']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo smarty_function_cms_filemtime(array('filename' =&gt; $this-&gt;_tpl_vars['file_path_short']), $this);?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['tag_close']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php else: ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('widget_msg_error', &quot;WIDGET ERROR: wsmtpl_cms_file_tag : Required Parameter: Invalid file_type_ext : valid values: css, js&quot;); ?&gt;&lt;?php echo '&lt;!-- '; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo ' --&gt;&lt;script&gt;console.log(&quot;'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo '&quot;)&lt;/script&gt;'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php else: ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('widget_msg_error', &quot;WIDGET ERROR: wsmtpl_cms_file_tag : Required Parameters: file_path and file_type_ext&quot;); ?&gt;&lt;?php echo '&lt;!-- '; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo ' --&gt;&lt;script&gt;console.log(&quot;'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo '&quot;)&lt;/script&gt;'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo ''; ?&gt;</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:6      </line></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php:1896</file><call>Smarty-&gt;_smarty_include</call><callparams>{&quot;smarty_include_tpl_file&quot;:&quot;widget:wsmtpl_cms_file_tag&quot;,&quot;smarty_include_vars&quot;:{&quot;params&quot;:{&quot;name&quot;:&quot;wsmtpl_cms_file_tag&quot;,&quot;file_path&quot;:&quot;\/files\/js\/wsm_custom.js&quot;,&quot;file_type_ext&quot;:&quot;js&quot;}}}</callparams><source><line>Smarty.class.php:1893   if ($this-&gt;_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path)</line><line>Smarty.class.php:1894   || $this-&gt;_compile_resource($params['smarty_include_tpl_file'], $_smarty_compile_path))</line><line>Smarty.class.php:1895   {</line><line>Smarty.class.php:1896   include($_smarty_compile_path);</line><line>Smarty.class.php:1897   }</line></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php(1961) : eval()'d code:103</file><call>eval</call><callparams></callparams><source></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php:1961</file><call>Smarty-&gt;_eval</call><callparams>'?&gt;&lt;?php /* Smarty version 2.6.30, created on 2026-04-07 14:45:23
         compiled from evaluated+template */ ?&gt;
&lt;?php require_once(SMARTY_CORE_DIR . \'core.load_plugins.php\');
smarty_core_load_plugins(array(\'plugins\' =&gt; array(array(\'function\', \'solr_init\', \'evaluated template\', 22, false),array(\'function\', \'model_query\', \'evaluated template\', 113, false),array(\'modifier\', \'pretty_url\', \'evaluated template\', 117, false),)), $this); ?&gt;
    &lt;!-- Login Modal --&gt;
    &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:bs_login\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'bs_login\'))));
 ?&gt;

    &lt;!-- Cart Content  --&gt;
    &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:bs_cart_bottom\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'bs_cart_bottom\'))));
 ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'product\'): ?&gt;
    &lt;div class=&quot;sharethis_wrap&quot;&gt;
        &lt;span class=\'st_facebook_large\' displayText=\'Facebook\'&gt;&lt;/span&gt;
        &lt;span class=\'st_twitter_large\' displayText=\'Tweet\'&gt;&lt;/span&gt;
        &lt;span class=\'st_pinterest_large\' displayText=\'Pinterest\'&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'wsm_category\']-&gt;categories != \'0\' &amp;&amp; $this-&gt;_tpl_vars[\'wsm_category\']-&gt;products == \'0\'): ?&gt;
        &lt;?php $this-&gt;assign(\'solrinit_facet_fields\', \'category\'); ?&gt;
    &lt;?php else: ?&gt;
        &lt;?php $this-&gt;assign(\'solrinit_facet_fields\', &quot;actual_color,angle,ball_diameter_inches,ball_shank_diameter_inches,bolt_pattern,brake_drum_or_rotor_diameter,coating_or_finish,color,color_and_material,diameter,diameter_inches,diameter_inside_inches,diameter_outside_inches,drop_inches,filter_color,filter_material,filter_style,finish,fuel,gross_trailer_weight_lbs,height_inches,horse_power_increase,housing_color,inlet_size_inches,inside_diameter,installed_height_inches,intake_pipe_color_finish,jacket_size,jet_size,led_color,lens_color,lift_by_drop_height_inches,lifter_type,light_color,lighting_color,lighting_type,lug_number,material,max_load,max_temperature_limit,max_temperature_rating,outlet_size_inches,outside_length,outside_width,overall_length_inches,position,ratio,rear_axle_ratio,rim_color_and_material,ring_size,rise_inches,shank_length_inches,shirt_color,shirt_size,shirt_style,shock_stroke_inches,size,size_by_length,size_inches,spoke_color,spoke_number,style,thickness,thread_size,tip_size,tube_shape,type,voltage,wattage,wheel_base,wheel_lug,wheel_size,wheel_size_original_equipment,wheel_type,width_inches,raw_lumens,peak_beam_intensity_cd,field_vertical,field_horizontal,beam_distance_w_25_lux,beam_distance_w_1_lux,amp_draw,lux_at_10m,cross_over_rail_wide,gloss_black,double_doors,diamond_plate,weldon,muffler_overall_length_inches,muffler_outlet_diameter_inches,muffler_inlet_diameter_inches,muffler_body_width_inches,muffler_body_shape,muffler_body_height_inches,muffler_body_length_inches,gross_vehicle_weight,extension_travel,lift_weight_lbs,stow_height,max_reach,max_height,height_to_bottom_of_platform,flare_height_in,drawer,length_inches,frame_width,cab_to_axle,flare_height_inches,remote,flare_height,glove_size,gasket_or_seal_included,single_door,underbed,inlet_quantity,outlet_quantity,product_grade,mounting_bracket_included,wall_thickness,burst_strength,converter_body_size,outlet_tip_shape,outlet_inside_diameter_inches,downpipe_diameter_inches,tail_pipe_quantity,tip_type,tip_shape,tip_length_inches,inlet_outside_diameter_inches,wheel_stud_number,taper_in,capacity_lbs,travel_in,load_area_in,weldon,port_shape,tube_direction,collector_tube_size_inches,tip_material,series,attachment_type,kicker_mounting_position,design,construction,outlet_outside_diameter_inches,insulated,compatibility,california_restricted,tube_style,package_content,strap_material,mounting_method,material_thickness,lockable,load_rate,foldable,carrying_capacity,break_strength,fuel_type,quick_release,roof_height,trade,vehicle_make,suspension_rear_u_bolts,window,measurement,pre_collision_system&quot;); ?&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'ymm_selector\'] == \'true\'): ?&gt;
        &lt;?php echo smarty_function_solr_init(array(\'facet_match\' =&gt; \'true\',\'search_fields\' =&gt; &quot;{
                dealerid_clean:\'strict|boosted+9\',
                dealerid:\'strict|boosted+8\',
                dealerid_sku:\'boosted+7\',
                stockid:\'left|boosted+6\',
                meta_keywords:\'expanded|loose|boosted+5\',
                brand:\'expanded|loose|boosted+4\',
                title:\'expanded|joined|wild|boosted+3\',
                title_normalized:\'loose|joined|boosted+2\',
                yearmakemodel:\'expanded|joined|wild\',
                summary2:\'strict1\',
                summary:\'strict\',
                category:\'strict\'
                }&quot;,\'facet_fields\' =&gt; ($this-&gt;_tpl_vars[\'solrinit_facet_fields\']),\'facet_compounded_field\' =&gt; \'yearmakemodel\',\'fields\' =&gt; &quot;tags,title,summary,category_id&quot;,\'result_container\' =&gt; \'documents\',\'return_fields\' =&gt; &quot;id,url,title,price,sale,category,category_id,summary,availability,productid&quot;,\'homepage\' =&gt; \'true\'), $this);?&gt;

    &lt;?php else: ?&gt;
        &lt;?php echo smarty_function_solr_init(array(\'facet_match\' =&gt; \'true\',\'inclusion_search\' =&gt; \'true\',\'search_fields\' =&gt; &quot;{
                dealerid_clean:\'strict|boosted+9\',
                dealerid:\'strict|boosted+8\',
                dealerid_sku:\'boosted+7\',
                stockid:\'left|boosted+6\',
                meta_keywords:\'expanded|loose|boosted+5\',
                brand:\'expanded|loose|boosted+4\',
                title:\'expanded|joined|wild|boosted+3\',
                title_normalized:\'loose|joined|boosted+2\',
                yearmakemodel:\'expanded|joined|wild\',
                summary2:\'strict1\',
                summary:\'strict\',
                category:\'strict\'
                }&quot;,\'facet_fields\' =&gt; ($this-&gt;_tpl_vars[\'solrinit_facet_fields\']),\'facet_compounded_field\' =&gt; \'\',\'fields\' =&gt; &quot;&quot;,\'result_container\' =&gt; \'documents\',\'return_fields\' =&gt; &quot;id,url,title,price,sale,summary,category,category_id,availability,productid&quot;), $this);?&gt;

    &lt;?php endif; ?&gt;
&lt;script&gt;
$(\'#edit-keys\').on(\'input\',function(){this.value = this.value.toUpperCase()});
&lt;/script&gt;


    &lt;?php if ($this-&gt;_tpl_vars[\'customer_order\']): ?&gt;
        &lt;script&gt;
        &lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if ($this-&gt;_tpl_vars[\'customer_order\']): ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $this-&gt;assign(\'objName\', \'acctOrders\'); ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $_from = $this-&gt;_tpl_vars[\'customer_order\']; if (!is_array($_from) &amp;&amp; !is_object($_from)) { settype($_from, \'array\'); }$this-&gt;_foreach[\'jsonObj\'] = array(\'total\' =&gt; count($_from), \'iteration\' =&gt; 0);
if ($this-&gt;_foreach[\'jsonObj\'][\'total\'] &gt; 0):
    foreach ($_from as $this-&gt;_tpl_vars[\'jsonObj\']):
        $this-&gt;_foreach[\'jsonObj\'][\'iteration\']++;
?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] &lt;= 1)): ?&gt;&lt;?php echo \'var \'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'objName\']; ?&gt;&lt;?php echo \' = {\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'jsonObj\']-&gt;id; ?&gt;&lt;?php echo \' : {id: \\\'\'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'jsonObj\']-&gt;id; ?&gt;&lt;?php echo \'\\\',memo: \\\'\'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'jsonObj\']-&gt;memo; ?&gt;&lt;?php echo \'\\\'}\'; ?&gt;&lt;?php if (! ($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \',\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \'}\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php endforeach; endif; unset($_from); ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;

        &lt;/script&gt;
    &lt;?php else: ?&gt;
        &lt;script&gt;var acctOrders = undefined&lt;/script&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'wsm_product\']): ?&gt;
        &lt;script&gt;
        // Push new values to the product variabls
        product.availability 	= \'&lt;?php echo $this-&gt;_tpl_vars[\'wsm_product\']-&gt;availability; ?&gt;
\';
        product.brand 			= \'&lt;?php echo $this-&gt;_tpl_vars[\'wsm_product\']-&gt;brand; ?&gt;
\';
        &lt;?php if ($this-&gt;_tpl_vars[\'series\']): ?&gt;
        product.series 			= \'&lt;?php echo $this-&gt;_tpl_vars[\'series\']-&gt;id; ?&gt;
\';
        &lt;?php endif; ?&gt;
        &lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo smarty_function_model_query(array(\'model\' =&gt; \'category\',\'filter\' =&gt; &quot;parent=null,hidden=false&quot;,\'assign\' =&gt; \'rootCats\'), $this);?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $this-&gt;assign(\'objName\', \'rootCats\'); ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $_from = $this-&gt;_tpl_vars[\'rootCats\']; if (!is_array($_from) &amp;&amp; !is_object($_from)) { settype($_from, \'array\'); }$this-&gt;_foreach[\'jsonObj\'] = array(\'total\' =&gt; count($_from), \'iteration\' =&gt; 0);
if ($this-&gt;_foreach[\'jsonObj\'][\'total\'] &gt; 0):
    foreach ($_from as $this-&gt;_tpl_vars[\'jsonObj\']):
        $this-&gt;_foreach[\'jsonObj\'][\'iteration\']++;
?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] &lt;= 1)): ?&gt;&lt;?php echo \'var \'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'objName\']; ?&gt;&lt;?php echo \' = [\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\\\'\'; ?&gt;&lt;?php echo ((is_array($_tmp=$this-&gt;_tpl_vars[\'jsonObj\']-&gt;title)) ? $this-&gt;_run_mod_handler(\'pretty_url\', true, $_tmp) : wsmPrettyUrl($_tmp)); ?&gt;&lt;?php echo \'\\\'\'; ?&gt;&lt;?php if (! ($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \',\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \']\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php endforeach; endif; unset($_from); ?&gt;&lt;?php echo \'\'; ?&gt;

        &lt;/script&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'home\'): ?&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;/files/owl/owl-min.js&quot;&gt;&lt;/script&gt;
    &lt;?php endif; ?&gt;
    &lt;script type=\'text/javascript\' src=&quot;//wurfl.io/wurfl.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;/files/js/bs_min.js&quot;&gt;&lt;/script&gt;
    &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:wsmtpl_cms_file_tag\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'wsmtpl_cms_file_tag\',\'file_path\' =&gt; &quot;/files/js/wsm_custom.js&quot;,\'file_type_ext\' =&gt; \'js\'))));
 ?&gt;
    &lt;!--&lt;script type=&quot;text/javascript&quot; src=&quot;/files/js/modernizr-foundation.js&quot;&gt;&lt;/script&gt;--&gt;

&lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:atc_required_products\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'atc_required_products\'))));
 ?&gt;
    &lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'auth\'][\'user\']-&gt;admin == \'true\'): ?&gt;&lt;?php endif; ?&gt;

&lt;/body&gt;
&lt;/html&gt;'</callparams><source><line>Smarty.class.php:1958   */</line><line>Smarty.class.php:1959   function _eval($code, $params=null)</line><line>Smarty.class.php:1960   {</line><line>Smarty.class.php:1961   return eval($code);</line><line>Smarty.class.php:1962   }</line></source></error><error><file>/var/www/wsm/app/lib/smarty/plugins/function.eval.php:36</file><call>smarty_function_eval</call><callparams>{&quot;var&quot;:&quot;    &lt;!-- Login Modal --&gt;\r\n    {{ widget name='bs_login' }}\r\n\r\n    &lt;!-- Cart Content  --&gt;\r\n    {{ widget name='bs_cart_bottom' }}\r\n\r\n    {{ if $env.page.name == 'product' }}\r\n    &lt;div class=\&quot;sharethis_wrap\&quot;&gt;\r\n        &lt;span class='st_facebook_large' displayText='Facebook'&gt;&lt;\/span&gt;\r\n        &lt;span class='st_twitter_large' displayText='Tweet'&gt;&lt;\/span&gt;\r\n        &lt;span class='st_pinterest_large' displayText='Pinterest'&gt;&lt;\/span&gt;\r\n    &lt;\/div&gt;\r\n    {{ \/if }}\r\n\r\n    {{ if $wsm_category-&gt;categories != '0' &amp;&amp; $wsm_category-&gt;products == '0' }}\r\n        {{ assign var=\&quot;solrinit_facet_fields\&quot; value=\&quot;category\&quot; }}\r\n    {{ else }}\r\n        {{ assign var=\&quot;solrinit_facet_fields\&quot; value=\&quot;actual_color,angle,ball_diameter_inches,ball_shank_diameter_inches,bolt_pattern,brake_drum_or_rotor_diameter,coating_or_finish,color,color_and_material,diameter,diameter_inches,diameter_inside_inches,diameter_outside_inches,drop_inches,filter_color,filter_material,filter_style,finish,fuel,gross_trailer_weight_lbs,height_inches,horse_power_increase,housing_color,inlet_size_inches,inside_diameter,installed_height_inches,intake_pipe_color_finish,jacket_size,jet_size,led_color,lens_color,lift_by_drop_height_inches,lifter_type,light_color,lighting_color,lighting_type,lug_number,material,max_load,max_temperature_limit,max_temperature_rating,outlet_size_inches,outside_length,outside_width,overall_length_inches,position,ratio,rear_axle_ratio,rim_color_and_material,ring_size,rise_inches,shank_length_inches,shirt_color,shirt_size,shirt_style,shock_stroke_inches,size,size_by_length,size_inches,spoke_color,spoke_number,style,thickness,thread_size,tip_size,tube_shape,type,voltage,wattage,wheel_base,wheel_lug,wheel_size,wheel_size_original_equipment,wheel_type,width_inches,raw_lumens,peak_beam_intensity_cd,field_vertical,field_horizontal,beam_distance_w_25_lux,beam_distance_w_1_lux,amp_draw,lux_at_10m,cross_over_rail_wide,gloss_black,double_doors,diamond_plate,weldon,muffler_overall_length_inches,muffler_outlet_diameter_inches,muffler_inlet_diameter_inches,muffler_body_width_inches,muffler_body_shape,muffler_body_height_inches,muffler_body_length_inches,gross_vehicle_weight,extension_travel,lift_weight_lbs,stow_height,max_reach,max_height,height_to_bottom_of_platform,flare_height_in,drawer,length_inches,frame_width,cab_to_axle,flare_height_inches,remote,flare_height,glove_size,gasket_or_seal_included,single_door,underbed,inlet_quantity,outlet_quantity,product_grade,mounting_bracket_included,wall_thickness,burst_strength,converter_body_size,outlet_tip_shape,outlet_inside_diameter_inches,downpipe_diameter_inches,tail_pipe_quantity,tip_type,tip_shape,tip_length_inches,inlet_outside_diameter_inches,wheel_stud_number,taper_in,capacity_lbs,travel_in,load_area_in,weldon,port_shape,tube_direction,collector_tube_size_inches,tip_material,series,attachment_type,kicker_mounting_position,design,construction,outlet_outside_diameter_inches,insulated,compatibility,california_restricted,tube_style,package_content,strap_material,mounting_method,material_thickness,lockable,load_rate,foldable,carrying_capacity,break_strength,fuel_type,quick_release,roof_height,trade,vehicle_make,suspension_rear_u_bolts,window,measurement,pre_collision_system\&quot; }}\r\n    {{ \/if }}\r\n\r\n    {{ if $ymm_selector == 'true' }}\r\n        {{ solr_init \r\n            facet_match=\&quot;true\&quot; \r\n            search_fields=\&quot;{\r\n                dealerid_clean:'strict|boosted+9',\r\n                dealerid:'strict|boosted+8',\r\n                dealerid_sku:'boosted+7',\r\n                stockid:'left|boosted+6',\r\n                meta_keywords:'expanded|loose|boosted+5',\r\n                brand:'expanded|loose|boosted+4',\r\n                title:'expanded|joined|wild|boosted+3',\r\n                title_normalized:'loose|joined|boosted+2',\r\n                yearmakemodel:'expanded|joined|wild',\r\n                summary2:'strict1',\r\n                summary:'strict',\r\n                category:'strict'\r\n                }\&quot; \r\n            facet_fields=\&quot;`$solrinit_facet_fields`\&quot; \r\n            facet_compounded_field='yearmakemodel' \r\n            fields=\&quot;tags,title,summary,category_id\&quot; \r\n            result_container=\&quot;documents\&quot; \r\n            return_fields=\&quot;id,url,title,price,sale,category,category_id,summary,availability,productid\&quot; \r\n            homepage=\&quot;true\&quot;\r\n        }}\r\n    {{ else }}\r\n        {{ solr_init\r\n            facet_match=\&quot;true\&quot; \r\n            inclusion_search='true' \r\n            search_fields=\&quot;{\r\n                dealerid_clean:'strict|boosted+9',\r\n                dealerid:'strict|boosted+8',\r\n                dealerid_sku:'boosted+7',\r\n                stockid:'left|boosted+6',\r\n                meta_keywords:'expanded|loose|boosted+5',\r\n                brand:'expanded|loose|boosted+4',\r\n                title:'expanded|joined|wild|boosted+3',\r\n                title_normalized:'loose|joined|boosted+2',\r\n                yearmakemodel:'expanded|joined|wild',\r\n                summary2:'strict1',\r\n                summary:'strict',\r\n                category:'strict'\r\n                }\&quot; \r\n                facet_fields=\&quot;`$solrinit_facet_fields`\&quot; \r\n            facet_compounded_field='' \r\n            fields=\&quot;\&quot;\r\n            result_container=\&quot;documents\&quot;\r\n            return_fields=\&quot;id,url,title,price,sale,summary,category,category_id,availability,productid\&quot; \r\n        }}\r\n    {{ \/if }}\r\n{{* LITTLE HACK to uppercase the search terms RJ 6\/29\/18 *}}\r\n&lt;script&gt;\r\n$('#edit-keys').on('input',function(){this.value = this.value.toUpperCase()});\r\n&lt;\/script&gt;\r\n\r\n\r\n    {{ if $customer_order }}\r\n        &lt;script&gt;\r\n        {{ strip }}\r\n        {{* My Account Page - Show MEMO field which contains the TN Invoice # *}}\r\n        {{*  Smarty JSON Object Template *}}\r\n        {{ if $customer_order }}\r\n            {{ assign var='objName' value='acctOrders' }}\r\n            {{ foreach item=jsonObj from=$customer_order name='jsonObj' }}\r\n            {{ if $smarty.foreach.jsonObj.first }}\r\n            var {{ $objName }} = {\r\n            {{ \/if }}\r\n\r\n                {{ $jsonObj-&gt;id }} : {\r\n                    id: '{{ $jsonObj-&gt;id }}',\r\n                    memo: '{{ $jsonObj-&gt;memo }}'\r\n                }{{ if !$smarty.foreach.jsonObj.last }},{{ \/if }}\r\n            \r\n            {{ if $smarty.foreach.jsonObj.last }}\r\n            }\r\n            {{ \/if }}\r\n            {{ \/foreach }}\r\n        {{ \/if }}\r\n        {{ \/strip }}\r\n        &lt;\/script&gt;\r\n    {{ else }}\r\n        &lt;script&gt;var acctOrders = undefined&lt;\/script&gt;\r\n    {{ \/if }}\r\n\r\n    {{ if $wsm_product }}\r\n        &lt;script&gt;\r\n        \/\/ Push new values to the product variabls\r\n        product.availability \t= '{{ $wsm_product-&gt;availability }}';\r\n        product.brand \t\t\t= '{{ $wsm_product-&gt;brand }}';\r\n        {{ if $series }}\r\n        product.series \t\t\t= '{{ $series-&gt;id }}';\r\n        {{ \/if }}\r\n        {{ strip }}\r\n        {{* Object Listing Root Categories Used on Product Detail page *}}\r\n        {{*  Smarty JSON Object Template *}}\r\n            {{ model_query model='category' filter=\&quot;parent=null,hidden=false\&quot; assign='rootCats' }}\r\n            {{ assign var='objName' value='rootCats' }}\r\n            {{ foreach item=jsonObj from=$rootCats name='jsonObj' }}\r\n            {{ if $smarty.foreach.jsonObj.first }}var {{ $objName }} = [{{ \/if }}\r\n            '{{ $jsonObj-&gt;title|pretty_url }}'\r\n            {{ if !$smarty.foreach.jsonObj.last }},{{ \/if }}\r\n            {{ if $smarty.foreach.jsonObj.last }}]{{ \/if }}\r\n            {{ \/foreach }}\r\n        {{ \/strip }}\r\n        &lt;\/script&gt;\r\n    {{ \/if }}\r\n\r\n    {{ if $env.page.name == 'home' }}\r\n    &lt;script type=\&quot;text\/javascript\&quot; src=\&quot;\/files\/owl\/owl-min.js\&quot;&gt;&lt;\/script&gt;\r\n    {{ \/if }}\r\n    &lt;script type='text\/javascript' src=\&quot;\/\/wurfl.io\/wurfl.js\&quot;&gt;&lt;\/script&gt;\r\n    &lt;script type=\&quot;text\/javascript\&quot; src=\&quot;\/files\/js\/bs_min.js\&quot;&gt;&lt;\/script&gt;\r\n    {{ widget name=\&quot;wsmtpl_cms_file_tag\&quot; file_path=\&quot;\/files\/js\/wsm_custom.js\&quot; file_type_ext=\&quot;js\&quot; }}\r\n    &lt;!--&lt;script type=\&quot;text\/javascript\&quot; src=\&quot;\/files\/js\/modernizr-foundation.js\&quot;&gt;&lt;\/script&gt;--&gt;\r\n\r\n{{* BETA SITE FEEDBACK LINK : RJ 01-24-18 *}}\r\n{{* &lt;a href=\&quot;https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSfcVDfWbixVSFlKo6aYxF6v7IzeTZp3zPX8UPYtlAaxg6p14w\/viewform\&quot; title=\&quot;Provide us your feedback please\&quot; target=\&quot;_blank\&quot; class=\&quot;btn btn-primary\&quot; style=\&quot;position:fixed; right:5px; bottom:20px;\&quot;&gt;&lt;i class=\&quot;fa fa-plus-square-o\&quot;&gt;&lt;\/i&gt; Beta Site Feeback&lt;\/a&gt;*}}\r\n{{* Required Products pulled from Admin Notes of a Product *}}\r\n{{ widget name=\&quot;atc_required_products\&quot; }}\r\n    {{ if $env.auth.user-&gt;admin == 'true' }}{{* debug *}}{{ \/if }}\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;&quot;},object&lt;Smarty&gt;</callparams><source><line>function.eval.php:33     $smarty-&gt;_compile_source('evaluated template', $params['var'], $_var_compiled);</line><line>function.eval.php:34     </line><line>function.eval.php:35     ob_start();</line><line>function.eval.php:36     $smarty-&gt;_eval('?&gt;' . $_var_compiled);</line><line>function.eval.php:37     $_contents = ob_get_contents();</line></source></error><error><file>/shared/cache/smarty/templates_c/1258/compile/%%B3/B38/B3858155%%view.php:185</file><call>include</call><callparams>'/shared/cache/smarty/templates_c/1258/compile/%%B3/B38/B3858155%%view.php'</callparams><source><line>B3858155%%view.php:182    </line><line>B3858155%%view.php:183    &lt;?php echo smarty_function_getbyid(array('assign' =&gt; 'wsm_05_scripts','model' =&gt; 'template','id' =&gt; $this-&gt;_tpl_vars['wsm_05_scripts_id']), $this);?&gt;</line><line>B3858155%%view.php:184    </line><line>B3858155%%view.php:185    &lt;?php echo smarty_function_eval(array('var' =&gt; $this-&gt;_tpl_vars['wsm_05_scripts']-&gt;data), $this);?&gt;</line><line>B3858155%%view.php:186    </line></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php:1284</file><call>Smarty-&gt;fetch</call><callparams>'frame::frontend/product/view',NULL,NULL,true</callparams><source><line>Smarty.class.php:1281   if ($this-&gt;_is_compiled($resource_name, $_smarty_compile_path)</line><line>Smarty.class.php:1282   || $this-&gt;_compile_resource($resource_name, $_smarty_compile_path))</line><line>Smarty.class.php:1283   {</line><line>Smarty.class.php:1284   include($_smarty_compile_path);</line><line>Smarty.class.php:1285   }</line></source></error><error><file>/var/www/wsm/app/class/template/smarty.class.php:335</file><call>Template_Smarty-&gt;renderTemplate</call><callparams>'frame::frontend/product/view','15498',true</callparams><source><line>smarty.class.php:332    </line><line>smarty.class.php:333    return $template;</line><line>smarty.class.php:334    } else {</line><line>smarty.class.php:335    return $this-&gt;smarty-&gt;fetch($templateName, null, null, $display);</line><line>smarty.class.php:336    }</line></source></error><error><file>/var/www/wsm/app/class/template/smarty.class.php:305</file><call>Template_Smarty-&gt;execute</call><callparams>'frame::frontend/product/view','15498',true</callparams><source><line>smarty.class.php:302    return $this-&gt;renderTemplate($templateName, $cacheId, $display);</line><line>smarty.class.php:303    }</line><line>smarty.class.php:304    } else {</line><line>smarty.class.php:305    return $this-&gt;renderTemplate($templateName, $cacheId, $display);</line><line>smarty.class.php:306    }</line></source></error><error><file>/var/www/wsm/app/class/template/smarty.class.php:380</file><call>Template_Smarty-&gt;display</call><callparams>'frame::frontend/product/view','15498'</callparams><source><line>smarty.class.php:377    }</line><line>smarty.class.php:378    </line><line>smarty.class.php:379    public function display($name, $cacheId) {</line><line>smarty.class.php:380    return $this-&gt;execute($name, $cacheId, true);</line><line>smarty.class.php:381    }</line></source></error><error><file>/var/www/wsm/app/class/template/class.php:232</file><call>Template-&gt;display</call><callparams></callparams><source><line>class.php:229    */</line><line>class.php:230    public function display() {</line><line>class.php:231    $this-&gt;initVars();</line><line>class.php:232    return $this-&gt;engine-&gt;display($this-&gt;name, $this-&gt;cacheid);</line><line>class.php:233    }</line></source></error><error><file>/var/www/wsm/app/mod/product.con.php:574</file><call>ControllerFrontendProduct-&gt;viewIndex</call><callparams></callparams><source><line>product.con.php:571    $tpl-&gt;set('siteEnabled', in_array($site-&gt;tag, ['wsmdevt', 'datadev4']));</line><line>product.con.php:572    $tpl-&gt;setPageInfo('catalog', 'product', $product-&gt;id);</line><line>product.con.php:573    </line><line>product.con.php:574    $tpl-&gt;display();</line><line>product.con.php:575    </line></source></error><error><file>/var/www/wsm/app/class/controller.class.php:200</file><call>Controller-&gt;_view</call><callparams>'index'</callparams><source><line>controller.class.php:197    $this-&gt;_checkAnnotations('view', $name, array());</line><line>controller.class.php:198    </line><line>controller.class.php:199    // call view</line><line>controller.class.php:200    call_user_func(array($this, 'view' . $name));</line><line>controller.class.php:201    }</line></source></error><error><file>/var/www/wsm/app/class/controller.class.php:501</file><call>Controller::exec</call><callparams>'product.index',NULL</callparams><source><line>controller.class.php:498    }</line><line>controller.class.php:499    </line><line>controller.class.php:500    // call the view method</line><line>controller.class.php:501    $obj-&gt;_view($name);</line><line>controller.class.php:502    } else {</line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:184</file><call>wsmmain_invoke</call><callparams>'product.index'</callparams><source><line>main.inc.php:181    }</line><line>main.inc.php:182    </line><line>main.inc.php:183    // execute</line><line>main.inc.php:184    Controller::exec($wsmmain_invoke, $action);</line><line>main.inc.php:185    </line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:247</file><call>wsmmain_match</call><callparams>'/i-15498-weathertech-side-window-deflector-80800.html'</callparams><source><line>main.inc.php:244    }</line><line>main.inc.php:245    </line><line>main.inc.php:246    // call the view</line><line>main.inc.php:247    wsmmain_invoke($view);</line><line>main.inc.php:248    }</line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:395</file><call>wsmmain_frontend_streamlined</call><callparams></callparams><source><line>main.inc.php:392    $path_check-&gt;noindex);</line><line>main.inc.php:393    }</line><line>main.inc.php:394    </line><line>main.inc.php:395    wsmmain_match($path_check-&gt;redirect_struct-&gt;path);</line><line>main.inc.php:396    </line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:275</file><call>wsmmain_frontend</call><callparams></callparams><source><line>main.inc.php:272    // Streamlined redirects enabled; move to a different method</line><line>main.inc.php:273    // to handle the rest of the request. The new method will be</line><line>main.inc.php:274    // responsible for closing (exiting) the running request.</line><line>main.inc.php:275    wsmmain_frontend_streamlined();</line><line>main.inc.php:276    </line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:709</file><call>main</call><callparams></callparams><source><line>main.inc.php:706    if ($env-&gt;isAdmin) {</line><line>main.inc.php:707    wsmmain_admin();</line><line>main.inc.php:708    } else {</line><line>main.inc.php:709    wsmmain_frontend();</line><line>main.inc.php:710    }</line></source></error><error><file>/var/www/wsm/htdocs/index.php:4</file><call>index.php</call><callparams></callparams><source><line>index.php:1      &lt;?php</line><line>index.php:2      </line><line>index.php:3      require dirname(__FILE__).'/../app/inc/main.inc.php';</line><line>index.php:4      main();</line><line>index.php:5      </line></source></error></backtrace></errors>