TAG search error
|
23-08-2012, 12:18 AM
(This post was last modified: 23-08-2012 12:34 AM by willemb.)
Post: #1
|
|||
|
|||
TAG search error
When i press on a tag then i will go to a url like http://linkert.nl/?option=tag&tag=restroom+bathroom
When i look on tags then i will get keeping the message : Warning: shuffle() expects parameter 1 to be array, null given in /home/promotie/domains/linkert.nl/public_html/include/functions.php on line 2040 Warning: array_slice() expects parameter 1 to be array, null given in /home/promotie/domains/linkert.nl/public_html/include/functions.php on line 2041 Warning: Invalid argument supplied for foreach() in /home/promotie/domains/linkert.nl/public_html/include/functions.php on line 2043 Please how to solf that ? Its got somethin to do with this code. shuffle($kelimeler_arr); $kelimeler_arr = array_slice($kelimeler_arr, 0, 5); foreach($kelimeler_arr as $deger) { $kelimeler=$kelimeler."<br>".$deger; } I removed it out of the script and the error is gone |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
TAG search error - willemb - 23-08-2012 12:18 AM
RE: TAG search error - admin - 23-08-2012, 05:48 PM
|