• Resolved Lars Henriksen

    (@adjunkten)


    Hi Paul

    My host prompted me to check for php 5.6 compatibility and I get these warnings for Author Avatars plugin with php compatibility checker plugin:

    “275 | WARNING | Method name “AuthorAvatarsForm::__roleStripLevel” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.”

    “ERROR | Constant arrays using define are not allowed in PHP 5.6 or earlier”

    I have no clue how serious this is ?

    Thanks,
    Lars

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paul Bearne

    (@pbearne)

    Hi

    Not a problem

    I have fixed it in the master https://github.com/pbearne/wp-author-avatars and ship in the next release I just renamed __roleStripLevel to _roleStripLevel one _ not two

    Thanks for reporting the code was written awhile ago so odd bits like this are now showing up

    Paul

    Hi Paul,

    Do you have any idea when this fix will roll out? I have version 1.10 and PHP Checker is still flagging this as an error for PHP 5.6 compatibility.

    “ERROR | Constant arrays using define are not allowed in PHP 5.6 or earlier”

    End of life for PHP 5.3 is March 31st, so I’d love to get this resolved. Thanks so much!

    -Jim

    Plugin Author Paul Bearne

    (@pbearne)

    I will update .org this week

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with php 5.6?’ is closed to new replies.