- Posts: 42
COMMUNITY FORUM
call to a member function purgeprivate() on null
- SD
- Topic Author
- Offline
- Senior Member
Less
More
3 years 8 months 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: 42
3 years 8 months 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 years 7 months 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: 42
3 years 7 months 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 years 7 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178456
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks 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
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Eoin Feeney
- Offline
- Premium Member
Less
More
- Posts: 99
3 years 7 months ago - 3 years 7 months 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: 3 years 7 months ago by Eoin Feeney.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178472
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks 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
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Eoin Feeney
- Offline
- Premium Member
Less
More
- Posts: 99
3 years 7 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178479
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic call to a member function purgeprivate() on null
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.