<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Errore 1054 Unknown column 'Array']]></title><description><![CDATA[<p dir="auto">Salve a tutti!<br />
Ho un problema con un file che è stato modificato e dopo l'aggiornamento a joomla 3.5.0 non funziona più.<br />
Parto  dall'inizio... il sito è un e-commerce e il cliente aveva bisogno che  determinati articoli finissero in due diverse voce di menù (ad esempio  sia in abbigliamento donna che in outlet) ma questo non era possibile  con il componente per e-commerce che avevamo scelto così è stato  modificato il componente tag così che dando un determinato tag (nello  specifico "outlet") a quell'articolo questo finisse anche nella voce di  menù outlet (creata come "elementi taggati").<br />
Per far sì che questa  voce di menù fosse un elenco di prodotti "comprabili" è stato modificato  il file default.php della cartella com_tags. Dopo l'aggiornamento  Joomla però la pagina "outlet" mi restituisce un errore:<br />
1054 Unknown column 'Array' in 'where clause' SQL=SELECT * FROM <a href="/hashtags/content">#__content</a> WHERE Array = '4'</p>
<p dir="auto">Mentre l'altra pagina creata con lo stesso principio dei tag mi dice:<br />
<strong>Warning</strong>:  Invalid argument supplied for foreach() in <strong>.../home/templates/rt_nuance/html/com_tags/tag/default.php</strong> on line <strong>113</strong></p>
<p dir="auto">Credo che l'errore sia in questo punto, ma non conoscendo il codice non so proprio dove mettere le mani...</p>
<p dir="auto"><strong>```</strong><br />
<strong>[/B]</strong><br />
<strong>&lt;div class="row-fluid sm-row-fluid"&gt;</strong><br />
<strong>[COLOR=#000000][COLOR=#0000BB]&lt;?php [/COLOR][COLOR=#007700]foreach( [/COLOR][COLOR=#0000BB]$this[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]items [/COLOR][COLOR=#007700]as [/COLOR][COLOR=#0000BB]$value[/COLOR][COLOR=#007700]):</strong><br />
<strong>[/COLOR][COLOR=#0000BB]$this_prod_obj [/COLOR][COLOR=#007700]= new [/COLOR][COLOR=#0000BB]J2StoreModelProducts[/COLOR]<a>COLOR=#007700</a>;</strong><br />
<strong>[/COLOR][COLOR=#0000BB]$this_prod_obj[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]setId[/COLOR]<a href="%5B/COLOR%5D%5BCOLOR=#0000BB%5D$value%5B/COLOR%5D%5BCOLOR=#007700%5D-%3E%5B/COLOR%5D%5BCOLOR=#0000BB%5Dcontent_item_id%5B/COLOR%5D%5BCOLOR=#007700%5D">COLOR=#007700</a>;</strong><br />
<strong>[/COLOR][COLOR=#0000BB]$item [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]$this_prod_obj[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]getItem[/COLOR]<a>COLOR=#007700</a>;</strong><br />
<strong>[/COLOR][COLOR=#0000BB]$product [/COLOR][COLOR=#007700]= array(</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'id' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]$value[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]content_item_id[/COLOR][COLOR=#007700],</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'name' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]product_name[/COLOR][COLOR=#007700],</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'main_image' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]main_image [/COLOR][COLOR=#007700],</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'price' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]number_format [/COLOR][COLOR=#007700]( [/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]item_price[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]2 [/COLOR][COLOR=#007700]),</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'special_price' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]number_format [/COLOR][COLOR=#007700]( [/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]special_price[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]2 [/COLOR][COLOR=#007700]),</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'discount' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]number_format [/COLOR][COLOR=#007700](  [/COLOR][COLOR=#0000BB]100[/COLOR][COLOR=#007700]-([/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]special_price[/COLOR][COLOR=#007700]*[/COLOR][COLOR=#0000BB]100[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]item_price[/COLOR][COLOR=#007700]), [/COLOR][COLOR=#0000BB]0 [/COLOR][COLOR=#007700]),</strong><br />
<strong>[/COLOR][COLOR=#DD0000]'url' [/COLOR][COLOR=#007700]=&gt; [/COLOR][COLOR=#0000BB]JURI[/COLOR][COLOR=#007700]::[/COLOR][COLOR=#0000BB]base[/COLOR]<a>COLOR=#007700</a>.[/COLOR][COLOR=#DD0000]'outfit/view/'[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]$value[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]content_item_id[/COLOR][COLOR=#007700].[/COLOR][COLOR=#DD0000]'-'[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]$item[/COLOR][COLOR=#007700]-&gt;[/COLOR][COLOR=#0000BB]product_name</strong><br />
<strong>[/COLOR][COLOR=#007700]);</strong></p>
<pre><code>        **[/COLOR][COLOR=#0000BB]?&gt;[/COLOR][/COLOR][B]**
</code></pre>
<p dir="auto"><strong>```</strong></p>
<p dir="auto">Per favore, c'è nessuno che riesce a darmi una mano? Grazie in anticipo...</p>
]]></description><link>https://dev.connect.gt/topic/222344/errore-1054-unknown-column-array</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 02:23:23 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/222344.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Apr 2016 21:22:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Fri, 08 Apr 2016 11:08:15 GMT]]></title><description><![CDATA[<p dir="auto">Ciao,<br />
se no sai dove mettere le mani ti conviene cercare un programmatore, se non ne hai uno prova a mettere un annuncio qui: <a href="http://www.giorgiotave.it/forum/collaborazioni-web-e-lavoro-offro-e-cerco/" rel="nofollow ugc">http://www.giorgiotave.it/forum/collaborazioni-web-e-lavoro-offro-e-cerco/</a><br />
Spiega qual è il problema e inserisci un link a questa discussione per fornire qualche dettaglio in più. <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/1881713c-5c09-4986-bf15-fa308ef84b2e-smilegt.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--smile5" style="height:1.4em;width:auto;vertical-align:middle" title=":smile5:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/1220298</link><guid isPermaLink="true">https://dev.connect.gt/post/1220298</guid><dc:creator><![CDATA[fda]]></dc:creator><pubDate>Fri, 08 Apr 2016 11:08:15 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Thu, 07 Apr 2016 09:52:56 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Francesco,<br />
non riesco a trovare una via d'uscita, è una  settimana che ci sbatto la testa e non riesco a venirne a capo... hai  qualche idea su come possa sistemare questo problema?<br />
Grazie mille per l'aiuto che mi hai dato finora!</p>
]]></description><link>https://dev.connect.gt/post/1220305</link><guid isPermaLink="true">https://dev.connect.gt/post/1220305</guid><dc:creator><![CDATA[ciotolina1984]]></dc:creator><pubDate>Thu, 07 Apr 2016 09:52:56 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Tue, 05 Apr 2016 12:33:57 GMT]]></title><description><![CDATA[<p dir="auto">Ciao FDA,<br />
purtroppo come temevo il confronto non ha prodotto risultati perchè la parte che non funziona è completamente nuova, è stata scritta da zero, quindi ci deve essere qualcosa che è stato scritto "in più" e prima gli piaceva ma adesso non va più bene, ovvero qualche pezzo di codice che non è più compatibile con la nuova versione di joomla...</p>
<p dir="auto">Purtroppo quella persona non lavora più con noi, la storia è un po' complessa ma ho provato a contattarlo ma niente da fare.... sono con l'acqua alla gola e non so come uscirne.......................</p>
]]></description><link>https://dev.connect.gt/post/1220304</link><guid isPermaLink="true">https://dev.connect.gt/post/1220304</guid><dc:creator><![CDATA[ciotolina1984]]></dc:creator><pubDate>Tue, 05 Apr 2016 12:33:57 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Tue, 05 Apr 2016 09:43:45 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">... articoli e prodotti sono la stessa cosa nel mio caso ...</p>
</blockquote>
<p dir="auto">Lato codice la cosa è da verificare, dì al tuo programmatore di controllare "$this nel foreach". <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/8d7b9529-9868-4606-8ca1-85ca7d28c845-wink.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--wink3" style="height:1.4em;width:auto;vertical-align:middle" title=":wink3:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/1220297</link><guid isPermaLink="true">https://dev.connect.gt/post/1220297</guid><dc:creator><![CDATA[fda]]></dc:creator><pubDate>Tue, 05 Apr 2016 09:43:45 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Tue, 05 Apr 2016 09:20:32 GMT]]></title><description><![CDATA[<p dir="auto">FDA sei il mio salvatore... grazie per l'aiuto, faccio subito tutti i  confronti che mi hai suggerito, intato rispondo alle tue domande.<br />
J2Store  una gli articoli come prodotti quindi la risposta alla tua ultima  domanda è: sì perchè articoli e prodotti sono la stessa cosa nel mio  caso.<br />
La risposta alla domanda 1 però è no: l'ho costretto io (o  meglio chi ha messo mano al codice, io non ne sono in grado purtroppo)  perchè altrimenti non sarebbe stato possibile vendere i prodotti  attraverso la voce di menu creata come "elementi taggati", j2store vende  unicamente con le "sue" voci di menu.<br />
Mi metto subito all'opera per controllare tutto... grazie mille per ora!</p>
]]></description><link>https://dev.connect.gt/post/1220303</link><guid isPermaLink="true">https://dev.connect.gt/post/1220303</guid><dc:creator><![CDATA[ciotolina1984]]></dc:creator><pubDate>Tue, 05 Apr 2016 09:20:32 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Tue, 05 Apr 2016 08:15:32 GMT]]></title><description><![CDATA[<p dir="auto">Grazie per l'integrazione ciotolina1984. <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/1881713c-5c09-4986-bf15-fa308ef84b2e-smilegt.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--smile5" style="height:1.4em;width:auto;vertical-align:middle" title=":smile5:" alt="" /></p>
<p dir="auto">Qualche osservazione per aiutarti a indagare dov'è il problema.</p>
<ol>
<li>
<p dir="auto">Non uso J2Store, ma la domanda che mi (e ti) faccio è: J2Store nasce per lavorare con il com_tags oppure l'hai "costretto" tu? In questo secondo caso confronta il com_tags di Joomla 3.5 con il com_tags modificato da te.</p>
</li>
<li>
<p dir="auto">Se il problema si è verificato all'aggiornamento di Joomla 3.5, confronta il com_tags di 3.4.x con il com_tags di 3.5 in modo da capire perché il primo è compatibile con le tue modifiche e il secondo no.</p>
</li>
<li>
<p dir="auto">L'errore SQL suggerisce che il problema si verifica nella tabella <a href="/hashtags/content">#_content</a> e questo ancora una volta fa pensare che l'integrazione con J2Store potrebbe non essere riuscita perfettamente. Quel foreach "cicla" i prodotti dello store o gli articoli?</p>
</li>
</ol>
]]></description><link>https://dev.connect.gt/post/1220296</link><guid isPermaLink="true">https://dev.connect.gt/post/1220296</guid><dc:creator><![CDATA[fda]]></dc:creator><pubDate>Tue, 05 Apr 2016 08:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Mon, 04 Apr 2016 19:06:16 GMT]]></title><description><![CDATA[<p dir="auto">Dimenticavo...<br />
il link è co88works . it / limited / outlet2</p>
<p dir="auto">Grazie!</p>
]]></description><link>https://dev.connect.gt/post/1220302</link><guid isPermaLink="true">https://dev.connect.gt/post/1220302</guid><dc:creator><![CDATA[ciotolina1984]]></dc:creator><pubDate>Mon, 04 Apr 2016 19:06:16 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Mon, 04 Apr 2016 13:33:19 GMT]]></title><description><![CDATA[<p dir="auto">Innanzitutto grazie FDA! Grazie davvero!<br />
La pagina è creata come "elementi taggati", di seguito faccio copia-incolla di tutto il codice:</p>
<pre><code>&lt;?php
/**
 * @package     Joomla.Site
 * @subpackage  com_tags
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

//ini_set('display_errors', 'On');
//error_reporting(E_ALL);

defined('_JEXEC') or die;

// Note that there are certain parts of this layout used only when there is exactly one tag.
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
$isSingleTag = (count($this-&gt;item) == 1);
?&gt;

&lt;script src="cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.1.8/imagesloaded.pkgd.js"&gt;&lt;/script&gt;
&lt;div class="tag-category&lt;?php echo $this-&gt;pageclass_sfx; ?&gt;"&gt;
&lt;!--    --&gt;&lt;?php //if ($this-&gt;params-&gt;get('show_page_heading')) : ?&gt;
&lt;!--        &lt;h1&gt;--&gt;
&lt;!--            --&gt;&lt;?php //echo $this-&gt;escape($this-&gt;params-&gt;get('page_heading')); ?&gt;
&lt;!--        &lt;/h1&gt;--&gt;
&lt;!--    --&gt;&lt;?php //endif; ?&gt;
&lt;!--    --&gt;&lt;?php //if ($this-&gt;params-&gt;get('show_tag_title', 1)) : ?&gt;
&lt;!--        &lt;h2&gt;--&gt;
&lt;!--            --&gt;&lt;?php //echo JHtml::_('content.prepare', $this-&gt;tags_title, '', 'com_tag.tag'); ?&gt;
&lt;!--        &lt;/h2&gt;--&gt;
&lt;!--    --&gt;&lt;?php //endif; ?&gt;
&lt;!--    --&gt;&lt;?php //// We only show a tag description if there is a single tag. ?&gt;
&lt;!--    --&gt;&lt;?php //if (count($this-&gt;item) == 1 &amp;&amp; (($this-&gt;params-&gt;get('tag_list_show_tag_image', 1)) || $this-&gt;params-&gt;get('tag_list_show_tag_description', 1))) : ?&gt;
&lt;!--        &lt;div class="category-desc"&gt;--&gt;
&lt;!--            --&gt;&lt;?php //$images = json_decode($this-&gt;item[0]-&gt;images); ?&gt;
&lt;!--            --&gt;&lt;?php //if ($this-&gt;params-&gt;get('tag_list_show_tag_image', 1) == 1 &amp;&amp; !empty($images-&gt;image_fulltext)) : ?&gt;
&lt;!--                &lt;img src="--&gt;&lt;?php //echo htmlspecialchars($images-&gt;image_fulltext); ?&gt;&lt;!--"&gt;--&gt;
&lt;!--            --&gt;&lt;?php //endif; ?&gt;
&lt;!--            --&gt;&lt;?php //if ($this-&gt;params-&gt;get('tag_list_show_tag_description') == 1 &amp;&amp; $this-&gt;item[0]-&gt;description) : ?&gt;
&lt;!--                --&gt;&lt;?php //echo JHtml::_('content.prepare', $this-&gt;item[0]-&gt;description, '', 'com_tags.tag'); ?&gt;
&lt;!--            --&gt;&lt;?php //endif; ?&gt;
&lt;!--            &lt;div class="clr"&gt;&lt;/div&gt;--&gt;
&lt;!--        &lt;/div&gt;--&gt;
&lt;!--    --&gt;&lt;?php //endif; ?&gt;
&lt;!--    --&gt;&lt;?php //// If there are multiple tags and a description or image has been supplied use that. ?&gt;
&lt;!--    --&gt;&lt;?php //if ($this-&gt;params-&gt;get('tag_list_show_tag_description', 1) || $this-&gt;params-&gt;get('show_description_image', 1)): ?&gt;
&lt;!--        --&gt;&lt;?php //if ($this-&gt;params-&gt;get('show_description_image', 1) == 1 &amp;&amp; $this-&gt;params-&gt;get('tag_list_image')) : ?&gt;
&lt;!--            &lt;img src="--&gt;&lt;?php //echo $this-&gt;params-&gt;get('tag_list_image'); ?&gt;&lt;!--"&gt;--&gt;
&lt;!--        --&gt;&lt;?php //endif; ?&gt;
&lt;!--        --&gt;&lt;?php //if ($this-&gt;params-&gt;get('tag_list_description', '') &gt; '') : ?&gt;
&lt;!--            --&gt;&lt;?php //echo JHtml::_('content.prepare', $this-&gt;params-&gt;get('tag_list_description'), '', 'com_tags.tag'); ?&gt;
&lt;!--        --&gt;&lt;?php //endif; ?&gt;
&lt;!----&gt;
&lt;!--    --&gt;&lt;?php //endif; ?&gt;
&lt;!--    --&gt;&lt;?php //echo $this-&gt;loadTemplate('items'); ?&gt;
&lt;!--    --&gt;&lt;?php //if (($this-&gt;params-&gt;def('show_pagination', 1) == 1 || ($this-&gt;params-&gt;get('show_pagination') == 2)) &amp;&amp; ($this-&gt;pagination-&gt;get('pages.total') &gt; 1)) : ?&gt;
&lt;!--        &lt;div class="pagination"&gt;--&gt;
&lt;!--            --&gt;&lt;?php //if ($this-&gt;params-&gt;def('show_pagination_results', 1)) : ?&gt;
&lt;!--                &lt;p class="counter pull-right"&gt; --&gt;&lt;?php //echo $this-&gt;pagination-&gt;getPagesCounter(); ?&gt;&lt;!-- &lt;/p&gt;--&gt;
&lt;!--            --&gt;&lt;?php //endif; ?&gt;
&lt;!--            --&gt;&lt;?php //echo $this-&gt;pagination-&gt;getPagesLinks(); ?&gt;
&lt;!--        &lt;/div&gt;--&gt;
&lt;!--    --&gt;&lt;?php //endif; ?&gt;

    &lt;?php

//    jimport('joomla.application.component.controller');
//    $app = JFactory::getApplication();
//
//    //j3 compatibility
//    if(!defined('DS')){
//        define('DS',DIRECTORY_SEPARATOR);
//    }
//
//    JLoader::register('J2StoreController', JPATH_COMPONENT.'/controllers/controller.php');
//    JLoader::register('J2StoreModel',  JPATH_ADMINISTRATOR.'/components/com_j2store/models/model.php');
//    JLoader::register('J2StoreView',  JPATH_ADMINISTRATOR.'/components/com_j2store/views/view.php');
//
//    require_once (JPATH_ADMINISTRATOR.'/components/com_j2store/library/base.php');
//    require_once (JPATH_SITE.'/components/com_j2store/helpers/utilities.php');
//    require_once (JPATH_ADMINISTRATOR.'/components/com_j2store/library/prices.php');
//    require_once (JPATH_ADMINISTRATOR.'/components/com_j2store/helpers/strapper.php');
//    require_once (JPATH_ADMINISTRATOR.'/components/com_j2store/version.php');
//    require_once (JPATH_SITE.'/components/com_j2store/models/products.php');
//    J2StoreStrapper::addJS();
//    J2StoreStrapper::addCSS();

    $j2store_path = JPATH_ADMINISTRATOR.'/components/com_j2store/j2store.php';
    if(JFile::exists($j2store_path)) {
        require_once (JPATH_SITE.'/components/com_j2store/helpers/cart.php');
        require_once (JPATH_ADMINISTRATOR.'/components/com_j2store/library/prices.php');
        require_once (JPATH_SITE.'/components/com_j2store/models/products.php');
    }

    ?&gt;

    &lt;link href="&lt;?php echo JURI::base().'media/j2store/css/j2store-product.css' ?&gt;" rel="stylesheet" type="text/css"&gt;
    &lt;script src="cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.1.8/imagesloaded.pkgd.js"&gt;&lt;/script&gt;
    &lt;style&gt;
        .sm-row-fluid :nth-child(3n+4){margin-left:0; clear: both; }
        .sm-row-fluid + table{display:none;}
        .j2store-item-title-link {display:block;}
    &lt;/style&gt;
    &lt;style&gt;
        .j2store-item-title-link {position: relative;}
        .fp-roksprocket-grids-maintop {position: absolute;}
        .sprocket-grids-b-title {box-shadow: 0 0 12px #f2f2f2; text-shadow: 0 0 10px #f2f2f2; font-family:OptimusPrinceps!important; font-size:16px!important; text-transform: capitalize!important;}
        .j2store-item-productlist-thumbimage {width: 90%;}
    &lt;/style&gt;

&lt;!--    &lt;div class="row-fluid sm-row-fluid"&gt;--&gt;
    &lt;div class="j2store-products-row cols-3 row-0 row"&gt;
// line 113         &lt;?php foreach( $this-&gt;items as $value):

            $this_prod_obj = new J2StoreModelProducts();
            $this_prod_obj-&gt;setId($value-&gt;content_item_id);
            $item = $this_prod_obj-&gt;getItem();

            if($item-&gt;product_enabled):
            $product = array(
                'id' =&gt; $value-&gt;content_item_id,
                'name' =&gt; $item-&gt;product_name,
                'main_image' =&gt; $item-&gt;main_image ,
                'price' =&gt; number_format ( $item-&gt;item_price, 2 ),
                'special_price' =&gt; number_format ( $item-&gt;special_price, 2 ),
                'discount' =&gt; number_format (  100-($item-&gt;special_price*100/$item-&gt;item_price), 0 ),
                'url' =&gt; JURI::base().'accessori/view/'.$value-&gt;content_item_id.'-'.$item-&gt;product_name
            );

            ?&gt;

            &lt;?php

            $article_id = $value-&gt;content_item_id;

//            $article =&amp; JTable::getInstance("content");
            $article = JTable::getInstance("content");
            $article-&gt;load($article_id);
            $created_date = $article-&gt;created;

//            $date =&amp; JFactory::getDate('now');
            $date = JFactory::getDate('now');
            $current_date = $date-&gt;__toString();

            $diff = abs(strtotime($current_date) - strtotime($created_date));
            $diff = $diff/86400;

            if($diff &lt; 14) $is_new_product = true;
            else $is_new_product = false;

            ?&gt;


&lt;!--                &lt;div style="display:none;" class="dump"&gt;--&gt;
&lt;!--                 --&gt;&lt;?php //echo '&lt;pre&gt;', var_dump($created_date) ,'&lt;/pre&gt;'; ?&gt;
&lt;!--             &lt;/div&gt;--&gt;
            &lt;div class="span4 col-sm-4 col-xs-12" &gt;
                &lt;div class="j2store-product-single j2store-product-single-113 column-1" itemscope="" itemtype="schema.org/Product" style="table-layout: fixed;"&gt;
                    &lt;!-- on Before display product --&gt;
                    &lt;div class="j2store-before-display-product"&gt;
                    &lt;/div&gt;
                    &lt;!-- Form action starts here --&gt;
                    &lt;form action="/carrello" method="post" name="j2storeProductForm" id="j2store-product-list" class="j2storeProductForm" style="width:100%;"&gt;
                        &lt;!-- Before displaying product Images --&gt;
                        &lt;div class="j2store-before-display-productimages"&gt;
                        &lt;/div&gt;

                        &lt;a itemprop="url" class="j2store-item-title-link" href="&lt;?php echo $product['url'] ?&gt;"&gt;
                            &lt;?php if( $is_new_product ): ?&gt;
                                &lt;div class="fp-roksprocket-grids-maintop"&gt;
                                    &lt;h1 class="sprocket-grids-b-title"&gt;Nuovo&lt;/h1&gt;
                                &lt;/div&gt;
                            &lt;?php endif; ?&gt;
                            &lt;img class="j2store-item-productlist-thumbimage" itemprop="image" src="&lt;?php echo $product['main_image'] ?&gt;" alt="&lt;?php echo $product['name'] ;?&gt;"&gt;
                        &lt;/a&gt;

                            &lt;!-- Title --&gt;
                            &lt;h1 class="j2store-item-title" itemprop="name"&gt;
                                &lt;a itemprop="url" class="j2store-item-title-link" href="&lt;?php echo $product['url'] ?&gt;"&gt;
                                    &lt;?php echo $product['name']; ?&gt;
                                &lt;/a&gt;
                            &lt;/h1&gt;
                            &lt;div class="j2store-product-prices"&gt;
                                &lt;span class="j2store-product-item-label"&gt;Prezzo&lt;/span&gt;
                                &lt;?php if($product['special_price'] &gt; 0) echo '&lt;strike&gt;';?&gt;
                                &lt;span itemprop="offers" itemscope="" itemtype="schema.org/Offer"&gt;
                            &lt;span itemprop="price" class="text" id="product_price_113"&gt;&lt;?php echo $product['price'].' &amp;#8364;'; ?&gt;&lt;/span&gt;
                            &lt;/span&gt;
                                &lt;?php if($product['special_price'] &gt; 0): echo '&lt;/strike&gt;';?&gt;
                                    &lt;span class="product-discount-offer" itemprop="offers" itemscope="" itemtype="schema.org/Offer"&gt;
                                &lt;?php echo 'Sconto:'. $product['discount'].' %'; ?&gt;
                                &lt;/span&gt;
                                    &lt;span itemprop="offers" itemscope="" itemtype="schema.org/Offer"&gt;
                                    &lt;span itemprop="price" id="product_special_price_113" class="product-special-price"&gt;&lt;?php echo $product['special_price'].' &amp;#8364;'; ?&gt;&lt;/span&gt;
                                &lt;/span&gt;
                                &lt;?php endif; ?&gt;
                            &lt;/div&gt;

&lt;!--                            &lt;a id="addtoCartBtn" href="--&gt;&lt;?php //echo $product['url'] ?&gt;&lt;!--" type="submit" class="j2store-item-cart-button button " value="Aggiungi al carrello"&gt;Aggiungi al carrello&lt;/a&gt;--&gt;
                            &lt;a id="" href="&lt;?php echo $product['url'] ?&gt;" type="submit" class="j2store-item-cart-button button " value="Aggiungi al carrello"&gt;Aggiungi al carrello&lt;/a&gt;

                    &lt;/form&gt;
                &lt;/div&gt;&lt;!-- end item --&gt;
            &lt;/div&gt;
        &lt;?php endif; ?&gt;
        &lt;?php endforeach; ?&gt;
    &lt;/div&gt;

&lt;/div&gt;
&lt;script&gt;

    (function($){
        var product_boxes = $('.j2store-product-single');
        var heightarray = [];

        imagesLoaded( 'body', function(factory){
            setAllHeight( product_boxes );

        });

        var setAllHeight = function (element) {
            var heightarray = element.map( function(){
                return $(this).height();
            }).get();

            var product_boxes_height = Math.max.apply(Math,heightarray);

            product_boxes.height(product_boxes_height)
        }

    })(jQuery);
&lt;/script&gt;
</code></pre>
<p dir="auto">Spero possiate darmi una mano... grazie infinite!</p>
]]></description><link>https://dev.connect.gt/post/1220301</link><guid isPermaLink="true">https://dev.connect.gt/post/1220301</guid><dc:creator><![CDATA[ciotolina1984]]></dc:creator><pubDate>Mon, 04 Apr 2016 13:33:19 GMT</pubDate></item><item><title><![CDATA[Reply to Errore 1054 Unknown column 'Array' on Mon, 04 Apr 2016 10:21:25 GMT]]></title><description><![CDATA[<p dir="auto">Ciao ciotolina1984 e benvenuta sul ForumGT. <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/1881713c-5c09-4986-bf15-fa308ef84b2e-smilegt.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--smile5" style="height:1.4em;width:auto;vertical-align:middle" title=":smile5:" alt="" /></p>
<p dir="auto">Ti suggerisco di integrare le info così:</p>
<ul>
<li>cosa intendi per "pagina outlet", cioè come si origina questa pagina (da quale menu)</li>
<li>posta interamente il codice di .../com_tags/tag/default.php , meglio ancora se evidenzi la line 113 con un commento (scrivi a fianco nella riga 113: <em>// line 113</em> )</li>
<li>se puoi inserisci un url non attivo alla pagina in questione (quella che non funziona)</li>
</ul>
]]></description><link>https://dev.connect.gt/post/1220295</link><guid isPermaLink="true">https://dev.connect.gt/post/1220295</guid><dc:creator><![CDATA[fda]]></dc:creator><pubDate>Mon, 04 Apr 2016 10:21:25 GMT</pubDate></item></channel></rss>