This is for the error: Fatal error: Cannot use string offset as an array in /includes/phoogle.php on line 137 , which just started popping up today. I haven’t had time to update the source files yet, but Michael Clark sent along the following fix that seems to work. I’ll post an updated php file ASAP [...]
This is for the error: Fatal error: Cannot use string offset as an array in /includes/phoogle.php on line 137 , which just started popping up today.
I haven’t had time to update the source files yet, but Michael Clark sent along the following fix that seems to work. I’ll post an updated php file ASAP
it’s a minor patch -
//add as the new first line of the characterData function if(!trim($data)) return;
8 Responses
Are you going to include to the change for the [Response] offset? Shouldn’t it be ['Response']?
http://forums.digitalpoint.com/showthread.php?p=9779114#post9779114
I’m also getting this error every other time I refresh the page:
I also get an error with an undefined offset at line 336. This error happens every other time I refresh the page.
phoogle.php
Line 332: function endElement($parser, $name)
Line 333: {
Line 334: $key=array_pop($this->keys);
Line 335: if($this->node_flag==1){
Line 336: $this->arrays[$this->depth][$key]=$this->arrays[$this->depth+1];
Line 337: unset($this->arrays[$this->depth+1]);
Line 338: }
Line 339: $this->node_flag=1;
Line 340: $this->depth–;
Line 341: }
By the way! Great module!
Sweet that worked does anyone have any idea why this just popped up?
Hi
i’m getting the same error as nick leung quite often. Does anyone know a way to fix this….
thanks
Fix worked, thanks!
Thank you for fixing this.
Thanks for the FANTASTIC post! This information is really good and thanks a lot for sharing it. I’m looking forward desperately for the next post of yours.
Error fixed. Great.
hermes birkin replica
This article is a written document very well. The author has expressed his opinion well. The perfect work and thank you to have us post on this site.