A few days ago my Web hosting provider upgraded the server hosting my web site to PHP version 7.2. I haven’t made any attempts at running my web site under anything newer than PHP 5.6. At least not until now. Most of the site still worked fine. The only page that failed is the advisories page that displays the NWS discussion of the current weather conditions. I was using some functionality that has been deprecated and no longer works in PHP 7.2.
I made some updates that wouldn’t have been difficult if I had kept my limited PHP development skills up to date. Once I had refreshed myself on the PHP side of my code the updates weren’t very difficult. I needed to replace a few preg_replace calls with the newer preg_replace_callback. Once that was completed the site worked again.
I have uploaded the updated code to the site. This may also serve to motivate me to update some of my supporting jar files since the versions on them are likely quite old. That’s what I get for not keeping my software up to date.