{"id":14358396,"date":"2021-04-23T23:07:00","date_gmt":"2021-04-23T23:07:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/deprecated-function-create_function-15\/"},"modified":"2021-04-23T23:11:00","modified_gmt":"2021-04-23T23:11:00","slug":"deprecated-function-create_function-15","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/deprecated-function-create_function-15\/","title":{"rendered":"Deprecated: Function create_function()"},"content":{"rendered":"<p>Dear Support, <\/p>\n<p>Got a Deprecated: Function create_function() notifications when in DEBUG mode&#8230; basically, when I try to create a NEW entry OR edit an EXISTING one, I get a (Header + Blank Grey Page).<\/p>\n<p>Is there an update for this file?? \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php <\/p>\n<p>The installation is running on PHP 7.4<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;ORIGINAL DEBUG&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<pre><code>otice: Trying to access array offset on value of type bool in \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php on line 2596\n\nDeprecated: Function create_function() is deprecated in \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php on line 316\n\nDeprecated: Function create_function() is deprecated in \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php on line 317\n\nNotice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \/wp-includes\/functions.php on line 5313\n\nWarning: Cannot modify header information - headers already sent by (output started at \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php:2596) in \/wp-includes\/functions.php on line 6362\n\nWarning: Cannot modify header information - headers already sent by (output started at \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php:2596) in \/wp-admin\/includes\/misc.php on line 1310\n\nWarning: Cannot modify header information - headers already sent by (output started at \/wp-content\/plugins\/wp-crm\/lib\/class_functions.php:2596) in \/wp-admin\/admin-header.php on line 9<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-14358396","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14358396","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14358396\/revisions"}],"predecessor-version":[{"id":14358404,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14358396\/revisions\/14358404"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14358396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}