{"id":18623188,"date":"2025-09-01T18:47:52","date_gmt":"2025-09-01T18:47:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-error-undefined-variable-3\/"},"modified":"2025-09-01T18:47:52","modified_gmt":"2025-09-01T18:47:52","slug":"php-error-undefined-variable-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-error-undefined-variable-3\/","title":{"rendered":"PHP error: undefined variable"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello, <br \/>I&#8217;m having an issue with memory leakage on my server and this plug-in seems to be the culprit according to the server logs. Here&#8217;s the line from my Apache logs that keeps repeating:<br \/><br \/>&#8220;PHP Warning: Undefined variable $capability in \/var\/www\/bradsbitsandbytes.com\/html\/wp-content\/plugins\/all-in-one-forms\/ajax\/AjaxBase.php on line 83&#8221;<br \/><br \/>Any help would be appreciated!<\/p>\n","protected":false},"template":"","class_list":["post-18623188","topic","type-topic","status-publish","hentry","topic-tag-php-error"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18623188","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\/18623188\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18623188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}