{"id":16768395,"date":"2023-05-25T14:37:25","date_gmt":"2023-05-25T14:37:25","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-error-with-php-8\/"},"modified":"2023-05-25T14:37:25","modified_gmt":"2023-05-25T14:37:25","slug":"plugin-error-with-php-8","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-error-with-php-8\/","title":{"rendered":"Plugin error with php 8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After moving the site to a server that uses php 8 the plugin is throwing an error when WordPress sends an email. I found this website https:\/\/plugintests.com\/plugins\/wporg\/ubilop\/latest talking about this error. This is the error:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>2023\/05\/25 14:25:21 <strong>[error]<\/strong> 8012#8012: *2552 FastCGI sent in stderr: \"PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class FACT_Admin does not have a method \"phpmailer_send\" in \/www\/divuit_229\/public\/wp-includes\/class-wp-hook.php:308<\/code><br \/><br \/>Can you help?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks<\/p>\n","protected":false},"template":"","class_list":["post-16768395","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16768395","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\/16768395\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16768395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}