PHP 8.2.13 Fatal Error – Call to undefined function wsal_freemius()
-
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 1117Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.