Haven't found you're looking for? Visit goodstore howto web

Compability with PHP 7.2


  • Hello,



    I am using FlyingNewsVersion 3 and I it enjoy very much.
    My actuell
    wordpress-version is 4.9.8



    Unfortenately
    my host is phasing out PHP version 5.6 until 24.10.2018 and replacing it with
    PHP 7.2.



    So I did a
    test with the plugin "PHP Compatibility Checker".



    The result
    was 2 warnings and 20 errors.



    Is it
    possibile to update soon, so I can use this very good theme further in the
    future?



    Regards
    Reinhard
    Kuhnes



    This is the
    error log:

    FILE: /is/htdocs/wp1035354_2B4L0CUJ9V/blickpunkt-nrw/wordpress/wp-content/themes/flyingnews/framework/lib/class_demoimport.php

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     856 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    FILE: /is/htdocs/wp1035354_2B4L0CUJ9V/blickpunkt-nrw/wordpress/wp-content/themes/flyingnews/framework/lib/class_facebook.php
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     117 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    FILE: /is/htdocs/wp1035354_2B4L0CUJ9V/blickpunkt-nrw/wordpress/wp-content/themes/flyingnews/framework/lib/class_flickr.php
    --------------------------------------------------------------------------------------------------------------------------
    FOUND 18 ERRORS AFFECTING 16 LINES
    --------------------------------------------------------------------------------------------------------------------------
      90 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
      91 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
      97 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     106 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     107 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     109 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     110 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     150 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     151 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     152 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     184 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     185 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     188 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     191 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
     490 | ERROR | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match() instead
     490 | ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
     499 | ERROR | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match() instead
     499 | ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
    --------------------------------------------------------------------------------------------------------------------------

    FILE: /is/htdocs/wp1035354_2B4L0CUJ9V/blickpunkt-nrw/wordpress/wp-content/themes/flyingnews/framework/widgets/default_widget_SAMPLE.php
    ---------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------------------------------
     21 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ---------------------------------------------------------------------------------------------------------------------------------------

    FILE: /is/htdocs/wp1035354_2B4L0CUJ9V/blickpunkt-nrw/wordpress/wp-content/themes/flyingnews/framework/widgets/search.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
     7 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ------------------------------------------------------------------------------------------------------------------------
  • All following comments are shown for registered users only!

    (4 more comments)