Hi, I have a number of sites all set up in the same or similar way and I am receiving these notifications on Login.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2.2
Active theme: Divi (version 4.21.0)
Current plugin: Wordfence Security (version 7.9.3)
PHP version 8.1.17
Error Details
An error of type E_ERROR was caused in line 24 of the file /home/randomsite/public_html/wp-content/plugins/wordfence/views/reports/activity-report.php. Error message: Uncaught Error: Failed opening required '/home/randomsite/public_html/wp-content/plugins/wordfence/views/reports/../../lib/flags.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/randomsite/public_html/wp-content/plugins/wordfence/views/reports/activity-report.php:24
Stack trace:
0 /home/randomsite/public_html/wp-content/plugins/wordfence/lib/wfView.php(59): include()
1 /home/randomsite/public_html/wp-content/plugins/wordfence/lib/wfView.php(68): wfView->render()
2 /home/randomsite/public_html/wp-content/plugins/wordfence/lib/wfActivityReport.php(76): wfView->__toString()
3 /home/randomsite/public_html/wp-admin/includes/template.php(1445): wfActivityReport::outputDashboardWidget('', Array)
4 /home/randomsite/public_html/wp-admin/includes/dashboard.php(271): do_meta_boxes(Object(WP_Screen), 'normal', '')
5 /home/randomsite/public_html/wp-admin/index.php(203): wp_dashboard()
6 {main}
thrown
Although the sites do work and you can login I thought I should raise it as a concern.