{"id":18392091,"date":"2025-03-31T15:22:46","date_gmt":"2025-03-31T15:22:46","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-deprecated-error-20\/"},"modified":"2025-03-31T15:23:22","modified_gmt":"2025-03-31T15:23:22","slug":"php-deprecated-error-20","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-deprecated-error-20\/","title":{"rendered":"PHP Deprecated Error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello there,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin reports an error when running in the PHP 8.1 environment. The error message is as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in mywebsite.com\\wp-content\\plugins\\scriptless-social-sharing\\includes\\postmeta\\class-scriptlesssocialsharing-postmeta.php on line 183<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It runs normally without error in PHP 8.0 environment. Please look into it, thanks.<\/p>\n","protected":false},"template":"","class_list":["post-18392091","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18392091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18392091\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18392091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}