- Posts: 41
COMMUNITY FORUM
call to a member function purgeprivate() on null
- SD
-
Topic Author
- Offline
- Senior Member
Less
More
1 month 4 days ago #178346
by SD
call to a member function purgeprivate() on null was created by SD
J: 3.9.25
K2: 2.10.3
I have a user that got the error "call to a member function purgeprivate() on null" when attempting to login to the site and post an article.
The weird thing is they were able to login once and post. Days later when attempting to log back in they get the error. I've even gone as far as deleting their profile, creating a brand new profile then once created the same thing happened once again. This particular user has had a user profile to post for several years now and just recently in the last two or three weeks has this started. The other users have no issues with logging in and posting nor get this error.
There are no other errors but just a page with that error listed. This has happened in both Safari and Chrome.
K2: 2.10.3
I have a user that got the error "call to a member function purgeprivate() on null" when attempting to login to the site and post an article.
The weird thing is they were able to login once and post. Days later when attempting to log back in they get the error. I've even gone as far as deleting their profile, creating a brand new profile then once created the same thing happened once again. This particular user has had a user profile to post for several years now and just recently in the last two or three weeks has this started. The other users have no issues with logging in and posting nor get this error.
There are no other errors but just a page with that error listed. This has happened in both Safari and Chrome.
Please Log in or Create an account to join the conversation.
- SD
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
3 weeks 5 days ago #178379
by SD
Replied by SD on topic call to a member function purgeprivate() on null
Bumping this back up.
Please Log in or Create an account to join the conversation.
- Eoin Feeney
-
- Offline
- Premium Member
Less
More
- Posts: 99
3 weeks 8 hours ago #178408
by Eoin Feeney
Replied by Eoin Feeney on topic call to a member function purgeprivate() on null
I got the same error recently. I think it was due to an incorrect login, but I'm a bit baffled too.
I'm using PHP7.3 are you?
I posted here: joomla.stackexchange.com/questions/28970/0-call-to-a-member-function-purgeprivate-on-null
I'm using PHP7.3 are you?
I posted here: joomla.stackexchange.com/questions/28970/0-call-to-a-member-function-purgeprivate-on-null
Please Log in or Create an account to join the conversation.
- SD
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
3 weeks 7 hours ago #178410
by SD
Replied by SD on topic call to a member function purgeprivate() on null
No, I am running 7.4. However I test 7.3 at the recommendation of my web host with no change.
Please Log in or Create an account to join the conversation.
- Eoin Feeney
-
- Offline
- Premium Member
Less
More
- Posts: 99
3 weeks 7 hours ago #178411
by Eoin Feeney
Replied by Eoin Feeney on topic call to a member function purgeprivate() on null
I have a feeling this may be a Joomla thing not a K2 thing as I'm not using K2
Please Log in or Create an account to join the conversation.
- Fotis
-
- Offline
- Administrator
- JoomlaWorks Support Team
2 weeks 4 days ago #178456
by Fotis
If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/
IMPORTANT: Please search the forum before posting a question!
JoomlaWorks Support Team Member
Replied by Fotis on topic call to a member function purgeprivate() on null
It's most likely some 3rd party module/plugin. That function is not part of K2: github.com/getk2/k2/search?q=purgeprivate
If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/
IMPORTANT: Please search the forum before posting a question!
JoomlaWorks Support Team Member
Please Log in or Create an account to join the conversation.
- Eoin Feeney
-
- Offline
- Premium Member
Less
More
- Posts: 99
2 weeks 4 days ago - 2 weeks 4 days ago #178470
by Eoin Feeney
Replied by Eoin Feeney on topic call to a member function purgeprivate() on null
For me this is from Litespeed Cache.
I went into cPanel and I went to Terminal and I did a search by copying and pasting this (right click to paste)
It returns
If you are also using J2Store or Virtumart or another cart, it could be the same thing.
I opened a GitHub issue here that you may wish to follow:
github.com/litespeedtech/lscache-joomla/issues/42
I went into cPanel and I went to Terminal and I did a search by copying and pasting this (right click to paste)
grep -Ri purgeprivate public_html
It returns
$this->plugin->lscInstance->purgePrivate("com_virtuemart.cart");
If you are also using J2Store or Virtumart or another cart, it could be the same thing.
I opened a GitHub issue here that you may wish to follow:
github.com/litespeedtech/lscache-joomla/issues/42
Last edit: 2 weeks 4 days ago by Eoin Feeney.
Please Log in or Create an account to join the conversation.
- Fotis
-
- Offline
- Administrator
- JoomlaWorks Support Team
2 weeks 4 days ago #178472
by Fotis
If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/
IMPORTANT: Please search the forum before posting a question!
JoomlaWorks Support Team Member
Replied by Fotis on topic call to a member function purgeprivate() on null
This would explain why these LiteSpeed benchmarks render Joomla so fast in comparison to Nginx and other webservers :D
If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/
IMPORTANT: Please search the forum before posting a question!
JoomlaWorks Support Team Member
Please Log in or Create an account to join the conversation.
- Eoin Feeney
-
- Offline
- Premium Member
Less
More
- Posts: 99
2 weeks 4 days ago #178475
by Eoin Feeney
Replied by Eoin Feeney on topic call to a member function purgeprivate() on null
Because of PHP errors?
Please Log in or Create an account to join the conversation.
- Fotis
-
- Offline
- Administrator
- JoomlaWorks Support Team
2 weeks 4 days ago #178479
by Fotis
If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/
IMPORTANT: Please search the forum before posting a question!
JoomlaWorks Support Team Member
Replied by Fotis on topic call to a member function purgeprivate() on null
If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/
IMPORTANT: Please search the forum before posting a question!
JoomlaWorks Support Team Member
Please Log in or Create an account to join the conversation.