Support » Theme: BrickYard » Make Brickyard Premium PHP7 compatible

  • I’d like to be able to run my site on PHP7 to take advantage of it’s faster processing times but Brickyard is not PHP7 compliant according to the ‘PHP Compatibility Checker’ plugin.

    FILE: /public_html/wp-content/themes/brickyard-premium/functions/fe/widget-twitter.php
    ———————————————————————————————————————–
    FOUND 6 ERRORS AFFECTING 3 LINES
    ———————————————————————————————————————–
    89 | ERROR | Function eregi_replace() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_replace instead
    89 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    90 | ERROR | Function eregi_replace() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_replace instead
    90 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    91 | ERROR | Function eregi_replace() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_replace instead
    91 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ———————————————————————————————————————–

    FILE: /public_html/wp-content/themes/brickyard-premium/functions.php
    ——————————————————————————————————————————————–
    FOUND 34 ERRORS AND 1 WARNING AFFECTING 7 LINES
    ——————————————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    24 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    24 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    29 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    29 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    29 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    29 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    39 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    39 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    46 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    46 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    60 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    60 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    62 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; use mysqli_real_escape_string instead
    62 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————————————–

    The page I need help with: [log in to see the link]

  • The topic ‘Make Brickyard Premium PHP7 compatible’ is closed to new replies.