question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bugs in Exchange.php

See original GitHub issue

MUST READ THIS BEFORE SUBMITTING ISSUES (read the links, then delete this message before submitting):

Make sure your local version of CCXT is up to date. Check by comparing the output of ccxt.version to https://github.com/ccxt/ccxt/blob/master/package.json#L3

  • OS:
  • Programming Language version: php 7.4
  • CCXT version: 1.65.41

in public function handle_market_type_and_params, I meet 2 problems.

  1. $market_type = isset($market) ? market[‘type’] : $method_type;
  • I not sure, but market[‘type’] should have $ beside it?
  1. I using fetchOrder and createOrder function but it stuck at $method_type. Error Message: PHP Notice: Undefined variable: method_type in /vendor/ccxt/ccxt/php/Exchange.php on line 3494 huobipro cancelOrder() requires a $symbol for orders

$method_type and $method_options are both empty value because fetchOrder and createOrder does not exists in $this->options.

how to fix this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kroitorcommented, Dec 29, 2021

@ngdekhai it should be fixed in CCXT 1.65.56+

0reactions
kroitorcommented, Dec 29, 2021

@ngdekhai let me know if you still have issues with version 1.65.57+. Thanks for reporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug in __construct of Exchange.php on line 1218 · Issue #10201 ...
I found a bug on Exchange.php on Line 1218 of version 1.57.96 … throw new ExchangeError(this . id . ' warning! The glue...
Read more >
PHP :: Bug #7090 :: PHP, IIS, and Exchange don't get along
Bug #7090, PHP, IIS, and Exchange don't get along ... PHP Version: 4.0.3RC2, OS: Windows NT Server 4.0 ... Install exchange server 5.5....
Read more >
Search - PHP :: Bugs
Return bugs reported with PHP version · Return bugs reported with CVE-ID · Return bugs assigned to · Return bugs with author email...
Read more >
Bugs Stats - PHP
Name Closed Open Verified Analyzed Assigned No Fdbk Susp Not a bug All 81390 39741 1971 421 41 159 7355 833 25152 SOAP related 679...
Read more >
PHP :: Bugs homepage
PHP Bug Tracking System · Used the form above or our advanced search page to make sure nobody has reported the bug already....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found