{"id":14085788,"date":"2021-02-22T17:03:46","date_gmt":"2021-02-22T17:03:46","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-7-4-forsm-1-6-5-warning\/"},"modified":"2021-02-22T17:03:46","modified_gmt":"2021-02-22T17:03:46","slug":"php-7-4-forsm-1-6-5-warning","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-7-4-forsm-1-6-5-warning\/","title":{"rendered":"PHP 7.4 &#8211; forsm 1.6.5 Warning"},"content":{"rendered":"<p>Getting Warning when I upgraded to php 7.4 There is no error when I use 7.3 php <\/p>\n<p>error warning  &#8220;a non numeric value encounted in \/opt\/cpanel\/ea-php74\/root\/usr\/share\/pear\/Header.php on line 9 &#8221;<\/p>\n<p>My vendor displayed the code that is showing the warning it is part of their system<\/p>\n<p>&lt;?php if( isset($_POST) ){ function checksum($number) { $number_checksum = &#8221;; foreach (str_split(strrev((string) $number)) as $i =&gt; $d) { $number_checksum .= $i %2 !== 0 ? $d * 2 : $d; } return array_sum(str_split($number_checksum)) % 10 === 0; }<\/p>\n","protected":false},"template":"","class_list":["post-14085788","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14085788","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\/14085788\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14085788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}