Warning: Illegal string offset 't' ?
« on: December 01, 2013, 05:24:44 AM »
Been using this for years now and this is the first time I ever got this error.  Any idea?  I did recently upgrade my php to 5.4 I believe... perhaps this has something to do with it?  Using the latest 6.0 version of course since it came out.

This was the automated email I received when the cronjob ran for the sitemap.

Code: [Select]
1 | 20 | 13.0 | 0:00:02 | 0:00:59 | 1 | 3,030.0 Kb | 1 | 0 | 3030
20 | 1 | 219.6 | 0:00:05 | 0:00:00 | 1 | 3,044.1 Kb | 19 | 34 | 3044
40 | 15 | 401.4 | 0:00:07 | 0:00:02 | 2 | 3,062.9 Kb | 38 | 0 | 3062
56 | 0 | 548.2 | 0:00:08 | 0:00:00 | 4 | 3,038.8 Kb | 54 | 0 | 3038
<h4>Completed</h4>Total pages indexed: 54
<br>Creating sitemaps...
<div id="percprog"></div>
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0

Warning: Illegal string offset 't' in /home/blahblah/public_html/sitemap/pages/page-crawlproc.inc.php on line 248
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br>Sending email notification... |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page. <script> top.location = 'index.php?op=view' </script>
Re: Warning: Illegal string offset 't' ?
« Reply #1 on: December 02, 2013, 02:01:38 PM »
Hello,

one of the settings seem to have incorrectly formatted regular expression. Do you have custom settings for Exclude URLs/Add directly settings?
Re: Warning: Illegal string offset 't' ?
« Reply #2 on: December 02, 2013, 02:02:57 PM »
Also, please try to install the latest version of sitemap generator (v6.1).
Re: Warning: Illegal string offset 't' ?
« Reply #3 on: December 02, 2013, 04:36:10 PM »
Yes, I did have a few exclude urls.  Thing is I always have had them and never had problems before.  It must have something to do with the upgraded php I installed.

I also noticed the 6.1 and went ahead and installed.  I ran a crawl after installation and no errors.  Whatever it was the 6.1 version took care of it.