Opened 2 years ago
Last modified 2 years ago
#57382 new defect (bug)
Woocommerce have multiple Deprecated errors when working with PHP 8.1
Reported by: | nick7268 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.1.1 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
I am working on a project using Woocommerce, Buddyboss theme, and Elementor and they are having multiple issues with deprecated warnings. The PHP version is 8.1 and we think that can be one of the main reasons.
The following are the error stored in error logs
Deprecated: Return type of BP_Core_BP_Nav_BackCompat::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 /.../wp-content/plugins/buddyboss-platform/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 122 Deprecated: Return type of BP_Core_BP_Nav_BackCompat::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 /.../wp-content/plugins/buddyboss-platform/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 97 Deprecated: Return type of BP_Core_BP_Nav_BackCompat::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 /.../wp-content/plugins/buddyboss-platform/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 63 Deprecated: Return type of BP_Core_BP_Nav_BackCompat::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 /.../wp-content/plugins/buddyboss-platform/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 148 Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /.../wp-content/plugins/buddyboss-platform-pro/includes/integrations/zoom/bp-zoom-actions.php on line 164 Deprecated: Return type of OMAPI_Plugins_Plugin::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /.../wp-content/plugins/optinmonster/OMAPI/Plugins/Plugin.php on line 293 Deprecated: Return type of OMAPI_Plugins_Plugin::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 /.../wp-content/plugins/optinmonster/OMAPI/Plugins/Plugin.php on line 242 Deprecated: Return type of OMAPI_Plugins_Plugin::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 /.../wp-content/plugins/optinmonster/OMAPI/Plugins/Plugin.php on line 255 Deprecated: Return type of OMAPI_Plugins_Plugin::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 /.../wp-content/plugins/optinmonster/OMAPI/Plugins/Plugin.php on line 269 Deprecated: Return type of OMAPI_Plugins_Plugin::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 /.../wp-content/plugins/optinmonster/OMAPI/Plugins/Plugin.php on line 282 Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /.../wp-content/themes/buddyboss-theme/inc/plugins/buddyboss-menu-icons/vendor/codeinwp/themeisle-sdk/load.php on line 20 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /.../wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /.../wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /.../wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /.../wp-includes/functions.php on line 2162 Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /.../wp-content/plugins/woocommerce/src/Admin/PageController.php on line 128 Saltar al contenido principalIr a la barra de herramientas Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /.../wp-content/plugins/buddyboss-platform/bp-core/bp-core-avatars.php on line 435 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /.../wp-content/plugins/buddyboss-platform/bp-core/bp-core-avatars.php on line 435 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /.../wp-content/plugins/buddyboss-platform/bp-core/bp-core-avatars.php on line 435 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /.../wp-content/plugins/buddyboss-platform/bp-core/bp-core-avatars.php on line 435 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /.../wp-content/plugins/buddyboss-platform/bp-core/bp-core-avatars.php on line 435
Note: See
TracTickets for help on using
tickets.