• Resolved Jithin T

    (@jithintom)


    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}
    thrown

    Please 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)
  • I have the same problem, all plugins latest. Hopefully they get it fixed soon.

    Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello


    I am very sorry to hear about this unexpected experience! I have opened an internal ticket and we will investigate this further, and I will keep you posted once we finish our investigation.

    In the meantime, can you confirm that this only happens when updating the plugin on the site where MainWP Dashboard is installed, or does it also happen when child sites were previously updated to 5.6.0? Also, do you have any multisite networks added as child site to the MainWP Dashboard or only single sites?

    We’ll provide you with a fix/solution for this as soon as we can! I do appreciate your patience while we are working on this!

    Thread Starter Jithin T

    (@jithintom)

    Hi @lucianwpwhite ,

    I have only single sites. Some child sites have 5.5.4 and some are having 5.6.0. I observed this issue after the WP Activity Log plugin updated to 5.6.0 on my MainWP dashboard site.

    Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello again @jithintom,

    Thank you for your patience while we worked on fixing this issue.

    We’ve resolved the MainWP integration error and prepared a patched build.

    You can grab the 5.6.0 patched build here – make sure to check the download link/hyperlink under the “WP Activity Log” area on our site. This will fix the error when accessing the Log Viewer from the MainWP Dashboard. Once downloaded, simply upload and replace the current plugin installation with this one and everything should be back to normal again!

    We don’t have a confirmed date yet for when this fix will be included in an official plugin update, but the patched build is ready for anyone who needs it immediately.

    Even with the current official 5.6.0 version, if you have access to the WordPress Admin area, on top of MainWP Dashboard, you can still access the Log Viewer page by going through the WordPress backend directly (not through MainWP Dashboard). Simply navigate to your individual site’s WordPress admin and access WP Activity Log from there as usual.

    Let me know if you have any questions and also how things are going after applying the fix!

    Moderator Support Moderator

    (@moderator)

    Please do not take over someone else’s topic. If you need support then per the forum guidelines please start your own topic. The many “I have this problem too” replies have been removed.

    https://ww.wp.xz.cn/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

    If you need support you can start your own topic here.

    https://ww.wp.xz.cn/support/plugin/wp-security-audit-log/

    Thread Starter Jithin T

    (@jithintom)

    Hi @lucianwpwhite ,

    Thanks for the patch. The issue is resolved now.

    I am able to access the activity log from MainWP dashboard.

    Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Thank you so much for letting me know @jithintom @webbbio !

    Don’t forget to leave us a review here on the forums based on your experience with our plugin and support; these reviews take one minute to post but they are really helpful https://ww.wp.xz.cn/support/plugin/wp-security-audit-log/reviews/#new-post

    Have an amazing week ahead!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.