Certificate24 Error

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 27.0.2
Operating system and version Linux
Apache or nginx version 2.4.57
PHP version 8.2

The issue you are facing:

Is this the first time you’ve seen this error? After initial activation of the certificate24 app.

Steps to replicate it:

  1. Activated certificate24 under apps.
  2. When I click on certificate24 under “Administration” is get this initial message:

Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Technical details

  • Remote Address: ... (replaced for safety)
  • Request ID: a2KFZtYs6yEPS07HwfQn

The output of your Nextcloud log in Admin > Logging:

Under the logs, I get the following notes:

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

[index] Error: Exception: OCA\Certificate24\Verify::getUnverifiedCount(): Return value must be of type ?int, string returned in file ‘/home/—/public_html/n1/apps/certificate24/lib/Verify.php’ line 147 at <>

  1. /home/—/public_html/n1/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch()
  2. /home/—/public_html/n1/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
  3. /home/—/public_html/n1/lib/base.php line 1071
    OC\Route\Router->match()
  4. /home/—/public_html/n1/index.php line 36
    OC::handleRequest()

Caused by:

TypeError: OCA\Certificate24\Verify::getUnverifiedCount(): Return value must be of type ?int, string returned at <>

  1. /home/—/public_html/n1/apps/certificate24/lib/Settings/Admin/AdminSettings.php line 84
    OCA\Certificate24\Verify->getUnverifiedCount()
  2. /home/—/public_html/n1/apps/settings/lib/Controller/CommonSettingsTrait.php line 129
    OCA\Certificate24\Settings\Admin\AdminSettings->getForm()
  3. /home/—/public_html/n1/apps/settings/lib/Controller/AdminSettingsController.php line 83
    OCA\Settings\Controller\AdminSettingsController->formatSettings()
  4. /home/—/public_html/n1/apps/settings/lib/Controller/CommonSettingsTrait.php line 149
    OCA\Settings\Controller\AdminSettingsController->getSettings()
  5. /home/—/public_html/n1/apps/settings/lib/Controller/AdminSettingsController.php line 68
    OCA\Settings\Controller\AdminSettingsController->getIndexResponse()
  6. /home/—/public_html/n1/lib/private/AppFramework/Http/Dispatcher.php line 230
    OCA\Settings\Controller\AdminSettingsController->index()
  7. /home/—/public_html/n1/lib/private/AppFramework/Http/Dispatcher.php line 137
    OC\AppFramework\Http\Dispatcher->executeController()
  8. /home/—/public_html/n1/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch()
  9. /home/—/public_html/n1/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
  10. /home/—/public_html/n1/lib/base.php line 1071
    OC\Route\Router->match()
  11. /home/—/public_html/n1/index.php line 36
    OC::handleRequest()

GET /n1/index.php/settings/admin/certificate24
from 168.172.0.48 by admin at 2023-09-21T07:32:08+00:00