Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your report, and for posting the details about the error message you are seeing. You have discovered a subtle MLA defect that wasn’t caught in earlier PHP versions.

    The line in question is an array element definition:

    08 => "IPTC Unstructured Character Oriented File Format (UCOFF)",

    The leading zero in “08” causes PHP to interpret the numeric constant as an octal number (base 8). Octal digits are limited to 0-7, so the “8” is invalid.

    The array isn’t used in the current version, and the error has been in the code since MLA v0.90. I believe it is harmless, except for the new error message.

    I will fix this and upload a new Development Version shortly, posting an update here when the Development Version is available. Thanks again for finding and reporting this defect!

    Plugin Author David Lingren

    (@dglingren)

    I have uploaded a new Development Version dated 20150821 that contains a fix for this defect. You can find step-by-step instructions for using the Development Version in this earlier topic:

    MLA errors when using plugin

    If you get a chance to try the Development Version please let me know how it works for you. Thanks for your help and pateince.

    Plugin Author David Lingren

    (@dglingren)

    I have released MLA version 2.15, which contains the fix required to avoid the “Invalid numeric literal” message you reported.

    I am marking this topic resolved, but please update it if you have any problems with the new release. Thanks again for discovering and reporting this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with PHP 7 beta – Invalid numeric literal’ is closed to new replies.