[wp-trac] [WordPress Trac] #57382: Woocommerce have multiple Deprecated errors when working with PHP 8.1
WordPress Trac
noreply at wordpress.org
Fri Dec 23 14:19:15 UTC 2022
#57382: Woocommerce have multiple Deprecated errors when working with PHP 8.1
--------------------------+-----------------------------
Reporter: nick7268 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 6.1.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/wp-
includes/functions.php on line 7022
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type
array|string is deprecated in
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/wp-
includes/functions.php on line 2162
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type
string is deprecated in
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/wp-
includes/functions.php on line 7022
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type
array|string is deprecated in
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/wp-
includes/functions.php on line 2162
Deprecated: parse_str(): Passing null to parameter #1 ($string) of type
string is deprecated in
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/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
/home/u150965599/domains/enzoingenieros.com/public_html/cursos/wp-
content/plugins/buddyboss-platform/bp-core/bp-core-avatars.php on line 435
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57382>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list