Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Undefined offset: 1 in /plugins/system/lscache/lscache.php on line 730 #22

Closed
jimhill10 opened this issue May 22, 2018 · 13 comments

Comments

@jimhill10
Copy link

I am seeing this warning (not error) in the back end on Joomla 3.8.8:
Notice: Undefined offset: 1 in /plugins/system/lscache/lscache.php on line 730

@WuhuaChen
Copy link
Collaborator

Which version of LiteSpeed Cache plugin are you using, I can't locate this problem in current version code.

@jimhill10
Copy link
Author

We are on 1.2.0. That warning shows with debug enabled and error reporting on maximum. Shows on my dev site. If nobody else sees it then I suggest just closing it and waiting to see if others report it.

@ssnobben
Copy link

I also get this notification error having Joomla set to report "Maximum" Notice: Undefined offset: 1 /plugins/system/lscache/lscache.php on line 797 Joomla 3.9.11 and latest LMS cache version

@uglyeoin
Copy link

Me too. Only in the admin.

@ssnobben
Copy link

ssnobben commented Dec 20, 2019

Same here in the admin of Joomla 3.9.14. Notice: Undefined offset: 1 in /plugins/system/lscache/lscache.php on line 797 Using v lscache-1.3.0

@uglyeoin
Copy link

@ssnobben I approached in the Slack group and got a code fix :) Maybe try that? I'm sure he wouldn't mind if I shared the code.

@ssnobben
Copy link

ok thats would be nice. where can I find the code?

@uglyeoin
Copy link

lscache-latest.zip

@uglyeoin
Copy link

I'm sure he won't mind and I'm probably saving him a job in reality :)

@uglyeoin
Copy link

Maybe @jimhill10 can close this issue now and help him too?

@ssnobben
Copy link

Q: So is this the same or newer than https://github.com/litespeedtech/lscache-joomla and/or with update from @WuhuaChen 12 days ago?

@uglyeoin
Copy link

uglyeoin commented Dec 23, 2019

@ssnobben I'm afraid I couldn't tell you the answer to that. But I received it on 11/12/2019 so probably the same or older. I'd use the Github version if I were you. Does the latest version solve your problem? And if not.... does this version?

Recommended action.

  1. Backup, backup, backup.
  2. Install the latest github version
  3. Test if it's fixed. If it is then...
  4. If it isn't install my version and test if it's fixed.
  5. If it is then you should compare both files using some sort of a diff program and then merge the differences if you can which would hopefully bring you the result you want.

Then you should raise a pull request here to help out the author with his great work. I suspect it is the right version though. Let me know. It's Christmas I'll try to help. But also... I had success in the Slack channel so perhaps joining that is a better way to raise support requests from now on :) Raise an issue here and then tell him that you have done so and send the link in Slack :)

@jimhill10
Copy link
Author

I am no longer seeing this issue using the latest versions of Joomla and Lscache. I can close this. Testing it again just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants