White Label Purchased but Licence does not work on v4.5.50

Hello,

I have purchased a 30$ annual license for our self-hosted v4.5.50 via Purchase but I cannot apply it to the installation (it looks like the license number I received after the purchase is for v5 or something like that).

Is it possible to use the license on v4.5.50 ? We will be upgrading to v5 sometime next year but for now it would be ideal to be able to continue using v4 with a valid license for a few months.

Many thanks in advance.

Hi,

I believe it should work, have you tried applying it?

Yes I did but it seems that the characters in the license received by email are more than the characters the field allows on v4.5.50. When I try to apply it, it gives an Error 500.

Do you want me to send you the license number somewhere to verify ?

Thanks for your help!

Are there any details about the 500 error in storage/log

The only error I can see in the Apache Logs is the following :

[Mon Dec 16 14:24:32.675236 2024] [proxy_fcgi:error] [pid 3662:tid 140354042570496] [client xx.xx.xx.xx:54312] AH01071: Got error ‘PHP message: PHP Warning: Class ‘Google_Service’ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21PHP message: PHP Warning: Class ‘Google_Service_Resource’ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21PHP message: PHP Warning: Class ‘Google_Model’ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21PHP message: PHP Warning: Class ‘Google_Collection’ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21’, referer: https://xxxx.xxx.xx/invoices/settings/account_management

I am not sure if this error has to do with the license though…

Correct, those aren’t related

If you’re seeing a 500 error in the app there will be more details in either the web server error logs or in storage/logs/

OK so the following entry is recorded on laravel-error.log on storage/logs/ :

[2024-12-16T12:33:59.580438+00:00] production.ERROR: [stacktrace] 2024-12-16 12:33:59 Call to a member function modify() on bool: #0 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\StartupCheck->handle(Object(Illuminate\Http\Request), Object(Closure)) #1 /opt/ninja/app/Http/Middleware/QueryLogging.php(32): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #2 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\QueryLogging->handle(Object(Illuminate\Http\Request), Object(Closure)) #3 /opt/ninja/app/Http/Middleware/DuplicateSubmissionCheck.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #4 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\DuplicateSubmissionCheck->handle(Object(Illuminate\Http\Request), Object(Closure)) #5 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #6 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure)) #7 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #8 /opt/ninja/app/Http/Middleware/VerifyCsrfToken.php(44): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure)) #9 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure)) #10 /opt/ninja/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #11 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #12 /opt/ninja/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #13 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #14 /opt/ninja/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #15 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) #16 /opt/ninja/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #17 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) #18 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #19 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #20 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) #21 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route)) #22 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #23 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #24 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request)) #25 /opt/ninja/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #26 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(Object(Illuminate\Http\Request), Object(Closure)) #27 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #28 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) #29 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #30 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #31 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #32 /opt/ninja/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #33 {main} {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“xxx xxxxx”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36”,“locale”:“el”,“ip”:“xx.xx.xx.xx”,“count”:6,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“dashboard”}

Do you see more of these error generated when you try to apply the license?

yes exactly - everytime I try to apply the license another same error entry is generated (I am monitoring the laravel-error.log via tail -f before hitting apply)

I’m not sure, it’s the first time I’ve seen this error.

I suggest asking in a discussion on GitHub.

1 Like

ok many thanks for your help! Do you think it is possible to ask for a refund ? Should I contact someone at Invoiceninja ?

If you can’t apply the license we’ll of course provide a refund.

Please send an email to [email protected].

Great! Appreciate it!