WordPress.org

Support

Support » How-To and Troubleshooting » the word ‘Array’ is appearing everywhere in the dashboard

the word ‘Array’ is appearing everywhere in the dashboard

Viewing 15 replies - 1 through 15 (of 42 total)
  • whooami

    @whooami

    Member

    thats a mysql problem. what version of mysql are you using?

    i just got done deleting a previous (unused version) of wordpress 2.1.3, could that be the reason why? i deleted and re-created the databases though. i’m running 4.1.21-standard

    whooami

    @whooami

    Member

    hmm. mysql version is OK. Only happens in the admin area? The front page displays the posts without issue?

    When you say you deleted and then created, did you actually create the tables or did you allow WP to?

    That might potentially be a problem, if so.

    i went into the ftp and deleted the entire folder, then deleted the database that was associated with it. i then downloaded the latest version of WP and made a new database (with a different name) and uploaded it. I have WP make the tables for me.

    i just tried to make a post (i highlighted all the ‘Array’s and removed them) but the post never showed up. i chose the publish option but when i went to hit ‘save’ it refreshed and the default option for ‘draft’ was selected.

    whooami

    @whooami

    Member

    ok, I would do this..

    start by disabling all of your plugins, widgets, anything. the first thing to rule out is that whatever i causing that inst something simple.

    The admin area is also heavy on the jquery stuff now so make sure you have javascript enabled. I have no idea what real effect that might have but better safe than sorry.

    After making sure thats its nothing simple. I would echo back the queries that are being sent.

    There are directions for doing that in this thread:

    http://wordpress.org/support/topic/83525?replies=4

    What you are wanting to look and see that the array values are populated, and if they arent look to see exactly what mysql query is being executed.

    use ottos or marks code, put that save queries line the top of wp-admin/admin.php, like so:

    <?php
    define('SAVEQUERIES', true);
    if ( defined('ABSPATH') ) ...

    the drop the other code into the bottom of admin-footer.php before the closing <HTML> tag. I used otto’s, it works.

    You will need to view your source to see the actual information and its going to look like:

    <!--
    Array
    (
        [0] => Array
            (
                [0] => SELECT option_value FROM .....
     WHERE option_name = 'siteurl'
                [1] => 0.000127077102661
            )
        [1] => Array ...

    i met the same problem,and couldnot find the solution, so have to rollback to 2.1.3 version.

    btw: there is a category and page both named “Array”, and couldnot be deleted

    whooami

    @whooami

    Member

    That really sounds to me like a “php/mysql problem. I havent looked hard enough to see if those particular queries have changed, though, but since this problem seems isolated …

    whooami is probably right–it’s something in either your php or mysql implementation:

    I found a number of reference to people (using WordPress and other php products) where the word Array gets displayed. Most seem to discuss coding issues but don’t think that’s the case here:
    http://www.geeklog.net/forum/viewtopic.php?showtopic=76379
    http://drupal.org/node/140871
    http://www.phpinsider.com/smarty-forum/search.php?search_author=TGKnIght&sid=d7069ad552837d829e0a96862c891b98
    http://www.thescripts.com/forum/thread609578.html
    http://guff.szub.net/2006/02/09/post-image/

    Maybe a phpinfo.php will tell you (or your host) something. Who is your host? What version of PHP and MySQL are installed?

    well my php version is 4.3.7 and mysql’s client API version is 4.0.20 what should i do?

    Who is your host?

    my host is located in China, do i need to contact it and ask for help?

    I also have the “Array” problem in upgrade from 2.1.3 to 2.2, the php version is 4.3.10, the mqsql version is 4.0.26-standard.

    I’ve been bitten by the “array” bug too, after upgrading from 2.0.2 to 2.2. I hope someone nails this problem soon!

    I have the same exact issue.

    PHP – 4.3.11
    MYSQL – 4.0.27-standard

    I have a friend who uses the same host (Liquid Web) and who just upgraded to WP 2.2 but does NOT have this issue, although he has upgraded PHP and MYSQL versions. Potential cause?

    I dropped my database tables, re-uploaded my 2.2 files and re-ran install. I now have the following message about 12 times down my right column (default theme):

    Warning: Illegal offset type in /home/michae02/public_html/michaelboudreaux.com/wp-includes/cache.php on line 125

    Also, in addition to the “Array” issue, the “Users” tab of the admin panel displays the following message:

    Fatal error: Unsupported operand types in /home/michae02/public_html/michaelboudreaux.com/wp-admin/users.php on line 55

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