What to replace deprecated Class 'Zend_Rest_Client' with in Magento 2.3?Magento2 - SOAP API not authorized issueClassnames 'Void' inside vendor/magento/Class Mage not found in Magento 2basic php test in magento using module class, driving me crazy!Magento 2 - Add additional constructor argument widget block classMagento 2: How to create API rest for users CRUDClass not found even exist on Magento 2How to see all the observers currently registered?Can't Access Checkout PageUncaught Error: Class 'GuzzleHttpClient' not found" in /vendor/Maidmaid/Zoho/Client.php on line 24

I found a password with hashcat, but it doesn't work

What is the "ls" directory in my home directory?

Why is "Congress shall have power to enforce this article by appropriate legislation" necessary?

Did the CIA blow up a Siberian pipeline in 1982?

How to work with PETG? Settings, caveats, etc

Should I include an appendix for inessential, yet related worldbuilding to my story?

Print one file per line using echo

When Bnei Yisroel travelled in the midbar, what happened on Shabbos?

What triggered jesuits' ban on infinitesimals in 1632?

Encounter design and XP thresholds

Explicit song lyrics checker

What is the most suitable position for a bishop here?

Helping ease my back pain by studying 13 hours everyday , even weekends

A word for delight at someone else's failure?

What are Elsa's reasons for selecting the Holy Grail on behalf of Donovan?

Can I enter the UK for 24 hours from a Schengen area, holding an Indian passport?

What are the current battlegrounds for people’s “rights” in the UK?

What was the first third-party commercial application for MS-DOS?

Where should a runway for a spaceplane be located?

What was the flower of Empress Taytu?

Is there any proof that high saturation and contrast makes a picture more appealing in social media?

What is the oldest commercial MS-DOS program that can run on modern versions of Windows without third-party software?

How does DC work with natural 20?

I just entered the USA without passport control at Atlanta airport



What to replace deprecated Class 'Zend_Rest_Client' with in Magento 2.3?


Magento2 - SOAP API not authorized issueClassnames 'Void' inside vendor/magento/Class Mage not found in Magento 2basic php test in magento using module class, driving me crazy!Magento 2 - Add additional constructor argument widget block classMagento 2: How to create API rest for users CRUDClass not found even exist on Magento 2How to see all the observers currently registered?Can't Access Checkout PageUncaught Error: Class 'GuzzleHttpClient' not found" in /vendor/Maidmaid/Zoho/Client.php on line 24






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















A module I'm maintaining is not working on Magento 2.3 since Magento apparently deprecated Class 'Zend_Rest_Client' . I don't see any replacement Client listed in their documentation, so I'm a bit confused on which class I should be extending now.



This is my class on line 5:



class Client extends Zend_Rest_Client


This is the error thrown in Magento 2.3:




( ! ) Fatal error: Class 'Zend_Rest_Client' not found in
/m23/app/code/Maurisource/Module/Model/Rest/Client.php on line 5











share|improve this question




























    0















    A module I'm maintaining is not working on Magento 2.3 since Magento apparently deprecated Class 'Zend_Rest_Client' . I don't see any replacement Client listed in their documentation, so I'm a bit confused on which class I should be extending now.



    This is my class on line 5:



    class Client extends Zend_Rest_Client


    This is the error thrown in Magento 2.3:




    ( ! ) Fatal error: Class 'Zend_Rest_Client' not found in
    /m23/app/code/Maurisource/Module/Model/Rest/Client.php on line 5











    share|improve this question
























      0












      0








      0








      A module I'm maintaining is not working on Magento 2.3 since Magento apparently deprecated Class 'Zend_Rest_Client' . I don't see any replacement Client listed in their documentation, so I'm a bit confused on which class I should be extending now.



      This is my class on line 5:



      class Client extends Zend_Rest_Client


      This is the error thrown in Magento 2.3:




      ( ! ) Fatal error: Class 'Zend_Rest_Client' not found in
      /m23/app/code/Maurisource/Module/Model/Rest/Client.php on line 5











      share|improve this question














      A module I'm maintaining is not working on Magento 2.3 since Magento apparently deprecated Class 'Zend_Rest_Client' . I don't see any replacement Client listed in their documentation, so I'm a bit confused on which class I should be extending now.



      This is my class on line 5:



      class Client extends Zend_Rest_Client


      This is the error thrown in Magento 2.3:




      ( ! ) Fatal error: Class 'Zend_Rest_Client' not found in
      /m23/app/code/Maurisource/Module/Model/Rest/Client.php on line 5








      magento2 model rest-api zend-framework http-request






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 11 at 18:26









      maurisource webmaurisource web

      998




      998




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You are correct in that Magento deprecated the Zend_Rest module and a bunch of others. You can find a full list here https://devdocs.magento.com/guides/v2.3/release-notes/backward-incompatible-changes/



          With replacements, as far as I am aware there is no direct replacement for it.



          Instead, if we are trying to modify/extend the client, then we case use the MagentoFrameworkHTTPClient class as the base.



          Or if we are trying to use the client to make requests with we can inject one of the following blocks, examples of usage here: https://mage2.pro/t/topic/485



          • MagentoFrameworkHTTPZendClient

          • MagentoFrameworkHTTPAdapterCurl

          • Zend_Http_Client





          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f278000%2fwhat-to-replace-deprecated-class-zend-rest-client-with-in-magento-2-3%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You are correct in that Magento deprecated the Zend_Rest module and a bunch of others. You can find a full list here https://devdocs.magento.com/guides/v2.3/release-notes/backward-incompatible-changes/



            With replacements, as far as I am aware there is no direct replacement for it.



            Instead, if we are trying to modify/extend the client, then we case use the MagentoFrameworkHTTPClient class as the base.



            Or if we are trying to use the client to make requests with we can inject one of the following blocks, examples of usage here: https://mage2.pro/t/topic/485



            • MagentoFrameworkHTTPZendClient

            • MagentoFrameworkHTTPAdapterCurl

            • Zend_Http_Client





            share|improve this answer



























              0














              You are correct in that Magento deprecated the Zend_Rest module and a bunch of others. You can find a full list here https://devdocs.magento.com/guides/v2.3/release-notes/backward-incompatible-changes/



              With replacements, as far as I am aware there is no direct replacement for it.



              Instead, if we are trying to modify/extend the client, then we case use the MagentoFrameworkHTTPClient class as the base.



              Or if we are trying to use the client to make requests with we can inject one of the following blocks, examples of usage here: https://mage2.pro/t/topic/485



              • MagentoFrameworkHTTPZendClient

              • MagentoFrameworkHTTPAdapterCurl

              • Zend_Http_Client





              share|improve this answer

























                0












                0








                0







                You are correct in that Magento deprecated the Zend_Rest module and a bunch of others. You can find a full list here https://devdocs.magento.com/guides/v2.3/release-notes/backward-incompatible-changes/



                With replacements, as far as I am aware there is no direct replacement for it.



                Instead, if we are trying to modify/extend the client, then we case use the MagentoFrameworkHTTPClient class as the base.



                Or if we are trying to use the client to make requests with we can inject one of the following blocks, examples of usage here: https://mage2.pro/t/topic/485



                • MagentoFrameworkHTTPZendClient

                • MagentoFrameworkHTTPAdapterCurl

                • Zend_Http_Client





                share|improve this answer













                You are correct in that Magento deprecated the Zend_Rest module and a bunch of others. You can find a full list here https://devdocs.magento.com/guides/v2.3/release-notes/backward-incompatible-changes/



                With replacements, as far as I am aware there is no direct replacement for it.



                Instead, if we are trying to modify/extend the client, then we case use the MagentoFrameworkHTTPClient class as the base.



                Or if we are trying to use the client to make requests with we can inject one of the following blocks, examples of usage here: https://mage2.pro/t/topic/485



                • MagentoFrameworkHTTPZendClient

                • MagentoFrameworkHTTPAdapterCurl

                • Zend_Http_Client






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 11 at 22:51









                SamSam

                71212




                71212



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f278000%2fwhat-to-replace-deprecated-class-zend-rest-client-with-in-magento-2-3%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?