Fatal error when accessed from MainWP dashboard
-
After updating the WP Activity Log plugin to version 5.6.0. I am not able to view the logs from the MainWP dashboard. Also, when this page is accessed I am getting the fatal error email from WordPress with the below details,
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9
Active theme: Twenty Twenty-Five (version 1.4)
Current plugin: WP Activity Log (version 5.6.0)
PHP version 8.3.22
Error Details
=============
An error of type E_ERROR was caused in line 618 of the file /public_html/wp-content/plugins/wp-security-audit-log/classes/Helpers/class-settings-helper.php. Error message: Uncaught Error: Call to undefined function switch_to_blog() in /public_html/wp-content/plugins/wp-security-audit-log/classes/Helpers/class-settings-helper.php:618
Stack trace:
#0 /public_html/wp-content/plugins/wp-security-audit-log/classes/Helpers/class-settings-helper.php(183): WSAL\Helpers\Settings_Helper::get_option_value_internal()
#1 /public_html/wp-content/plugins/wp-security-audit-log/classes/Controllers/class-connection.php(99): WSAL\Helpers\Settings_Helper::get_option_value()
#2 /public_html/wp-content/plugins/wp-security-audit-log/classes/Controllers/class-connection.php(417): WSAL\Controllers\Connection::get_config()
#3 /public_html/wp-content/plugins/wp-security-audit-log/classes/Controllers/class-connection.php(151): WSAL\Controllers\Connection::create_connection()
#4 /public_html/wp-content/plugins/wp-security-audit-log/classes/Entities/class-abstract-entity.php(87): WSAL\Controllers\Connection::get_connection()
#5 /public_html/wp-content/plugins/wp-security-audit-log/classes/Entities/class-abstract-entity.php(75): WSAL\Entities\Abstract_Entity::get_connection()
#6 /public_html/wp-content/plugins/wp-security-audit-log/classes/ListAdminEvents/class-list-events.php(166): WSAL\Entities\Abstract_Entity::get_table_name()
#7 /public_html/wp-content/plugins/wp-security-audit-log/classes/MainWPAddon/class-mainwp-addon.php(287): WSAL\ListAdminEvents\List_Events->__construct()
#8 /public_html/wp-includes/class-wp-hook.php(341): WSAL\MainWP\MainWP_Addon::display_extension()
#9 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#10 /public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#11 /public_html/wp-admin/admin.php(264): do_action()
#12 {main}
thrownPlease help with this issue…
Thanks,
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.