Opened 3 years ago
Closed 3 years ago
#60089 closed defect (bug) (invalid)
On PHP 8.2 notice: FS_Key_Value_Storage::offsetGet($k)
| Reported by: | nurielmeni | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 6.4.2 |
| Severity: | normal | Keywords: | close |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The file reference later in the PHP deprecation notice should include a plugin, which apparently has an outdated version of Freemius SDK.
Freemius SDK silenced the notices last year, and the top plugins that include FS_Key_Value_Storage now use
#[ReturnTypeWillChange].