<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Illegal string offsets when adding new entries</title>
		<link>http://www.themolitor.com/forums/topic/illegal-string-offsets-when-adding-new-entries</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Illegal string offsets when adding new entries</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 20:58:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/illegal-string-offsets-when-adding-new-entries" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Illegal string offsets when adding new entries"</title>
			<link>http://www.themolitor.com/forums/topic/illegal-string-offsets-when-adding-new-entries#post-25687</link>
			<pubDate>Thu, 19 Dec 2013 14:06:52 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">25687@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Can you provide a link to your site? I'll check it out.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Shallnotbe on "Illegal string offsets when adding new entries"</title>
			<link>http://www.themolitor.com/forums/topic/illegal-string-offsets-when-adding-new-entries#post-25686</link>
			<pubDate>Thu, 19 Dec 2013 13:47:48 +0000</pubDate>
			<dc:creator>Shallnotbe</dc:creator>
			<guid isPermaLink="false">25686@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris,<br />
Thanks for the quick reply.<br />
Good news: it's ok for the single post, the message doesn't show up anymore. ;)<br />
Bad news: the main map and the tag maps related to the post are still grey. :(<br />
Tried on different browsers, still grey.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Illegal string offsets when adding new entries"</title>
			<link>http://www.themolitor.com/forums/topic/illegal-string-offsets-when-adding-new-entries#post-25684</link>
			<pubDate>Thu, 19 Dec 2013 13:23:26 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">25684@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Try this... Open up single.php and change the following on lines 33-41 from this...</p>
<pre><code>//LEGACY SUPPORT
$data = get_post_meta( $post-&#62;ID, &#039;key&#039;, true );
$oldZoom = $data[&#039;zoom&#039;];
$oldLatitude = $data[&#039;latitude&#039;];
$oldLongitude = $data[&#039;longitude&#039;];
$oldAddrOne = $data[&#039;address_one&#039;];
$oldAddrTwo = $data[&#039;address_two&#039;];
$oldPin = $data[&#039;pin&#039;];
$oldBg = $data[&#039;bg_img&#039;];</code></pre>
<p>...to this...</p>
<pre><code>//LEGACY SUPPORT
$data = get_post_meta( $post-&#62;ID, &#039;key&#039;, true );
if(isset($data[&#039;zoom&#039;])){$oldZoom = $data[&#039;zoom&#039;];}
if(isset($data[&#039;latitude&#039;])){$oldLatitude = $data[&#039;latitude&#039;];}
if(isset($data[&#039;longitude&#039;])){$oldLongitude = $data[&#039;longitude&#039;];}
if(isset($data[&#039;address_one&#039;])){$oldAddrOne = $data[&#039;address_one&#039;];}
if(isset($data[&#039;address_two&#039;])){$oldAddrTwo = $data[&#039;address_two&#039;];}
if(isset($data[&#039;pin&#039;])){$oldPin = $data[&#039;pin&#039;];}
if(isset($data[&#039;bg_img&#039;])){$oldBg = $data[&#039;bg_img&#039;];}</code></pre>
<p>Let me know if that works.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Shallnotbe on "Illegal string offsets when adding new entries"</title>
			<link>http://www.themolitor.com/forums/topic/illegal-string-offsets-when-adding-new-entries#post-25678</link>
			<pubDate>Thu, 19 Dec 2013 12:52:39 +0000</pubDate>
			<dc:creator>Shallnotbe</dc:creator>
			<guid isPermaLink="false">25678@http://www.themolitor.com/forums/</guid>
			<description><p>Hi,</p>
<p>I've got issues with Navigator: I can't properly add new entries.<br />
I only updated existing posts recently, and my problem appears at least on 1.7.3 &#38; 2.0.1.</p>
<p>When I add a new entry, it adds a series of error messages before displaying the title.<br />
Since that post is corrupted, it's impossible to show the main map as well, which is now grey.</p>
<p>Here's what it shows on a newly created post (I edited the path for privacy reasons):</p>
<p>Warning: Illegal string offset 'zoom' in /home/****/wpnavigator/single.php on line 35</p>
<p>Warning: Illegal string offset 'latitude' in /home/****/wpnavigator/single.php on line 36</p>
<p>Warning: Illegal string offset 'longitude' in /home/****/themes/wpnavigator/single.php on line 37</p>
<p>Warning: Illegal string offset 'address_one' in /home/****/themes/wpnavigator/single.php on line 38</p>
<p>Warning: Illegal string offset 'address_two' in /home/****/themes/wpnavigator/single.php on line 39</p>
<p>Warning: Illegal string offset 'pin' in /home/****/themes/wpnavigator/single.php on line 40</p>
<p>Warning: Illegal string offset 'bg_img' in /home/****/themes/wpnavigator/single.php on line 41</p>
<p>TITLE</p>
<p>Breadcrumbs / Breadcrumbs<br />
Details<br />
Address</p>
<p>It's like it's still trying to use the legacy data.</p>
<p>When I edit the post, on the custom fields panel I only see the new data: themolitor_address_one + two, themolitor_latitude + longitude...</p>
<p>I don't think I added new entries since the switch to the new system, so I don't know when the problem would have appeared. I only know for a fact that it shows up on 1.7.3 &#38; 2.0.1.
</p></description>
		</item>

	</channel>
</rss>
