Support » Plugin: Broken Link Checker » PHP Deprecated: Array and string offset access syntax with curly braces is depr

  • Resolved Harm10

    (@harm10)


    I recently upgraded to PHP 7.4 and now have warnings in my log:
    PHP Deprecated: Array and string offset access syntax with curly braces is deprecated

    Found in
    broken-link-checker/idn/idna_convert.class.php on line 370
    broken-link-checker/idn/idna_convert.class.php on line 384
    broken-link-checker/idn/idna_convert.class.php on line 776
    broken-link-checker/idn/idna_convert.class.php on line 907
    broken-link-checker/idn/transcode_wrapper.php on line 95
    broken-link-checker/idn/transcode_wrapper.php on line 122

    Can you please fix these?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @harm10 ,

    Are you able to tell when those logs are appearing? We have tested the plugin on sites with PHP 7.4 and we don’t see that in our logs.

    kind regards,
    Kasia

    How would I know this? These messages were just in my debog.log.

    This message just points out that the code is using curly brackets ({}) for array access which will no longer be valid in future PHP releases.

    If I look at your latest change log (version 1.11.11) it says
    Fixed deprecated functions on PHP 7.4
    So perhaps it is already fixed?
    (I do not see those messages in my current log at the moment)

    Plugin Support Nastia – WPMU DEV Support

    (@wpmudev-support9)

    Hello @harm10

    I hope you are doing well!

    I’ve tested the plugin with PHP 7.4 and could not replicate this issue. Please make sure to update the Broken Link Checker plugin to its latest version.

    If these errors will show up, please let me know more information about enabled settings in a plugin on your end.

    Please advise,

    Kind regards,
    Nastia

    As I wrote in my last post:
    “If I look at your latest change log (version 1.11.11) it says
    Fixed deprecated functions on PHP 7.4
    So perhaps it is already fixed?”

    This combined with your last post leads me to the conclusion that this is already fixed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.