Audioplayer app not work

Hey,
i have problem with Nextcloud 11.0
I upgrade my PHP 7.0.14 to PHP 7.1 and after this audiplayer app not work.
I have this error:
https://postimg.org/image/hn3xby4z1/

Nextcloud version (eg, 11.0.0):
Operating system and version Ubuntu server 16.04.1
Apache or nginx version Apache 2.4.25
PHP version 7.1

i had some kind of same issue. when using php 7.1 i cant scan for new audio files.As work around i switched back to php 5.6 and it’s working again. After de audio scan is complete i switched back to php 7.1 and the audio app aint working no more. So for now i’m back to php-fpm 5.6.29

debian 8.5
apache 2.4
php-fpm 7.1
nextcloud 11
audio app

> Error: [] operator not supported for strings
> /var/www/nextcloud/web/apps/audioplayer/3rdparty/getid3/module.audio.mp3.php - line 1088: getid3_mp3->decodeMPEGaudioHeader(518807, Array, false)
> /var/www/nextcloud/web/apps/audioplayer/3rdparty/getid3/module.audio.mp3.php - line 973: getid3_mp3->RecursiveFrameScanning(518807, 519851, false)
> /var/www/nextcloud/web/apps/audioplayer/3rdparty/getid3/module.audio.mp3.php - line 1430: getid3_mp3->decodeMPEGaudioHeader(518807, Array, true)
> /var/www/nextcloud/web/apps/audioplayer/3rdparty/getid3/module.audio.mp3.php - line 35: getid3_mp3->getOnlyMPEGaudioInfo(518807)
> /var/www/nextcloud/web/apps/audioplayer/3rdparty/getid3/getid3.php - line 463: getid3_mp3->Analyze()
> /var/www/nextcloud/web/apps/audioplayer/controller/scannercontroller.php - line 541: getID3->analyze('/var/www/client...')
> [internal function] OCA\audioplayer\Controller\ScannerController->scanForAudios(NULL, NULL, NULL)
> /var/www/nextcloud/web/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
> /var/www/nextcloud/web/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\audioplayer\Controller\ScannerController), 'scanForAudios')
> /var/www/nextcloud/web/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\audioplayer\Controller\ScannerController), 'scanForAudios')
> /var/www/nextcloud/web/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OCA\\audioplayer...', 'scanForAudios', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
> [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
> /var/www/nextcloud/web/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
> /var/www/nextcloud/web/lib/base.php - line 1010: OC\Route\Router->match('/apps/audioplay...')
> /var/www/nextcloud/web/index.php - line 40: OC handleRequest()
> {main}

Hello,
Thank you for te remark.
I will try to update my testinstance to 7.1 and check

Hey,
We could successfully test a patched version of AP working with PHP 7.1

It will be released the upcoming days

Thank you :slight_smile:

Just tested the audioplayer 1.4.1, and it works like a charm with php 7.1! Tnx for the update!

1 Like