Git Product home page Git Product logo

Comments (4)

DominicWatts avatar DominicWatts commented on June 23, 2024

On 2.3.1 I get error pointing towards Zend\Diactoros\ResponseFactory

I think composer has all required packages. I will check again tonight but this still appears to be issue even with latest merges?

from magento2-sentry.

rakibabu avatar rakibabu commented on June 23, 2024

In Released 2.1.0 this issue is fixed. Thanks to @JeroenBoersma @DominicWatts :) I'll investigate this issue for 2.3.1.

from magento2-sentry.

DominicWatts avatar DominicWatts commented on June 23, 2024

Was missing nyholm/psr7

FYI if anyone else makes same mistake the error is this

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Zend\Diactoros\ResponseFactory::__construct(), 0 passed in /var/www/magento/vendor/php-http/discovery/src/ClassDiscovery.php on line 203 and at least 1 expected in /var/www/magento/generated/code/Zend/Diactoros/ResponseFactory.php:29 
Stack trace: 
#0 /var/www/magento/vendor/php-http/discovery/src/ClassDiscovery.php(203): Zend\Diactoros\ResponseFactory->__construct() 
#1 /var/www/magento/vendor/php-http/discovery/src/Psr17FactoryDiscovery.php(58): Http\Discovery\ClassDiscovery::instantiateClass('Zend\\Diactoros\\...') 
#2 /var/www/magento/vendor/php-http/curl-client/src/Client.php(84): Http\Discovery\Psr17FactoryDiscovery::findResponseFactory() 
#3 /var/www/magento/vendor/php-http/discovery/src/ClassDiscovery.php(203): Http\Client\Curl\Client->__construct() 
#4 /var/www/magento/vendor/php-http/discovery/src/HttpAsyncClientDiscovery.php(34): Http\Discovery\ClassDiscovery::instantiateClass('Http\\Client\\Cur...') 
#5 /var/www/magento/vendor/sentry/sentry/src/C in /var/www/magento/generated/code/Zend/Diactoros/ResponseFactory.php on line 29

So all good

from magento2-sentry.

rakibabu avatar rakibabu commented on June 23, 2024

Good to hear. I'm closing this issue.

from magento2-sentry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.