We recently finished building a site with a Magento 2 template at www.cellar2door.com We were advised to upgrade our blue host hosting to a VPS account and did that.

Now the site doesn't show and we get the following text on the home page. Exception: Notice: Use of undefined constant ICONV_IMPL - assumed 'ICONV_IMPL' in /home/cellart1/public_html/vendor/magento/framework/Stdlib/StringUtils.php on line 162 in /home/cellart1/public_html/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /home/cellart1/public_html/vendor/magento/framework/Stdlib/StringUtils.php(162): Magento\Framework\App\ErrorHandler->handler(8, 'Use of undefine...', '/home/cellart1/...', 162, Array) #1 /home/cellart1/public_html/vendor/magento/framework/HTTP/Header.php(120): Magento\Framework\Stdlib\StringUtils->cleanString('Mozilla/5.0 (Ma...') #2 /home/cellart1/public_html/vendor/magento/framework/HTTP/Header.php(57): Magento\Framework\HTTP\Header->_getHttpCleanValue('HTTP_USER_AGENT', true) #3 /home/cellart1/public_html/vendor/magento/framework/App/Response/HeaderProvider/XssProtection.php(43): Magento\Framework\HTTP\Header->getHttpUserAgent() #4 /home/cellart1/public_html/vendor/magento/framework/App/Response/HeaderManager.php(42): Magento\Framework\App\Response\HeaderProvider\XssProtection->getValue() #5 /home/cellart1/public_html/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #6 /home/cellart1/public_html/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #7 /home/cellart1/public_html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #8 /home/cellart1/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #9 /home/cellart1/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #10 /home/cellart1/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #11 {main}

Bluehost have tried everything they can think off but cannot find a solution.

The developer company is closed now for Chinese New Year so will have to wait until next week to hear back from them.

I was wondering if anyone had had similar problems or could point me in the right direction if it is as simple as editing a line of code?

  • you re-index the site @James
    – SNS
    Jan 27, 2017 at 7:27
  • ok i am a bit of a novice how would i do that? Jan 27, 2017 at 7:34
  • php bin/magento indexer:reindex
    – SNS
    Jan 27, 2017 at 7:36
  • php bin/magento cache:flush
    – SNS
    Jan 27, 2017 at 7:37
  • using composer to do that
    – SNS
    Jan 27, 2017 at 7:38

1 Answer 1


In case anyone else sees this frustrating message. I also had switched to a VPS on Bluehost and our Magento 2 stopped working with the error the OG posted.

The fix I found was to uninstall Magento from the directory, then reinstall, but on reinstall, the setup wizard informed me that 2 PHP extensions were missing.

I logged into WHM and use Easy Apache to add those extensions, I put the original files back and voila back in business. Its weird that the logs does not mention those extensions.

Here were the missing PHP Extensions:

PHP Extension Intl. PHP Extension Iconv.

Best regards.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.