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;
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
add a comment |
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
add a comment |
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
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
magento2 model rest-api zend-framework http-request
asked Jun 11 at 18:26
maurisource webmaurisource web
998
998
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Jun 11 at 22:51
SamSam
71212
71212
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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