• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Customer creation failed

Andri

New Pleskian
Hi,
Since last automatic update to Plesk Obsidian Version 18.0.36 I cannot create new customer.
I always get below error:
Argument 1 passed to Plesk\CommonPanel\Customer\Task\Create::createCustomer() must be of the type array, bool given, called in /opt/psa/admin/plib/CommonPanel/Customer/Task/Create.php on line 37

Can you help me to fix that error?


Regards,
Andrej
 
Try to repair your Plesk with

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
Hi,
I try that and I still have same error when I try to create new customer.

What else can I do?
 
That's in my error log:
[2021-07-12 08:40:00.202] 2801:60ebe3c027d3e ERR [panel] No such file or directory
[2021-07-12 08:40:00.790] 28104:60ebe3c0c0b10 ERR [panel] No such file or directory
[2021-07-12 08:40:00.798] 28104:60ebe3c0c0b10 ERR [panel] Task failed: id=4127, pid=28104, type=customer-create, error=Argument 1 passed to Plesk\CommonPanel\Customer\Task\Create::createCustomer() must be of the type array, bool given, called in /opt/psa/admin/plib/CommonPanel/Customer/Task/Create.php on line 37
[2021-07-12 08:40:00.798] 28104:60ebe3c0c0b10 ERR [panel] Argument 1 passed to Plesk\CommonPanel\Customer\Task\Create::createCustomer() must be of the type array, bool given, called in /opt/psa/admin/plib/CommonPanel/Customer/Task/Create.php on line 37
[2021-07-12 08:40:00.816] 28104:60ebe3c0c0b10 ERR [panel] No such file or directory
[2021-07-12 08:40:00.824] 28104:60ebe3c0c0b10 ERR [panel] Argument 2 passed to PleskCuException::__construct() must be an instance of Exception or null, instance of TypeError given, called in /opt/psa/admin/plib/Task/Async/Executor.php on line 42:
0: /opt/psa/admin/plib/PleskCuException.php:9
PleskCuException->__construct(string 'Long task executor: id=4127 completed with error: Argument 1 passed to Plesk\CommonPanel\Customer\Ta...', object of type TypeError)
1: /opt/psa/admin/plib/Task/Async/Executor.php:42
Task_Async_Executor->execute()
2: /opt/psa/admin/plib/scripts/task-async-executor.php:6
[2021-07-12 08:40:00.824] 28104:60ebe3c0c0b10 ERR [panel] Argument 2 passed to PleskCuException::__construct() must be an instance of Exception or null, instance of TypeError given, called in /opt/psa/admin/plib/Task/Async/Executor.php on line 42
[2021-07-12 08:40:55.697] 20273:60ebe3f7aa400 ERR [panel] No such file or directory
 
I suggest you contact Plesk Support Team. They will check and fix the issue directly on your server.
 
Back
Top