Event Tickets, 5.13.1 – Fatal error… maybe_disable_foreign_key_checks
-
Using PHP 8.0 and wp CLI to execute cron from shell. With the Event Tickets, 5.13.1
Copy of command and stack trace below.
wp --user=cron --url=https://www.test.org.au --path=/home/test/public_html cron event run --due-now
Fatal error: Uncaught ArgumentCountError: Too few arguments to function TEC\Tickets\Flexible_Tickets\WP_Cli::maybe_disable_foreign_key_checks(), 0 passed in /home/test/.composer/vendor/wp-cli/wp-cli/php/class-wp-cli.php on line 304 and exactly 1 expected in /home/test/public_html/wp-content/plugins/event-tickets/src/Tickets/Flexible_Tickets/WP_Cli.php:70
Stack trace:
#0 /home/test/.composer/vendor/wp-cli/wp-cli/php/class-wp-cli.php(304): TEC\Tickets\Flexible_Tickets\WP_Cli->maybe_disable_foreign_key_checks()
#1 /home/test/.composer/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(349): WP_CLI::do_hook('\''before_run_comm...'\'')
#2 /home/test/.composer/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(394): WP_CLI\Runner->run_command(Array, Array)
#3 /home/test/.composer/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1160): WP_CLI\Runner->run_command_and_exit()
#4 /home/test/.composer/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
#5 /home/test/.composer/vendor/wp-cli/wp-cli/php/bootstrap.php(74): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#6 /home/test/.composer/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#7 /home/test/.composer/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('\''/home/test/...'\'')
#8 {main}
thrown in /home/test/public_html/wp-content/plugins/event-tickets/src/Tickets/Flexible_Tickets/WP_Cli.php on line 70
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website
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.