No images appear - None! (13 posts)

  1. MarsHottentot
    Posted 5 years ago #

    Hi all. I'm using WordPress 2.9.2. with the Son of Blue theme. After getting some eroneous data due to hotlinking in Statpress, I activated WordPress Automatic Image Hotlink Protection. First, my Statpress went nuts saying I had very few visitors and 20 thousand spiders (highly unlikely). Then all - and I mean ALL of the images from WordPress disappeared.

    Not only images that I've uploaded, but the header, the RSS feed png, the WP logo png - anything with an image (they still exist within the FTP). This problem also reached into the admin panel. I removed the plug but the issue remains. I've deactivated each plug - one at a time until they were all shut off, issue remains.

    Okay... is there an easy fix here before I resort to a reinstall?

    Thank you!

  2. MarsHottentot
    Posted 5 years ago #

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    Guess I would recommend checking your browser/computer, refreshing your cache, etc

    Cuz your site is fine from here (IE7)

    Your theme is there, the freaking looking dude in the dog/bear costume, etc

  4. MarsHottentot
    Posted 5 years ago #

    Really? Hmm, it isn't working on any of the computers here (Firefox 3 / Safari). We're all on Macs and you're on a PC...? Curious.

    Thanks for the response RVoodoo!

  5. MarsHottentot
    Posted 5 years ago #

    And, yes, the caches have been cleared. Oh yeah, Statpress spider count = 198288 for TODAY.

  6. MarsHottentot
    Posted 5 years ago #

    Can 1 more Windows user and 1 more Mac user please check and report their findings? Thanks.

  7. MarsHottentot
    Posted 5 years ago #

    Okay, I get the common error:
    Warning: array_key_exists(): The second argument should be either an array or an object in "wp-includes/widgets.php on line 852".

    However, I have no clue how to fix this. The 'DB_CHARSET', 'utf8' solution is no where to be found in the widget-php. I'm sorry, I'm more a writer than a programmer, so all of this is kind of a mystery to me.

    Any help would be massively appreciated!

  8. Shane G.
    Posted 5 years ago #


    Change this code:

    f(!array_key_exists($checked, $alignments))


    if(!array_key_exists("$checked", $alignments))

    Now, have a check.


    Shane G.

  9. MarsHottentot
    Posted 5 years ago #

    Shane, thanks for the response - the above line isn't in the widget-php either. Perhaps that's part of the problem?

    Here are my 'array_key_exist' lines, should they reveal anything:

    ( array_key_exists( $this->number, $instance ) )

    ( !array_key_exists('_multiwidget', $settings) )

    array_key_exists($index, $sidebars_widgets)

    ( array_key_exists($widget, $wp_registered_widgets) )

    ( array_key_exists( $id, $sidebars_widgets ) )

    Again, thanks for the help!

  10. MarsHottentot
    Posted 5 years ago #

    Alright. My widgets page is gone (not the php mind you, just access to the widgets page online).

  11. MarsHottentot
    Posted 5 years ago #

    Line 852 reads as follows:

    if ( empty($wp_registered_sidebars[$index]) || !array_key_exists($index, $sidebars_widgets) || !is_array($sidebars_widgets[$index]) || empty($sidebars_widgets[$index]) )


  12. MarsHottentot
    Posted 5 years ago #

    Is there anywhere else I can go to get help? This place is too crowded and I need this fixed as it's my job. Thank you for all your help to this point!

  13. Nalates
    Posted 4 years ago #

    Did anyone find a solution?

    If one Googles on the error it brings up thousands of sites that are now displaying this error.

Topic Closed

This topic has been closed to new replies.

About this Topic