You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this message when I call the class 'soapclient'. Methods with the same name as their class will not be constructors in a future version of PHP; nusoap_client has a deprecated constructor
I am using Laravel 5.5 with PHP 7.0. What do I need to do to fix this ?
The text was updated successfully, but these errors were encountered:
Hello @mariedavis-abn ,
In PHP version 7.0 you can no longer create constructors with the class name. To create a constructor, use __construct.
Check the nusoap_client class, there is a method called nusoap_client that in the old versions of PHP would be our constructor.
Replace the soapclient method name for __construc equal to the PHP documentation: http://php.net/manual/pt_BR/language.oop5.decon.php
If it does not solve, it would be interesting to publish the codes for better analysis. Thank you
I am getting this message when I call the class 'soapclient'.
Methods with the same name as their class will not be constructors in a future version of PHP; nusoap_client has a deprecated constructor
I am using Laravel 5.5 with PHP 7.0. What do I need to do to fix this ?
The text was updated successfully, but these errors were encountered: