4

I am getting following error in error_log after moving the site (developed in Magento ver. 2.3.2) on new server (AWS Server):

PHP Fatal error: Uncaught Zend\Uri\Exception\InvalidUriPartException: Host "[IP ADDRESS]" is not valid or is not accepted by Zend\Uri\Http in /public_html/vendor/zendframework/zend-uri/src/Uri.php:746

I feel that it's a server level issue. Anyone have idea how to fix this error?

7
  • is it magento related build ? Commented Dec 24, 2019 at 11:37
  • Yes, but I checked the file but didn't found any code level issue. That's why I raised this issue here. Commented Dec 24, 2019 at 12:14
  • Check if php version is compatible with magento. Commented Dec 24, 2019 at 12:19
  • @SukhjinderSingh I checked this by change the php version but still getting same error. I am using PHP 7.2 Commented Dec 25, 2019 at 6:16
  • [IP ADDRESS] is the real return or you changed it? Commented Dec 25, 2019 at 9:45

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.