djoudi / Laravel-H5P

H5P Package for Laravel Framework
MIT License
22 stars 45 forks source link

Declaration of Djoudi\LaravelH5p\Repositories\LaravelH5pRepository::setErrorMessage($message) must be compatible with H5PFrameworkInterface::setErrorMessage($message, $code = NULL) #12

Closed codebox2019 closed 5 years ago

codebox2019 commented 5 years ago

Hi, I am having following error when i try to access to url.

ERROR IMAGE: http://prntscr.com/n0x59o

Thanks

djoudi commented 5 years ago

Hi @codebox2019 witch url exact ?

saguu6 commented 5 years ago

Hi, Even am getting the same error. Declaration of Djoudi\LaravelH5p\Repositories\LaravelH5pRepository::getNumContent($library_id) must be compatible with H5PFrameworkInterface::getNumContent($libraryId, $skip = NULL)

Can you please help me out in this. Thanks

dailez commented 5 years ago

The url is /create

djoudi commented 5 years ago

solved

pidab commented 4 years ago

solved

In what way has this issue been solved? I'm still getting the same error about H5PFrameworkInterface when trying to install this package with composer require, which uses version 1.0 (which in turn requires Laravel 5.5). This happens at both /hp5/create and /hp5/library. I had a little more success using version 2.0 of this package with Laravel 5.8, but didn't manage to upload a library or create a content yet.

nitingohel commented 2 years ago

I am getting this error while create the h5p

Declaration of Djoudi\LaravelH5p\Repositories\LaravelH5pRepository::setErrorMessage($message) must be compatible with H5PFrameworkInterface::setErrorMessage($message, $code = NULL)

Anyone please help