Support » Plugin: Broken Link Checker » PHP Deprecated

  • Resolved Leopard-Lady

    (@leopard-lady)


    Hi Guys,
    Just a heads up – I had to run debug today to work out issues with a different plugin. Wanted to let you know I have several entries in the debug log for your plugin. Same error logs every time it checks for broken links:

    PHP Deprecated: Function create_function() is deprecated in */wp-content/plugins/broken-link-checker/modules/checkers/http.php on line 147

    Don’t know if it matters or not, but I’m running PHP 7.2.12 with FPM application served by Nginx on this site.

    I really appreciate your broken link checker. I use it on all of my WP sites and recommend it to everyone. It has saved the day for me many times!

    Have a groovy good day 🙂
    LL

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just to add to what @leopard-lady has put above, the plugin PHP Compatibility found these issues with this fantastic plugin;

    FILE: /wp-content/plugins/broken-link-checker/core/core.php
    -----------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------
     957 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    -----------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/broken-link-checker/modules/checkers/http.php
    --------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------
     147 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    --------------------------------------------------------------------------------------------------------------
    
    FILE: /wp-content/plugins/broken-link-checker/includes/utility-class.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------
     42 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4
    ---------------------------------------------------------------------------------------------------------------

    All the best

    Chris

    Thank you for reporting this @forest-skills @leopard-lady. The create_function issue has been fixed in the fork here: https://github.com/HongPong/broken-link-checker

    You can download it here:
    https://github.com/HongPong/broken-link-checker/archive/master.zip

    I have requested to manage this plugin here:
    https://wordpress.org/support/topic/request-to-transfer-ownership-of-broken-link-checker/

    Best regards!

    Kouteki

    (@kouteki)

    Plugin has been updated to support PHP7.2 and WP 5.1.1. These two were the cause for a lot of the recent bugs.

    Please let me know if the issue persists with the latest version of BLC.

    Cheers,
    Nemanja

    Hi Guys – @hongpong and @kouteki
    Forgive me, but I’m confused as to which of you is taking care of this plugin now?

    And which update to go with?

    I’m currently running Nemanja’s v1.11.8

    @hongpong – is your update different from this and better in some way?

    @kouteki – I am running PHP v7.3.4 and it seems to be running fine. I don’t see any errors in the debug log. Unfortunately, I’m not able to test it with PHP Compatibility Checker for you, as they have not yet implemented testing with PHP 7.3.x

    @forest-skills – Thank you for your added input on this 🙂

    Thanks guys,
    LL

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Deprecated’ is closed to new replies.