• Resolved thanh25896

    (@thanh25896)


    When I upgrade php 7.3 to 7.4 I got that error for “easy of contents” plugin

    Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/sotaytin/public_html/wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 73 and more .

    I can fix it myself for just change {} to [] but I want you to update for community .

    And my question in this situation is : “Is we cannot use {} in php 7.4 anymore or it just the warring and we can use {} normally in php 7.4?”

    • This topic was modified 4 years, 11 months ago by thanh25896.
Viewing 1 replies (of 1 total)
  • Steven

    (@shazahm1hotmailcom)

    Its fine, it just a warning. Support for curly brace syntax array access will not be removed from PHP until version 8, or later.

    This is in a third party library being used. I’ll check to see if any updates have been made to deal with this warning and update it if it has.

Viewing 1 replies (of 1 total)
  • The topic ‘Fixed for php 7.4 please’ is closed to new replies.