<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Illegal string offset</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Illegal-string-offset-82396</link>
        <description></description>
        <pubDate>Mon, 13 Apr 2026 08:04:28 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Illegal-string-offset-82396" rel="self" type="application/rss+xml" />

                <item>
          <title>Illegal string offset</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245436#post2245436</link>
          <description><![CDATA[<p>Hi to everyone</p>
<p>I would like to ask your help. I am not sure how it start but realize that I have the following error <span>. ( this maybe start after update or php version change)<br /><br /><strong>Warning: Illegal string offset 'image' in /home/xxxx/public_html/products.php on line 154 </strong></span><strong>&lt;<span class="start-tag">img</span> <span class="attribute-name">src</span>="Warning: Illegal string offset 'image' in /home/xxxx/public_html/products.php on line 155</strong></p>
<p><span>I have copy the specific code line. </span><span>Have anyone idea why this happen</span></p>
<p><span>thank you in advance</span></p>
<pre class="language-php"><code>											&lt;ul class="slides"&gt;
											&lt;?php if($catLink == 0) { ?&gt;
												&lt;li&gt;
													&lt;a href="products.php?category=&lt;?php echo htmlencode($rootCat['name_'.$_SESSION['language']]); ?&gt;&amp;cat=&lt;?php echo $rootCat['num']; ?&gt;"&gt;
														&lt;?php if(!$rootCat['image']) { ?&gt;&lt;img src="images/nocat.jpg" alt="&lt;?php echo htmlencode($rootCat['name_'.$_SESSION['language']]); ?&gt;" /&gt;
														&lt;?php } else { ?&gt;&lt;img src="inc/timthumb.php?src=&lt;?php echo $rootCat['image'][0]['thumbUrlPath']; ?&gt;&amp;amp;w=215" alt="&lt;?php echo htmlencode($rootCat['name_'.$_SESSION['language']]); ?&gt;" /&gt;&lt;?php } ?&gt;
													&lt;/a&gt;
												&lt;/li&gt;
											&lt;?php } elseif($catLink == 1) { ?&gt;
												&lt;li&gt;
													&lt;a href="products.php?category=&lt;?php echo htmlencode($parentCat['name_'.$_SESSION['language']]); ?&gt;&amp;cat=&lt;?php echo $parentCat['num']; ?&gt;&amp;type=&lt;?php echo htmlencode($rootCat['name_'.$_SESSION['language']]); ?&gt;&amp;id=&lt;?php echo $rootCat['num']; ?&gt;"&gt;
														&lt;?php if(!$rootCat['image']) { ?&gt;&lt;img src="images/nocat.jpg" alt="&lt;?php echo htmlencode($rootCat['name_'.$_SESSION['language']]); ?&gt;" /&gt;
														&lt;?php } else { ?&gt;&lt;img src="inc/timthumb.php?src=&lt;?php echo $rootCat['image'][0]['thumbUrlPath']; ?&gt;&amp;amp;w=215" alt="&lt;?php echo htmlencode($rootCat['name_'.$_SESSION['language']]); ?&gt;" /&gt;&lt;?php } ?&gt;
													&lt;/a&gt;
												&lt;/li&gt;
											&lt;?php } ?&gt;
											&lt;/ul&gt;</code></pre>]]></description>
          <pubDate>Wed, 03 Mar 2021 15:17:47 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245436#post2245436</guid>
        </item>
              </channel>
    </rss>
  