• Resolved nick.elliott10

    (@nickelliott10)


    I’ve updated the plugin to version 4.2.0 and I’ve just gone to add a menu link to my header navigation and I am getting the following error:

    An error of type E_ERROR was caused in line 643 of the file /wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WSAL_Sensors_Menus::EventChangeOrder(), 2 passed in /wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php on line 126 and exactly 3 expected in /wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php:643
    Stack trace:
    #0 /wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php(126): WSAL_Sensors_Menus->EventChangeOrder(‘GDS on Amazon S…’, ‘SocialMenu’)
    #1 /wp-includes/class-wp-hook.php(287): WSAL_Sensors_Menus->UpdateMenuItem(26, 1859, Array)
    #2 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #3 /wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /wp-includes/nav-menu.php(590): do_a

    Please could you advise on a fix?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Same here I’m also getting a fatal error causing a 500 server error on my site:

    
    Fatal error: Uncaught Error: Call to undefined method WSAL_Settings::IsPhpErrorLoggingEnabled() in /wp-content/plugins/wp-security-audit-log/classes/Sensors/PhpErrors.php:61
    Stack trace: #0 /wp-content/plugins/wp-security-audit-log/classes/SensorManager.php(88): WSAL_Sensors_PhpErrors->HookEvents()
    #1 /wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php(1084): WSAL_SensorManager->HookEvents()
    #2 /wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php(322): WpSecurityAuditLog->init()
    #3 /wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php(1342): WpSecurityAuditLog->setup()
    #4 /wp-includes/class-wp-hook.php(287): WpSecurityAuditLog->Install('')
    #5 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #6 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 in /wp-content/plugins/wp-security-audit-log/classes/Sensors/PhpErrors.php on line 61
    
    • This reply was modified 4 years ago by Tim Nolte.
    • This reply was modified 4 years ago by Tim Nolte.
    Plugin Support robertabela

    (@robert681)

    Hello @tnolte and @nickelliott10

    I am sorry to read about your issue. We are looking into this today and will get back to you with an update.

    Thank you for using our plugin.

    tezalsec

    (@tezalsec)

    Same here. Deactivating for now.

    Reminder to self: don’t update plugins too quickly.

    Thanks.

    Plugin Support robertabela

    (@robert681)

    Hello @tezalsec @tnolte and @nickelliott10

    We have just released update 4.2.0.1 which addresses the issue. Thank you for reporting the issue and for using our plugin. Sorry for the inconvenience.

    Please do not forget to rate our plugin and service. The reviews really help us.

    Have a great weekend.

    KrisBethea

    (@krisbethea)

    I updated to 4.2.0.1 and I’m still getting an error. In fact, the entire site is no longer loading.

    Fatal error: Uncaught Error: Call to undefined method WSAL_Settings::IsPhpErrorLoggingEnabled() in /home/empath18/serverchronicles.com/wp-content/plugins/wp-security-audit-log/classes/Sensors/PhpErrors.php:61 Stack trace: #0 /home/empath18/serverchronicles.com/wp-content/plugins/wp-security-audit-log/classes/SensorManager.php(88): WSAL_Sensors_PhpErrors->HookEvents() #1 /home/empath18/serverchronicles.com/wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php(1084): WSAL_SensorManager->HookEvents() #2 /home/empath18/serverchronicles.com/wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php(322): WpSecurityAuditLog->init() #3 /home/empath18/serverchronicles.com/wp-includes/class-wp-hook.php(287): WpSecurityAuditLog->setup(”) #4 /home/empath18/serverchronicles.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #5 /home/empath18/serverchronicles.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #6 /home/empath18/serverchronicles.com/wp-settings.php(579): do_action(‘wp in /home/empath18/serverchronicles.com/wp-content/plugins/wp-security-audit-log/classes/Sensors/PhpErrors.php on line 61

    Plugin Support robertabela

    (@robert681)

    Hello @krisbethea

    Your error is completely different and unrelated to the errors reported in this thread. Please open your own thread or contact us via email at [email protected].

    In the new ticket please also tell us if this error is just happening upon upgrade or when you do something specific. The more information we can have on how to reproduce this, the better.

    Looking forward to hearing from you.

    Plugin Support robertabela

    (@robert681)

    Further update to your error @krisbethea

    The error refers to a file that is no longer in the plugin. It seems like you updated the plugin manually, by FTP or copying over the files without removing the old files, hence why the error. Please delete all the files and then copy the new files, or delete the folder and install the plugin from the WordPress dashboard.

    That should do the trick.

    KrisBethea

    (@krisbethea)

    Thank you!!!

    Plugin Support robertabela

    (@robert681)

    You’re welcome @krisbethea

    Please don’t forget to rate our plugin and service. These reviews really help us.

    KrisBethea

    (@krisbethea)

    I’m still having difficulties with your plugin. I don’t feel it would be fair for me to rate it right now.

    Plugin Support robertabela

    (@robert681)

    I am sorry to hear that you are still having issues @krisbethea

    Please open your own thread on this forum or send us an email at [email protected].

    Looking forward to hearing from you.

    covertnine

    (@ttoomey)

    Hey,

    We’re getting a similar error reported on Lost Password forms from WooCommerce. Same error, but different plugin:

    [17-Feb-2021 01:05:46 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function WSAL_Sensors_LogInOut::event_user_requested_pw_reset(), 1 passed in /var/www/covertnine/covertnine.com/www/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /var/www/covertnine/covertnine.com/www/wp-content/plugins/wp-security-audit-log/classes/Sensors/LogInOut.php:540
    Stack trace:
    #0 /var/www/covertnine/covertnine.com/www/wp-includes/class-wp-hook.php(287): WSAL_Sensors_LogInOut->event_user_requested_pw_reset(Object(WP_Error))
    #1 /var/www/covertnine/covertnine.com/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #2 /var/www/covertnine/covertnine.com/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /var/www/covertnine/covertnine.com/www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(296): do_action('lostpassword_po...', Object(WP_Error))
    #4 /var/www/covertnine/covertnine.com/www/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(998): WC_Shortc in /var/www/covertnine/covertnine.com/www/wp-content/plugins/wp-security-audit-log/classes/Sensors/LogInOut.php on line 540

    We are on the most current version.

    -Tim

    Plugin Support robertabela

    (@robert681)

    Hello @ttoomey

    Your issue and error is totally different from the ones reported in this thread. Please open your own forum thread or email us at [email protected]

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal Error’ is closed to new replies.