I am trying to: Update sites using Toolset plugins to use PHP8.1
Link to a page where the issue can be seen: hidden link
I expected to see: No deprecation notices
Instead, I got: Deprecation notices
Hello,
As discussed with Dario here - https://toolset.com/2022/12/toolset-1-6-4-compatibility-with-wordpress-6-1-and-bug-fixes/#comment-829521 - just creating this ticket to mention these notices.
I've left this dev site as is for now, so you can see it - hidden link
This site has:
- WordPress 6.1.1
- Types 3.4.17
- WP Views 3.6.5
These are all the latest available at the time of writing. As you can see, the following deprecation notices are presented:
Deprecated: Return type of WPV_Settings::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/wp-views/embedded/inc/wpv-settings.class.php on line 375
Deprecated: Return type of WPV_Settings::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/wp-views/embedded/inc/wpv-settings.class.php on line 386
Deprecated: Return type of WPV_Settings::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/wp-views/embedded/inc/wpv-settings.class.php on line 401
Deprecated: Return type of WPV_Settings::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/wp-views/embedded/inc/wpv-settings.class.php on line 411
Deprecated: Return type of Toolset_Settings::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.settings.class.php on line 231
Deprecated: Return type of Toolset_Settings::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.settings.class.php on line 243
Deprecated: Return type of Toolset_Settings::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.settings.class.php on line 258
Deprecated: Return type of Toolset_Settings::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /<my-server-path>/wp-content/plugins/types/vendor/toolset/toolset-common/inc/toolset.settings.class.php on line 268
Hopefully these can all be taken care of!