• Resolved artemlime

    (@artemlime)


    Hi!

    In my debug.log, I found the following line:

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

    How to fix it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter artemlime

    (@artemlime)

    Update:

    [30-Apr-2018 18:40:19 UTC] База данных WordPress возвратила ошибку Lock wait timeout exceeded; try restarting transaction в ответ на запрос DELETE FROM ****_blc_links
    USING ****_blc_links LEFT JOIN ****_blc_instances
    ON ****_blc_instances.link_id = ****_blc_links.link_id
    WHERE
    ****_blc_instances.link_id IS NULL, выполненный do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, wsBrokenLinkChecker->database_maintenance, blc_cleanup_links
    [01-May-2018 12:02:07 UTC] PHP Deprecated: Function create_function() is deprecated in /public_html/wp-content/plugins/broken-link-checker/core/core.php on line 957

    ErrorException: Function create_function() is deprecated.

    Here to report the same exception with PHP 7.2.

    There are so many of these warnings that we’ve now blown through our whole Sentry allocation in just a few days, and the checks are going much slower because of that.

    Well, we decided to fork the project and fix it ourselves.
    https://github.com/android-police/broken-link-checker/pull/1

    There’s also a PR open to the main repo.
    https://github.com/ManageWP/broken-link-checker/pull/48

    Thread Starter artemlime

    (@artemlime)

    @archon810, thank you for the work done!

    Marcus Downing

    (@marcusdowning)

    Is there any chance of you taking over this plugin, @archon810? It hasn’t been updated since Aug 2, 2017. We use it on a bunch of client sites, but as we move more of them to PHP 7.2 hosts that’s a problem.

    archon810

    (@archon810)

    Sorry, we’re not interested in maintaining this plugin. I only forked it to fix that notice.

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