• Resolved mahe

    (@mahe)


    When I click the “Verify URL” button after entering the URL to the MP3 file it only displays “500” in the message box appearing above the input field.
    Then, of course, no file size and duration is detected.

    In the error-log I see the following messages:

    Got error 'PHP message: PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /wp-content/plugins/powerpress/getid3/module.audio.mp3.php:926
    Stack trace:
    #0 /wp-content/plugins/powerpress/getid3/module.audio.mp3.php(1088): getid3_mp3->decodeMPEGaudioHeader(1167530, Array, false)
    #1 /wp-content/plugins/powerpress/getid3/module.audio.mp3.php(973): getid3_mp3->RecursiveFrameScanning(1167530, 1168156, false)
    #2 /wp-content/plugins/powerpress/getid3/module.audio.mp3.php(1430): getid3_mp3->decodeMPEGaudioHeader(1167530, Array, true)
    #3 /wp-content/plugins/powerpress/getid3/module.audio.mp3.php(35): getid3_mp3->getOnlyMPEGaudioInfo(1167530)
    #4 /wp-content/plugins/powerpress/getid3/getid3.php(450): getid3_mp3->Analyze()
    #5 /wp-content/plugins/powerpress/mp3info.class.php(629): getID3...

    File size is less than 100 MB
    Bitrate of the MP3 is 128 kbps constant
    Normalized with MP3Gain
    Cover picture added with iTunes
    ID3 added with AIMP

    All http-traffic is SSL encrypted (https)
    PHP 7.1.7 fpm
    memory_limit 128MB
    maximum execution time 30s

    If you need more information, tell me, I’ll do my best to deliver it.

    Thanks in advance
    Michael

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Shawn

    (@shawnogordo)

    I have asked the lead developer of PowerPress to look at your question. He’ll respond here as soon as he’s available.

    Plugin Author Angelo Mandato

    (@amandato)

    Hello Michael,

    I did a little research and discovered that the getid3 library we are using (also found in WordPress core) is not 100% compliant with PHP 7.1+. The warning messages it provides are the problem. The warnings are rare to happen which may explain why you are the first to have the problem. The warning for your case is “Too much data in file: expecting X bytes of audio data, found Y (Z bytes too many)”. What ever ID3 writing software you use, it did not update the first 10 bites of the file which indicates how big the payload of the ID3 tags is.

    The next update to PowerPress will better handle these warnings, and the next major release will include the latest getid3 library which also has these warnings fixed to work with PHP 7.1.

    Would you like to test a pre-release of the next PowerPress update?

    Thanks,
    Angelo

    Thread Starter mahe

    (@mahe)

    Thank you very much for the detailed information.

    If it helps you I would test a pre-release of the next update.

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @mahe,

    Okay great, the readme.txt explains the 2 changes in this release. Here is a link: https://downloads.www.ads-software.com/plugin/powerpress.zip

    Please let me know if you have any questions and if this fixes your issues.

    Thanks,
    Angelo

    Thread Starter mahe

    (@mahe)

    You sir @amandato, are a genius!
    Works perfectly now.

    Thank you so much!

    Plugin Support Shawn

    (@shawnogordo)

    Glad to see Angelo was able to help you out!

    If you’ve found the support we’ve provided here to be of value, please consider leaving a review for PowerPress.

    These reviews help us with future development of the plugin, and we’d really appreciate it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error 500 when getting size/length of MP3-file’ is closed to new replies.