• Resolved Ringmeister84

    (@ringmeister84)


    Hello, on a RH9 machine with PHP 8.2.13, when trying to activate wp-security-audit-log plugin, I get a fatal error on line 1117 of wp-security-audit-log/classes/class-wp-security-audit-log.php.

    Here the stacktrace

    PHP Fatal error:  Uncaught Error: Call to undefined function wsal_freemius() in /usr/local/mysite/htdocs/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php:1117
    Stack trace:
    #0 /usr/local/mysite/htdocs/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php(970): WpSecurityAuditLog::sync_premium_freemius()
    #1 /usr/local/mysite/htdocs/wp-includes/class-wp-hook.php(324): WpSecurityAuditLog::install()
    #2 /usr/local/mysite/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /usr/local/mysite/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /usr/local/mysite/htdocs/wp-admin/includes/plugin.php(703): do_action()
    #5 phar:///usr/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(363): activate_plugin()
    #6 [internal function]: Plugin_Command->activate()
    #7 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
    #8 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
    #9 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()
    #10 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()
    #11 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()
    #12 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\Runner->run_command_and_exit()
    #13 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #14 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
    #15 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
    #16 phar:///usr/bin/wp/php/boot-phar.php(20): include('...')
    #17 /usr/bin/wp(4): include('...')
    #18 {main}
    thrown in /usr/local/mysite/htdocs/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php on line 1117
    Fatal error: Uncaught Error: Call to undefined function wsal_freemius() in /usr/local/mysite/htdocs/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php:1117
    Stack trace:
    #0 /usr/local/mysite/htdocs/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php(970): WpSecurityAuditLog::sync_premium_freemius()
    #1 /usr/local/mysite/htdocs/wp-includes/class-wp-hook.php(324): WpSecurityAuditLog::install()
    #2 /usr/local/mysite/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /usr/local/mysite/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /usr/local/mysite/htdocs/wp-admin/includes/plugin.php(703): do_action()
    #5 phar:///usr/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(363): activate_plugin()
    #6 [internal function]: Plugin_Command->activate()
    #7 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
    #8 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
    #9 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()
    #10 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()
    #11 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()
    #12 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\Runner->run_command_and_exit()
    #13 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #14 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
    #15 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
    #16 phar:///usr/bin/wp/php/boot-phar.php(20): include('...')
    #17 /usr/bin/wp(4): include('...')
    #18 {main}
    thrown in /usr/local/mysite/htdocs/wp-content/plugins/wp-security-audit-log/classes/class-wp-security-audit-log.php on line 1117

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support robertabela

    (@robert681)

    Thank you for trying our plugin @ringmeister84

    The Free edition of the plugin does not use Freemius, so you should not be getting that error in the first place.

    Is this the latest version of the plugin and is this the free edition? Please share more information about the setup so we can better understand the issue. Do not share any sensitive information on these forums. If you need to share such information, please email us at [email protected].

    We look forward to hearing from you.

    Thread Starter Ringmeister84

    (@ringmeister84)

    Hello. Thanks for your answer. I have 5.2.1 version on a fresh install, so I think that’s the free edition. Thanks.

    Plugin Support robertabela

    (@robert681)

    Hello @ringmeister84

    Based on the error log you are installing the plugin and activating it via WP CLI. Is that correct? We were able to reproduce the problem.

    We have prepared a patched version of the plugin. We have tested it already and it works in our environment, but can you run a test yourself? Can you download the patched version and advise please?

    Looking forward to hearing from you.

    Thread Starter Ringmeister84

    (@ringmeister84)

    Hello. Yes, I’m doing via cli. I just tried with the patched version and it works. Do you need some other tests? Thanks.

    Plugin Support robertabela

    (@robert681)

    Thank you very much for the update @ringmeister84 . That should be it. This fix will be included in the upcoming update of the plugin.

    By the way, if you like the plugin and the service we provide please spare a minute to rate our plugin and service (URL: https://www.ads-software.com/support/plugin/wp-security-audit-log/reviews/ ). These ratings are really helpful to the plugin.

    Thank you again for your test and have a great weekend.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.