wordpress/wp-includes/cache.php on line 125
-
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
-
Can someone please help me?
I have the same thing! No help though!
I swear is their any wordpress tech support guys on this forum. I have posted this 3 times and no responses, it’s ridiculous.
dmogg,
1. this is a volunteer support forum. You want tech support guys — wordpress has them available for $85.00 an hour (minimum 3 hour gig), last I heard.
2. maybe you would get a better response if you actually posted the entire error message. AND maybe if the link in your profile actually pointed to a fricken blog.
I visited your site this morning, not long after you initially posted. It wasnt easy, since like I said, the link in your profile is not the blog — Instead I had to hunt out the url from your other posts.
The complete error is not what you pasted above, and I’m not going to paste it since thats your responsibility.
3. You could have searched, and had you used some keywords that are in the actual error, you might not have found an immediate fix, but atleast a potential cause:
https://www.ads-software.com/support/topic/119656?replies=18
https://www.ads-software.com/support/topic/119307?replies=2
https://trac.www.ads-software.com/ticket/4364Hello,
I apologize. I thought this was an official wordpress support site. I thought actual technicians came on and helped, that was my mistake and I’m sorry for offending anyone, that was not my intention.
Here is the complete error code:
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 125
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 131
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 139
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 144
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 281
Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 282
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 125
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 131
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 139
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 144
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 281
Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 282
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 125
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 131
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 139
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 144
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 281
Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 282
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 125
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 131
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 139
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 144
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 281
Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 282
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 125
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 131
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 139
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 144
Warning: Illegal offset type in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 281
Warning: Illegal offset type in unset in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 282
This error code appears on my side bar, I can’t turn it off. I have tried to fixes which were suggested in the last link you provided, even before I posted this. I don’t know what I am supposed to do to fix this and it’s really frustrating. I’ve been able to fix most of my problems painlessly on my own, but not this one.
Here is a link to my site, https://www.darrellmogg.com or https://www.darrellmogg.com/wordpress/
Thanks so much for your help everyone and I am again, very sorry for offending anyone.
dmogg
I provided 3 links that explain what the problem is.
How do I apply a correct check to the WP_Object_Cache->get() method?
Thanks!
are you talking about whats described here by ricomoorman?
https://www.ads-software.com/support/topic/117949?replies=9#post-586254
what he pasted was a patchfile.
If you want to know how to apply those changes..
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; }
Alright, I did that and got this error:
Parse error: parse error, unexpected ‘{‘ in /home/darrel68/public_html/wordpress/wp-includes/cache.php on line 124
Thanks so much for all your help.
yes I mispasted, ad an
if
at the front of
!is_string($id) || !is_numeric($id)) {
so it reads:
if (!is_string($id) || !is_numeric($id)) {
—
Ive edited the post above so that no-one else copies my mistake.
Thanks for the correction, but that did not fix the problem.
didnt fix what problem? the original problem or the parse error?
Ive verified that adding the if .. fixes the parse error.
I cannot help you with fixing the original error anymore than I already have, sorry.
The parse error has not been fixed yet, so if anyone can help me I greatly appreciate it.
To whooami, thanks so much for your help and patience.
as I said, Ive verified what I posted.
If you want to use MY edited file, Its here..
https://www.village-idiot.org/broke/cache.txt
download the file, rename it cache.php
DELETE THE COPY of wp-includes/cache.php that is currently on your server, and upload mine.
—
For what its worth, Ive looked at your site, and I see the ORIGINAL error, not the parse error caused by what I omitted in my pasting three posts up.
It appears you are confused by what you are seeing and trying to describe.
I see the ORIGINAL error. NOT a parse error.
I am still receiving the offset error, sorry.
- The topic ‘wordpress/wp-includes/cache.php on line 125’ is closed to new replies.