When testing for compatibility with php7, I get an error and warnings:
Name: Cardinal
FILE: /nas/content/live/site/wp-content/themes/cardinal/includes/options/inc/validation/preg_replace/validation_preg_replace.php
————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————————-
30 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
————————————————————————————————————————————-
FILE: /nas/content/live/site/wp-content/themes/cardinal/includes/options/inc/browser.php
———————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————-
113 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————-
How can this be remedied?