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 Errors in class-fs-key-value-storage.php file #123

Closed
Elgameel opened this issue Oct 6, 2022 · 2 comments
Closed

PHP Errors in class-fs-key-value-storage.php file #123

Elgameel opened this issue Oct 6, 2022 · 2 comments
Labels

Comments

@Elgameel
Copy link

Elgameel commented Oct 6, 2022

Detailed description

There are 10 PHP Errors in class-fs-key-value-storage.php file.

File path: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php

Screenshot 2022-10-06 175327

Context

Install the Query Monitor plugin and you will get the following error messages.

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::offsetExists($k) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:309

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::offsetGet($k) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice	
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:317

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::offsetSet($k, $v) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:301

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::offsetUnset($k) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice	
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:313

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice	
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:328

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:339

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:350

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:362

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:375

Error Level: Deprecated
Error Message: Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Location: wp-content/plugins/kk-star-ratings/freemius/includes/managers/class-fs-key-value-storage.php:389

Environment

  • WP: 6.0.2
  • PHP: 8.1
  • KKSR: 5.3.4
@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 20, 2022
@github-actions
Copy link

github-actions bot commented Dec 5, 2022

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Dec 5, 2022
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

1 participant