Skip to content

Max CPU usage cannot be set, int is not valid, string expected #375

@pbksol

Description

@pbksol

Describe the bug

Go to Workflow settings and edit the field for max number of CPU cores. The setting is not saved.

This message will appear:

Argument #3 ($value) must be of type string, int given, called in /var/www/nextcloud/apps/workflow_ocr/lib/Service/GlobalSettingsService.php on line 72

System

  • App version: 1.33.0
  • Nextcloud version: 33.0.0
  • PHP version: 8.4/8.5
  • Environment: native Apache
  • ocrmypdf version: 15.2.0+dfsg1

How to reproduce

Steps to reproduce the behavior:

Go to Workflow settings and edit the field for max number of CPU cores.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions