Following an upgrade from PHP 7.2.x to 7.4.28, I receive error messages by email every time cron runs.
I was running OSTicket 1.15.2 at the time of the upgrade. I have now updated to 1.15.6 but the error is the same.
I am using Ubuntu 18.04, and MySQL 7.6.37.
I have the 2FA plugin , version 0.3, and en_GB language pack, version 158808
The full error is:
PHP Fatal error: Uncaught Error: Non-static method Misc::currentURL() cannot be called statically in /public_html/bootstrap.php:369
Stack trace:
#0 /public_html/main.inc.php(23): require()
#1 /public_html/api/api.inc.php(26): require_once('...')
#2 /public_html/api/cron.php(17): require('...')
#3 {main}
thrown in /public_html/bootstrap.php on line 369
Thanks,
Justin