• What does this message mean? It’s on my sidebar since I upgraded to new version, it’s screwed my whole page up. How do I fix it?

    wordpress/wp-includes/cache.php on line 125

Viewing 5 replies - 16 through 20 (of 20 total)
  • ** everything removed from here because he edited his previous post **

    Nice edit on that last post of yours, now that you are clear on what you are seeing.

    What I said earlier still stands. I cant help anymore. Good luck,

    Thread Starter dmogg

    (@dmogg)

    Well, good news and bad news. I had my host update the php and the zend optimizer. That fixed the first set of errors on my page, I went to check comments and I was getting errors, so I re-uploaded the WP files. Now I get these errors on the sidebar.

    Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 285

    Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 286

    Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 285

    Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 286

    Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 285

    Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 286

    Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 285

    Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 286

    Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 285

    Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 286

    Can you guys tell me what to do to get rid of this error and any ideas why my comments would generate an error, same with my users tab?

    Here is the users tab:

    Fatal error: Unsupported operand types in /home/darrel68/public_html/wordpress/wp-admin/users.php on line 55

    My website is darrellmogg.com. Thank you again.

    Hi whooami,

    I just wanted to post saying THANKS! Thanks a lot for your cache.php file. It fixed the same problem I was having (illegal offset). I couldn’t find the solution anywhere!

    You rule man!

    lol, you’re welcome, I guess! Glad it helped ??

    Hi,

    I had that Illegal offset problem in my new blog, and the solution posted by Whooami solved it.

    you open wp-includes/cache.php

    you locate line 125, which reads:

    if (isset ($this->cache[$group][$id])) {

    and immediately before that line, you paste this in:

    if (!is_string($id) || !is_numeric($id)) {
    return false;
    }

    Only thing I had to do beside pasting it before line 125 was pasting it also right before line 285, as the error ocurred in two lines.

    Thanks a lot for your help!

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘wordpress/wp-includes/cache.php on line 125’ is closed to new replies.