Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default PHP Warning: strip_tags() expects parameter 1 to be string, array given

    We recently upgraded to PHP 5.3.10 and now I am seeing this error in the log that I haven't seen before: PHP Warning: strip_tags() expects parameter 1 to be string, array given in /adminfolder/includes/init_includes/init_general_funcs.php on line 54

    Line 54 of that file reads:
    Code:
    $_GET[$key] = strip_tags($value);
    I will appreciate insight into how to solve this problem. Thanks!

    Currently using Zen 1.3.9h and PHP 5.3.10

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: PHP Warning: strip_tags() expects parameter 1 to be string, array given

    I've just taken a look at the code, and it appears that the error is (probably) being caused by a file being loaded from the /adminfolder/functions/extra_functions folder.

    Check what files reside in that folder (there should only be one or two files in there). See if any of them have been modified recently.

    Not much help I know, but its a start.

    Cheers
    Rod

 

 

Similar Threads

  1. Warning: trim() expects parameter 1 to be string, array given
    By jpietrowiak in forum General Questions
    Replies: 2
    Last Post: 8 Jun 2013, 07:06 PM
  2. PHP Warning: addslashes() expects parameter 1 to be string, array given
    By schoolboy in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 10 May 2013, 02:19 PM
  3. v139e PHP Warning: strlen() expects parameter 1 to be string, array given in
    By irishshopper in forum Basic Configuration
    Replies: 4
    Last Post: 7 Mar 2013, 08:06 PM
  4. v150 PHP Warning: strlen() expects parameter 1 to be string, array given
    By caffeitalia in forum General Questions
    Replies: 1
    Last Post: 1 Feb 2012, 03:17 PM
  5. Replies: 13
    Last Post: 5 May 2011, 03:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR