<?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: Map has disappeared + illegal string offset</title>
		<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Map has disappeared + illegal string offset</description>
		<language>en-US</language>
		<pubDate>Wed, 06 May 2026 01:30:23 +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/map-has-disappeared-illegal-string-offset" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31222</link>
			<pubDate>Thu, 09 Oct 2014 08:55:03 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">31222@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>I'm glad we were able to figure this out!</p>
<p>I really can't say why you're having this issue. My best guess is that your hosting provider has really strict permission settings.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31215</link>
			<pubDate>Wed, 08 Oct 2014 20:48:21 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31215@http://www.themolitor.com/forums/</guid>
			<description><p>YES It works !! So :<br />
- I remove the Legacy support in single.php -&#62; I didn't have the warning string offset and map in the background are appeared.<br />
- I remove the Legacy support in script.php -&#62; Maps appeared on my first page<br />
So my website works again :-) </p>
<p>Thank you very much Chris for your time and your support ! </p>
<p>Can you explain me if it's not too complicated, why I had this problem ? I use your theme simply and try to be safe ! </p>
<p>Thank you again ;-) </p>
<p>Regards </p>
<p>Hefge
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31201</link>
			<pubDate>Wed, 08 Oct 2014 10:14:20 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">31201@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Try removing legacy support in script.php too. You can find it on lines 37-43...</p>
<pre><code>//LEGACY SUPPORT
$data = get_post_meta( $post-&#62;ID, &#039;key&#039;, true );
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;];}</code></pre>
<p>I'm not sure why you're having these issues. I think it might relate to your hosting permissions as I don't experience any of these issues in any of the installations I have using this theme.</p>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31195</link>
			<pubDate>Tue, 07 Oct 2014 19:59:33 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31195@http://www.themolitor.com/forums/</guid>
			<description><p>"Can you help me" Sorry ;-)
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31194</link>
			<pubDate>Tue, 07 Oct 2014 18:43:30 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31194@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris, </p>
<p>When I remove the LEGACY SUPPORT, I didn't have the error message :  ""Warning: Illegal string offset" so I think it's ok when I delete the LEGACY SUPPORT in single.php </p>
<p>BUT<br />
The google maps in my first page and in the background of my posts still didn't appear !<br />
And I found my website is really low since this problem. </p>
<p>Im in off-road trip in Western Australia for the moment...<br />
Chris, can I help you and give you my password to check what it doesn't work ?? </p>
<p>Thank you very much </p>
<p>Hefge
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31154</link>
			<pubDate>Mon, 06 Oct 2014 09:50:01 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">31154@http://www.themolitor.com/forums/</guid>
			<description><p>Try this...</p>
<p>Open single.php and REMOVE the following on lines 33-41...</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 helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31149</link>
			<pubDate>Sun, 05 Oct 2014 04:27:24 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31149@http://www.themolitor.com/forums/</guid>
			<description><p>Pffff... I am desperate !!<br />
I try to find the solution on the internet but I dont find !<br />
I'm leaving tomorrow for a big off road trip and I need my site works. :-(</p>
<p>Can someone help me ?</p>
<p>Thank you very much </p>
<p>Hefge
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31147</link>
			<pubDate>Fri, 03 Oct 2014 17:46:01 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31147@http://www.themolitor.com/forums/</guid>
			<description><p>Hi, I found that on the internet : wrote one year ago; but my english is not good so I prefer write it here.<br />
Thanks </p>
<p>"Here's a solution I found which does not require you to change your version of PHP (thank you to Boann at stackoverflow.com):</p>
<p>"The posted code is valid, but it expects the parameter $inputs to be an array. The "Illegal string offset" warning in the part $inputs['type'] means that the function is being passed a string instead of an array. (And then since a string offset is a number, 'type' is not suitable.)</p>
<p>So in theory the problem lies elsewhere, with the caller of the code not providing a correct parameter.</p>
<p>That said, this warning message is new to PHP 5.4. Old versions didn't warn if this happened. They would silently convert 'type' to 0, then try to get character 0 (the first character) of the string. So if this code was supposed to work, that's because abusing a string like this didn't cause any complaints on PHP 5.3 and below. (A lot of old PHP code has experienced this problem after upgrading.)</p>
<p>You might want to debug why the function is being given a string by examining the calling code, and find out what value it has by doing a var_dump($inputs); in the function. But if you just want to shut the warning up to make it behave like PHP 5.3, change the line to:</p>
<p>if (is_array($inputs) &#38;&#38; $inputs['type'] == 'attach') {"
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31146</link>
			<pubDate>Fri, 03 Oct 2014 17:35:21 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31146@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris,<br />
All updates have been made ! I dont understand what's happening :-(<br />
I think it's not a problem with a improper data entered in the fields but a problem with the map. Because, all posts with a map in the background have the same problem.<br />
-&#62; <a href="http://pleinlespieds.com/perth-zoo/" rel="nofollow">http://pleinlespieds.com/perth-zoo/</a><br />
-&#62; <a href="http://pleinlespieds.com/kings-park/" rel="nofollow">http://pleinlespieds.com/kings-park/</a><br />
-&#62; <a href="http://pleinlespieds.com/mes-premiers-jours-perth/" rel="nofollow">http://pleinlespieds.com/mes-premiers-jours-perth/</a><br />
I tried to delete all custom post option and I still have the same problems with<br />
"Warning: Illegal string offset 'zoom' in" line 35; latitude on line 36; longitude on line 37, etc </p>
<p>Every times I write a post, I check on my website to know everything is right and it was always OK.<br />
The problem appeared alone. I dont understand the reason. </p>
<p>Thank you for your help </p>
<p>Hefge
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31133</link>
			<pubDate>Fri, 03 Oct 2014 09:40:26 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">31133@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Maybe you have automatic updates for WordPress turned on? </p>
<p>Be sure to review your posts to make sure there is proper data displayed in the post options. Those types of errors typically show up when there's improper data entered in the fields.</p>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31132</link>
			<pubDate>Fri, 03 Oct 2014 09:38:24 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">31132@http://www.themolitor.com/forums/</guid>
			<description><p>[moving to WordPress Navigator forum]
</p></description>
		</item>
		<item>
			<title>Hefge on "Map has disappeared + illegal string offset"</title>
			<link>http://www.themolitor.com/forums/topic/map-has-disappeared-illegal-string-offset#post-31127</link>
			<pubDate>Thu, 02 Oct 2014 15:13:15 +0000</pubDate>
			<dc:creator>Hefge</dc:creator>
			<guid isPermaLink="false">31127@http://www.themolitor.com/forums/</guid>
			<description><p>Hello Chris,<br />
I dont know why but when I was on my website yesterday, the map has disappeared ?<br />
I didn't change nothing, no adjustments, ... </p>
<p>Do you know why I dont have map anymore ?<br />
<a href="http://www.pleinlespieds.com" rel="nofollow">http://www.pleinlespieds.com</a> </p>
<p>And when I checked one article of my website :<br />
<a href="http://pleinlespieds.com/perth-zoo/" rel="nofollow">http://pleinlespieds.com/perth-zoo/</a>, there are some lines like this :<br />
"Warning: Illegal string offset 'zoom' in /home/plein291/public_html/wp-content/themes/wpnavigator/single.php on line 35 - See more at: <a href="http://pleinlespieds.com/perth-zoo/#sthash.zRV0AeKA.dpuf" rel="nofollow">http://pleinlespieds.com/perth-zoo/#sthash.zRV0AeKA.dpuf</a>" </p>
<p>I didn't have that before ? The problems appeared without anything to make !</p>
<p>Do you know the reasons of these problems ? </p>
<p>Thank you </p>
<p>Regards
</p></description>
		</item>

	</channel>
</rss>
