{"id":11871018,"date":"2019-08-27T12:25:07","date_gmt":"2019-08-27T12:25:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/int-error\/"},"modified":"2019-08-27T12:25:07","modified_gmt":"2019-08-27T12:25:07","slug":"int-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/int-error\/","title":{"rendered":"int() error"},"content":{"rendered":"<p>With this plugin in WordPress 5.1.1 I received logged errors: <\/p>\n<p><code>PHP Fatal error:  Uncaught Error: Call to undefined function int()<\/code><br \/>\n&#8211; on line 78 of the main plugin file.<\/p>\n<p>C\\As you might expect, changing this to intval() makes it work.<\/p>\n<p>Thanks for creating this plugin &#8211; doing ajax categories in the functions.php or a template file is very messy.<\/p>\n","protected":false},"template":"","class_list":["post-11871018","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11871018","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\/11871018\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11871018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}