Navigation Menu

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

QueryCache issue on Elgg 3? #12675

Closed
iionly opened this issue Jun 12, 2019 · 3 comments
Closed

QueryCache issue on Elgg 3? #12675

iionly opened this issue Jun 12, 2019 · 3 comments

Comments

@iionly
Copy link
Contributor

iionly commented Jun 12, 2019

I don't know the possible reason for the error mentioned in https://elgg.org/discussion/view/2932073/error-message-during-installation-v303. Maybe there's some issue in the current Elgg 3?

@jeabakker
Copy link
Member

Fatal error: Default value for parameters with a class type hint can only be NULL in /vendor/elgg/elgg/engine/classes/Elgg/Cache/QueryCache.php on line 36

I can't find a class type hint

/**
* @inheritdoc
*
* @param int $size max items in LRU cache
* @param bool $config_disabled is this cache allowed to be used
*/
public function __construct(int $size = 50, bool $config_disabled = false) {
$this->config_disabled = $config_disabled;
parent::__construct($size);
}

@iionly
Copy link
Contributor Author

iionly commented Jun 12, 2019

Maybe it's the php version used (< 7). I've now asked in the discussion thread if he has at least php 7.0 installed.

@iionly
Copy link
Contributor Author

iionly commented Jun 29, 2019

Assuming this issue is most likely not an issue due to no response in the discussion thread on the community for 2 weeks now.

@iionly iionly closed this as completed Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants