Is your WordPress site still using an ancient PHP version? If yes, then it might be at serious risk. Here’s why you should upgrade to the latest version of PHP.
Deprecated: Return type of WP_Theme::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 /var/web/site/public_html/wp-includes/class-wp-theme.php on line 554 Deprecated: Return type of WP_Theme::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 /var/web/site/public_html/wp-includes/class-wp-theme.php on line 595 Deprecated: Return type of WP_Theme::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 /var/web/site/public_html/wp-includes/class-wp-theme.php on line 535 Deprecated: Return type of WP_Theme::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 /var/web/site/public_html/wp-includes/class-wp-theme.php on line 544 Deprecated: Return type of WP_REST_Request::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 /var/web/site/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 960 Deprecated: Return type of WP_REST_Request::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 /var/web/site/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 980 Deprecated: Return type of WP_REST_Request::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 /var/web/site/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 992 Deprecated: Return type of WP_REST_Request::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 /var/web/site/public_html/wp-includes/rest-api/class-wp-rest-request.php on line 1003 Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 151 Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 175 Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 164 Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 186 Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 138 Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 75 Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 89 Deprecated: Return type of WP_Block_List::offsetSet($index, $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 /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 110 Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 127 Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-includes/class-wp-block-list.php on line 199 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php on line 462 Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-includes/wp-db.php on line 3030 Deprecated: Return type of ActionScheduler_DateTime::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php on line 60 Deprecated: Return type of ActionScheduler_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php on line 48 Deprecated: Return type of ActionScheduler_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php on line 27 Deprecated: Return type of AIOSEO\Plugin\Common\Models\Model::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 398 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php on line 462 Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 170 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php on line 462 Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 170 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php on line 462 Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/web/site/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 170 Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-includes/wp-db.php on line 3030 Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-includes/class-wp.php on line 173 Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-includes/wp-db.php on line 3030
Is your WordPress site still using an ancient PHP version? If yes, then it might be at serious risk. Here’s why you should upgrade to the latest version of PHP.