Keyword

call to a member function purgeprivate() on null

More
3 years 2 weeks ago #178346 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.
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 5 days ago #178379 by SD
Bumping this back up.

Please Log in or Create an account to join the conversation.

More
3 years 5 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

Please Log in or Create an account to join the conversation.

More
3 years 4 hours ago #178410 by SD
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.

More
3 years 3 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.

More
2 years 11 months ago #178456 by JoomlaWorks
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.

More
2 years 11 months ago - 2 years 11 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)

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 years 11 months ago by Eoin Feeney.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #178472 by JoomlaWorks
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.

More
2 years 11 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.

More
2 years 11 months ago #178479 by JoomlaWorks
Replied by JoomlaWorks on topic call to a member function purgeprivate() on null
I was being ironic obviously :)

(and I'm referring to this www.litespeedtech.com/benchmarks/joomla)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum