Viewing 12 replies - 31 through 42 (of 42 total)
  • Try edit /wp-includes/plugin.php [Line : 102], inside remove_filter function.
    Change :
    unset($GLOBALS['wp_filter'][$tag][$priority][serialize($function_to_remove)]);

    To :

    $wp_filter[$tag][$priority][serialize($function_to_remove)] = array();
    unset( $wp_filter[$tag][$priority][serialize($function_to_remove)] );

    Thanks Seveneth. I got rid of that irritating Array.

    Thanks Seveneth. I just ran into the same problem. I added the line as you recommended, cleaned out a few “Array”s that were in the database (in the posts and options tables, if I recall), and the problem cleared up.

    This was WordPress 2.2.1 (installed through Fantastico) (as reported in the page’s meta tag), PHP 4.3.11, and MySQL 4.0.27-standard (both as reported by CPanel).

    that code fixed the issue !! .. wow.. that should be applied to a new version ..

    note: I just installed a fresh wordpress 2.2.x and had the array issue directly from the beginning.. Running CentOS with BlueQuartz..

    Please leave this thread up because seveneth’s solution for solving the ARRAY bug saved me, too. It may not be a support problem, but it sure looks like a bunch of us needed support because of it.

    After upgrading to WP 2.2.2 from 2.1, ARRAY errors were gunking up everything, including all of the themes in the control panel. I had used the Maintence Mode plugin suggested when I upgraded, but after I got everything installed, I could not get out of Maintence Mode. I had checked everything I possibly could think of – plugins, htaccess, etc – short of a reinstall when I came across seventh’s message about editing the wp-includes file:
    /wp-includes/plugin.php [Line : 102], inside remove_filter function.

    It worked! Immediately. I have no clue why, but I am very grateful. If you are at your wits’ end over this ARRAY thing, back up the original plugin.php and try it. Thanks so much, seveneth!

    Seveneth, you are a legend. This fixed my problem when upgrading to 2.3.

    Confirming this fixed the problem in an update from 2.1 to 2.3
    Thanks !

    wp-admin/users.php on line 55

    I included that in hopes that it will help people to find this thread by googling it. I was having the same “array” problem and an error coming up on the users page. I thought that I was going to have to download an earlier version to be able to get this blog going, but this little fix took care of the problem!

    I hope that we are not back into an era of having to hack WP again, I was so pleased to get out of that mess, and here we are hacking code again. Let’s hope a fix is in the works.

    I suggest that this be deemed “the seventh fix” in honor of the saint who delivered us from the array bug.

    shahramdeaf

    (@shahramdeaf)

    seveneth
    realy thank u so much for help and thank u a lot.

    polites

    (@polites)

    I also had the same problem with the last version of WP (2.3.1). My solution is similar.

    In the file wp-includes/plugin.php is the function remove_filter with this lines of code:

    $r = isset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);
    unset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);

    I have added the ‘if’ to solve the problem:

    $r = isset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);
    if ($r) unset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);
    xt0m

    (@xt0m)

    Thanks polites, same here.

    2.3.1 and had the same array-stuff happening upon moving from one server to another. So far the fix works w/o issues ??

    /t0m

    seveneth, YOU ROCK! After 4 hours of searching through Forum threads, YOU are the only one who has the answer. Let me drop in the common key words that everyone else seems to be searching under for this problem:

    no templates in presentation array line error

Viewing 12 replies - 31 through 42 (of 42 total)
  • The topic ‘the word ‘Array’ is appearing everywhere in the dashboard’ is closed to new replies.