ShipStream / magento2-shipstream-sync

MIT License
1 stars 0 forks source link

main.CRITICAL: ReflectionException: Class "ShipStream\Sync\Api\ShipStreamStockAdjustInterface" does not exist #2

Open colinmollenhour opened 1 month ago

colinmollenhour commented 1 month ago

When I try to list all SOAP API services:

https://magento2-b8kcsw8.apps.shipstream.io/soap/all?wsdl_list=1

An error is returned:

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" >
   <env:Body>
      <env:Fault>
         <env:Code>
            <env:Value>env:Receiver</env:Value>
         </env:Code>
         <env:Reason>
            <env:Text xml:lang="en">Internal Error. Details are available in Magento log file. Report ID: webapi-66a4352212239</env:Text>
         </env:Reason>

      </env:Fault>
   </env:Body>
</env:Envelope>

and I get this error in the Magento logs:

[2024-07-26T23:45:38.074841+00:00] main.CRITICAL: ReflectionException: Class "ShipStream\Sync\Api\ShipStreamStockAdjustInterface" does not exist in /bitnami/magento/vendor/magento/module-webapi/Model/Config/ClassReflector.php:68
Stack trace:
#0 /bitnami/magento/vendor/magento/module-webapi/Model/Config/ClassReflector.php(68): ReflectionClass->__construct()
#1 /bitnami/magento/vendor/magento/module-webapi/Model/ServiceMetadata.php(144): Magento\Webapi\Model\Config\ClassReflector->reflectClassMethods()
#2 /bitnami/magento/vendor/magento/module-webapi/Model/ServiceMetadata.php(179): Magento\Webapi\Model\ServiceMetadata->initServicesMetadata()
#3 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Model\ServiceMetadata->getServicesConfig()
#4 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Model\ServiceMetadata\Interceptor->___callParent()
#5 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Model\ServiceMetadata\Interceptor->Magento\Framework\Interception\{closure}()
#6 /bitnami/magento/generated/code/Magento/Webapi/Model/ServiceMetadata/Interceptor.php(23): Magento\Webapi\Model\ServiceMetadata\Interceptor->___callPlugins()
#7 /bitnami/magento/vendor/magento/module-webapi/Model/AbstractSchemaGenerator.php(85): Magento\Webapi\Model\ServiceMetadata\Interceptor->getServicesConfig()
#8 /bitnami/magento/vendor/magento/module-webapi/Controller/Soap.php(140): Magento\Webapi\Model\AbstractSchemaGenerator->getListOfServices()
#9 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Soap->dispatch()
#10 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Soap\Interceptor->___callParent()
#11 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Soap\Interceptor->Magento\Framework\Interception\{closure}()
#12 /bitnami/magento/generated/code/Magento/Webapi/Controller/Soap/Interceptor.php(23): Magento\Webapi\Controller\Soap\Interceptor->___callPlugins()
#13 /bitnami/magento/vendor/magento/framework/App/Http.php(116): Magento\Webapi\Controller\Soap\Interceptor->dispatch()
#14 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->launch()
#15 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent()
#16 /bitnami/magento/vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(38): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}()
#17 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(135): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch()
#18 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}()
#19 /bitnami/magento/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http\Interceptor->___callPlugins()
#20 /bitnami/magento/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#21 /bitnami/magento/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#22 {main}
kalaivani007 commented 1 month ago

I have restarted the server. You can now connect and also check the ShipStream API services at the following URL:

http://182.74.129.11:8788/soap/default?wsdl_list=1

Kindly let me know if you are unable to access this URL.

On 2024-07-26 16:48, Colin Mollenhour wrote:

[2024-07-26T23:45:38.074841+00:00] main.CRITICAL: ReflectionException: Class "ShipStream\Sync\Api\ShipStreamStockAdjustInterface" does not exist in /bitnami/magento/vendor/magento/module-webapi/Model/Config/ClassReflector.php:68 Stack trace:

0

/bitnami/magento/vendor/magento/module-webapi/Model/Config/ClassReflector.php(68): ReflectionClass->__construct()

1

/bitnami/magento/vendor/magento/module-webapi/Model/ServiceMetadata.php(144): Magento\Webapi\Model\Config\ClassReflector->reflectClassMethods()

2

/bitnami/magento/vendor/magento/module-webapi/Model/ServiceMetadata.php(179): Magento\Webapi\Model\ServiceMetadata->initServicesMetadata()

3

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Model\ServiceMetadata->getServicesConfig()

4

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Model\ServiceMetadata\Interceptor->___callParent()

5

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Model\ServiceMetadata\Interceptor->Magento\Framework\Interception{closure}()

6

/bitnami/magento/generated/code/Magento/Webapi/Model/ServiceMetadata/Interceptor.php(23): Magento\Webapi\Model\ServiceMetadata\Interceptor->___callPlugins()

7

/bitnami/magento/vendor/magento/module-webapi/Model/AbstractSchemaGenerator.php(85): Magento\Webapi\Model\ServiceMetadata\Interceptor->getServicesConfig()

8

/bitnami/magento/vendor/magento/module-webapi/Controller/Soap.php(140): Magento\Webapi\Model\AbstractSchemaGenerator->getListOfServices()

9

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Soap->dispatch()

10

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Soap\Interceptor->___callParent()

11

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Soap\Interceptor->Magento\Framework\Interception{closure}()

12

/bitnami/magento/generated/code/Magento/Webapi/Controller/Soap/Interceptor.php(23): Magento\Webapi\Controller\Soap\Interceptor->___callPlugins()

13 /bitnami/magento/vendor/magento/framework/App/Http.php(116):

Magento\Webapi\Controller\Soap\Interceptor->dispatch()

14

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->launch()

15

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent()

16

/bitnami/magento/vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(38): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}()

17

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(135): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch()

18

/bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}()

19

/bitnami/magento/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http\Interceptor->___callPlugins()

20 /bitnami/magento/vendor/magento/framework/App/Bootstrap.php(264):

Magento\Framework\App\Http\Interceptor->launch()

21 /bitnami/magento/pub/index.php(30):

Magento\Framework\App\Bootstrap->run()

22 {main}

-- Reply to this email directly, view it on GitHub [1 [1]], or unsubscribe [2 [2]]. You are receiving this because you were assigned.Message ID: @.***>

Links:

[1] https://github.com/ShipStream/magento2-shipstream-sync/issues/2 [2] https://github.com/notifications/unsubscribe-auth/AWQUZ6JEDJIRO57O5DEMENLZOLN3BAVCNFSM6AAAAABLRKSJ2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTGMJQG4ZTAOI

-- This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

Links:

[1] https://github.com/ShipStream/magento2-shipstream-sync/issues/2 [2] https://github.com/notifications/unsubscribe-auth/AWQUZ6JEDJIRO57O5DEMENLZOLN3BAVCNFSM6AAAAABLRKSJ2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTGMJQG4ZTAOI