How to fix “Warning: Use of undefined constant” error with WordPress after upgrading to PHP 7.2

The issue I recently upgraded my wordpress blog from PHP 7.1 to 7.2. After that, I started getting an error on the top of the pages: “Warning: Use of undefined constant”, pointing at what I  previously set on wp-config.php: DISABLE_WP_CRON I used this to disable the cron triggering with user access, instead I set up […]