mcrypt_encrypt has been replaced by openssl_encrypt in php 7. The mcrypt library is no longer installed by default. It looks like you aren't actually using it, so commenting out that line is a good solution.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.