I think the issue might be with your WordPress version, are you able to update it at all?
Having same error on a multisite setup.
Call to a member function get_total_site_points() on null in /var/app/current/wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-dashboard-menu.php
I think the issue might be with your WordPress version, are you able to update it at all?
Hi,
I update everything and still got the issue. I forgot to mention that the error happens in a multisite installation like @prionkor
It’s possible that this is related to Multisite installs then, I have flagged this up for our development team to review
Thank you.
For those needing a workaround, I use the following in /admin/wp-security-admin-init.php line 158 :
global $pagenow;
if(empty($pagenow)){
if ( is_network_admin() ) {
preg_match( '#/wp-admin/network/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches );
} elseif ( is_user_admin() ) {
preg_match( '#/wp-admin/user/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches );
} else {
preg_match( '#/wp-admin/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches );
}
$pagenow = $self_matches[1];
}
$this->is_aiowps_admin_page = ('admin.php' == $pagenow && isset($_GET['page']) && false !== strpos($_GET['page'], AIOWPSEC_MENU_SLUG_PREFIX));
First and last line are already in the file
@bewaved – thank you for this. Our Developers are currently investigating the issue so we should hopefully have a permanent fix for you soon.