Jump to content

Problem New Buy Hosting


jlucho

Recommended Posts

Hi

After placing a purchase order, at the end of the order, it shows the following error message:

===============

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

Please go back to the previous page and try again.


TypeError: Argument 6 passed to WHMCS\User\User::createClient() must be of the type string, null given, called in /home/MIURL/public_html/cart.php on line 0 and defined in /home/MIURL/public_html/vendor/whmcs/whmcs-foundation/lib/User/User.php:0
Stack trace:
#0 /home/MIURL/public_html/cart.php(0): WHMCS\User\User->createClient('Jorge', 'Ls', '', 'warehosting@gm...', 'Lima', NULL, 'CITY', 'City', '52100', 'BO', '+51.987 654 321', true, Array, '', false, 0)
#1 {main}

===============

whmcs8 has many errors, in the most common and used functions

How is this problem solved? my business is stopped, I can't sell !!

 

 

 

 

 

Edited by jlucho
Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @jlucho,

I've not been able to reproduce the error. From the error it looks like the "Address2" value is invalid.

Does the issue persists on the stock Six template and Standard Cart order form template?

If so, can you please share a screenshot of the checkout page details before submission.

Link to comment
Share on other sites

19 hours ago, jlucho said:

Hi

After placing a purchase order, at the end of the order, it shows the following error message:

===============

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

Please go back to the previous page and try again.


TypeError: Argument 6 passed to WHMCS\User\User::createClient() must be of the type string, null given, called in /home/MIURL/public_html/cart.php on line 0 and defined in /home/MIURL/public_html/vendor/whmcs/whmcs-foundation/lib/User/User.php:0
Stack trace:
#0 /home/MIURL/public_html/cart.php(0): WHMCS\User\User->createClient('Jorge', 'Ls', '', 'warehosting@gm...', 'Lima', NULL, 'CITY', 'City', '52100', 'BO', '+51.987 654 321', true, Array, '', false, 0)
#1 {main}

===============

whmcs8 has many errors, in the most common and used functions

How is this problem solved? my business is stopped, I can't sell !!

 

 

Not able to reproduce this on test installation using the default six and standard cart template. 

 

 

 

Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

Did you know that if you delete a field in the developer code in the browser, for example Address 2, when placing an order in the registration form,you will still get an error?

I think this is unacceptable. Note that NULL is passed in this case:
 

WHMCS\\User\\User->createClient('Ivan', 'Test 2', '', 'fjmfmejujnnbhh@...', 'fsdfjerjfer', NULL,

Although in later versions it worked. All my non-standard registration forms were sent, unfortunately. I redid everything again and just hid the wrong fields through CSS, but for the sake of interest I tried to explore the element through Google Chrome and deleted a piece of code, tried to place an order and got an error. Complete nonsense!

Please note that the error is reproduced only during registration when the order is placed, the error does not appear on the usual registration form, but I did not test it in detail.

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