Login   Register  
PHP Classes
elePHPant
Icontem

Function array_merge Error

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Yapter  >  All threads  >  Function array_merge Error  >  (Un) Subscribe thread alerts  
Subject:Function array_merge Error
Summary:Error on line 301
Messages:2
Author:Lisa Warren
Date:2011-05-27 06:47:19
Update:2011-05-28 15:41:13
 

  1. Function array_merge Error   Reply   Report abuse  
Picture of Lisa Warren
Lisa Warren
2011-05-27 06:47:20
I am getting the following error more than once for the same line of code.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/lcash/public_html/yapter.php on line 301

Here is the code for line 301 and 302.

$this->blox[$blockname]["parsed"] = array_merge($this->blox[$blockname]["parsed"], $parsed);
return $this->blox[$blockname]["parsed"];

Can you help me fix issue?

Thank you in advance.

  2. Re: Function array_merge Error   Reply   Report abuse  
Picture of Lisa Warren
Lisa Warren
2011-05-28 15:41:13 - In reply to message 1 from Lisa Warren
Problem solved. I found updated yapster code while searching the net.