-
Hello All :) We have been using this since 2019 and did a PHP update over the weekend. Not sure if this is related but now getting a critical error on the frontend of the webpage. The developer who set this up is no longer so looking for some help on how to get this working again? PHP Fatal error: Uncaught Error: Undefined constant "NetSuite\SOAP_SINGLE_ELEMENT_ARRAYS" in /home/thermogroupcom/public_html/api/net-suite/vendor/ryanwinchester/netsuite-php/src/NetSuiteClient.php:114 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Looking at that line of that file, I am thinking you're using either a very different version from what is current or, possibly, a modified version that has its own changes. Would need to see more to be able to help. |
Beta Was this translation helpful? Give feedback.
-
Hello Justin :) It is the 2019 version so much be quite different to current. This is the section it is from or do you want the whole file? |
Beta Was this translation helpful? Give feedback.
-
Perhaps you still need to install the php-soap extension. |
Beta Was this translation helpful? Give feedback.
-
Thankyou. I have tried that now however getting the below now: PHP Fatal error: Uncaught Error: Undefined constant "NetSuite\WSDL_CACHE_BOTH" in /home/thermogroupcom/public_html/api/net-suite/vendor/ryanwinchester/netsuite-php/src/NetSuiteClient.php:114 Do you have someone to recommend that I could get to have a look at the site and files? |
Beta Was this translation helpful? Give feedback.
-
We had hit similar, and it was a maddening oversight -- Using https://.connect.api.netsuite.com gave us similar 'missing WSDL' error. Changed to https://.suitetalk.api.netsuite.com and immediate joy (and a moment of self-loathing for silly oversight: "suitetalk" instead of "connect"). |
Beta Was this translation helpful? Give feedback.
Perhaps you still need to install the php-soap extension.