Opened 12 months ago
Closed 12 months ago
#60089 closed defect (bug) (invalid)
On PHP 8.2 notice: FS_Key_Value_Storage::offsetGet($k)
Reported by: | nurielmeni | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.4.2 |
Component: | General | Keywords: | close |
Focuses: | Cc: |
Description
On PHP 8.0, no notice is shown.
on 8.2 this is the error:
Return type of FS_Key_Value_Storage::offsetGet($k) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange]
Change History (2)
Note: See
TracTickets for help on using
tickets.
The file reference later in the PHP deprecation notice should include a plugin, which apparently has an outdated version of Freemius SDK. Please report this to the plugin authors.
Freemius SDK silenced the notices last year, and the top plugins that include FS_Key_Value_Storage now use
#[ReturnTypeWillChange]
.