I JUST RECEIVE THIS FOLLOWING ERROR: add_action('admin_footer', 'my_admin_footer_func

Hello Admin,

I just receive this following error after i added the code from elegant theme on how to remove the support docs. I just added the code to functions.php at upper side. The code is : <style type="text/css">

#epanel-content ul#epanel-mainmenu li:last-child {
display: none;
}
</style>

then this error message shows: add_action('admin_footer', 'my_admin_footer_function':wink:; function my_admin_footer_function() { $custom_css = " " ; echo $custom_css;
Warning: Cannot modify header information - headers already sent by (output started at /home/
prosper8blog/public_html/blog/wp-content/themes/divi-latest/functions.php:11) in /home/prosper8
blog/public_html/blog/wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options
.php on line 591

Here's the screenshot and i successfully removed the "SUPPORT DOCS" word link but the error shows above after i updated the functions.php on my divi child theme.

Please advise on how to remove this error?

Thanks a lot for your continuous support.

David