Thursday, March 2, 2017

Laravel Scheduler - Class 'SoapClient' not found

 [ErrorException]
    Class 'SoapClient' not found

I am getting this error when trying to use SoapClient with the scheduler.

SoapClient works fine within the application but not with the scheduler, any suggestions to what may be causing this??

I have tried:

  • adding it with use SoapClient;
  • adding SoapClient in aliases array in config/app.php
  • new \SoapClient

I am running Ubuntu 14.04




via ndev

Advertisement