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

PHP Notice: Undefined index: 2.0:profile.mygamertag in /html/api/includes/classes/cache.class.php on line 86 #74

Open
noobmasta opened this issue Jul 7, 2014 · 1 comment
Assignees
Labels

Comments

@noobmasta
Copy link

[Sun Jul 06 07:26:35 2014] [error] [client myip] PHP Notice: Undefined index: 2.0:profile.mygamertag in /html/api/includes/classes/cache.class.php on line 86

ok so i know the apc cache system works but my errorlog(s) are filled with this. looks like it happens every time any query is made with the api

@jasonclemons
Copy link
Member

If APC was working, and you had the CACHE_ENGINE set to apc in /includes/bootloader.php, then you would not be getting this error. By default, it checks to see if APC is available, and if not, will default back to disk caching.

This error occurs when disk caching is being used, and there is no cache directory, or the directory is not writable.

@jasonclemons jasonclemons self-assigned this Jul 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants