{"id":10211108,"date":"2018-04-23T21:05:04","date_gmt":"2018-04-23T21:05:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/is-it-compatible-with-php-7-2\/"},"modified":"2018-04-23T21:05:04","modified_gmt":"2018-04-23T21:05:04","slug":"is-it-compatible-with-php-7-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/is-it-compatible-with-php-7-2\/","title":{"rendered":"Is it compatible with PHP 7.2?"},"content":{"rendered":"<p>While testing our site for PHP 7.2 compatibility, I noticed a few warnings and an error for your plugin.  You haven&#8217;t had an update in a year, perhaps this is a good time to tweak the plugin.<\/p>\n<pre><code>FILE: plugins\/amazon-product-in-a-post-plugin\/inc\/amazon-product-in-a-post-aws-signed-request.php\nLine 1258 | WARNING INI directive &#039;track_errors&#039; is deprecated since PHP 7.2\nLine 1277 | WARNING INI directive &#039;track_errors&#039; is deprecated since PHP 7.2<\/code><\/pre>\n<pre><code>FILE: plugins\/amazon-product-in-a-post-plugin\/inc\/amazon-product-in-a-post-sha256.inc.php\nLine 40 | WARNING Use of deprecated PHP4 style class constructor is not supported since PHP 7.\nLine 110 | ERROR Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-10211108","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10211108","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\/10211108\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10211108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}