• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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