Jump to content

Error creating manual order in v 8.6 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given ordersadd.php:0


sol2010

Recommended Posts

As per title:  Version:8.6.0 (8.6.0-release.1)   

I went to try to add a manual order in client > add order and got this.... manual add orders were fine before 8.6

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

For additional assistance, please reference the WHMCS TroubleShooting Guide »

TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /home/example/public_html/clients/admin/ordersadd.php:0
Stack trace:
#0 /home/example/public_html/clients/admin/ordersadd.php(0): array_keys(NULL)
#1 {main}

 

Error Log

[23-Nov-2022 16:53:36 ] [WHMCS Application] ERROR: TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /home/example/public_html/clients/admin/ordersadd.php:0 Stack trace:

#0 /home/example/public_html/clients/admin/ordersadd.php(0): array_keys(NULL)

#1 {main} {"exception":"[object] (TypeError(code: 0): array_keys(): Argument #1 ($array) must be of type array, null given at /home/example/public_html/clients/admin/ordersadd.php:0)"} []

 

 

 

Steps to reproduce this:

Go to a client> add order

Add some items, click submit > error

 

 

Edited by sol2010
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated