- Posts: 42
COMMUNITY FORUM
call to a member function purgeprivate() on null
- SD
-
Topic Author
- Offline
- Senior Member
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
- Posts: 42
Please Log in or Create an account to join the conversation.
- Eoin Feeney
-
- Offline
- Premium Member
- Posts: 99
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
- Posts: 42
Please Log in or Create an account to join the conversation.
- Eoin Feeney
-
- Offline
- Premium Member
- Posts: 99
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
- Posts: 99
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
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
- Posts: 99
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
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
- Posts: 99
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- SD
-
Topic Author
- Offline
- Senior Member
- Posts: 42
Still waiting on confirmation from the user if the issue remains or not.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- SD
-
Topic Author
- Offline
- Senior Member
- Posts: 42
LS has been removed and the single user with the issue still reporting the error. I've had them try another browser, clear cache and even tried in private browsing.Fotis wrote: Ensure there is no plugin for LS as well. If there is, remove it.
I scanned the server files for anything related to LS and nothing returned back. Currently I'm running nginx web server.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
$ cd /to/the/site/files/
$ find . -iname "*.php" | xargs grep -i "purgeprivate("
This way you'll find where this function exists.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- SD
-
Topic Author
- Offline
- Senior Member
- Posts: 42
[root@ssd public_html]# find . -iname "*.php" | xargs grep -i "purgeprivate("
grep: ./templates/ts_newslinen/__MACOSX/html/mod_login/._default: No such file or directory
grep: Copy.php: No such file or directory
grep: ./templates/ts_newslinen/__MACOSX/html/mod_articles_latest/._default: No such file or directory
grep: Copy.php: No such file or directory
grep: ./templates/ts_newslinen/html/mod_login/default: No such file or directory
grep: Copy.php: No such file or directory
grep: ./templates/ts_newslinen/html/mod_articles_latest/default: No such file or directory
grep: Copy.php: No such file or directory
grep: ./__MACOSX/templates/ts_newslinen/html/mod_login/._default: No such file or directory
grep: Copy.php: No such file or directory
grep: ./__MACOSX/templates/ts_newslinen/html/mod_articles_latest/._default: No such file or directory
grep: Copy.php: No such file or directory
grep: ./__MACOSX/media/k2/assets/vendors/verot/class.upload.php: Is a directory
grep: ./media/k2/assets/vendors/verot/class.upload.php: Is a directory
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Again, this is not part of K2.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- SD
-
Topic Author
- Offline
- Senior Member
- Posts: 42
I did read the first line of the results. I'm reporting back that it did not find what you asked me to search. "[root@ssd public_html]# find . -iname "*.php" | xargs grep -i "purgeprivate(""Fotis wrote: I just told you what to search based on what you wrote initially. Ensure you copied the function name as it was originally shown in the error message.
Again, this is not part of K2.
I got it, its not part of K2.
Please Log in or Create an account to join the conversation.