After installing 3.1.2 on fresh install 500 error

Any ideas on what the below means?
Error 500
Undefined property: stdClass::$mg2_host

5 answers

Profile photo of Mall Staff 100920.00 $tone December 13, 2017

Hi there,

Undefined property: stdClass::$mg2_host

To solve that issue, kindly do steps as followings:
+ Download the php file at HERE
+ Upload replace downloaded file to the file at path: pub/ub-tool/protected/controllers/Step1Controller.php
+ Once done, you could continue data migration with steps as our guide in the Readme.html
Best Regards,

Profile photo of asadyar 650.00 $tone December 13, 2017

Same issue after fresh install on Magento 2.2.2 / UBDataMigrationPro-Package_3.1.2_for_Magento_ver.2.2.0_and_above
Getting 500 internal errors:
Exception I get is as below:
1 exception(s):
Exception #0 (UnexpectedValueException): Setup version for module ‘Ubertheme_Ubdatamigration’ is not specified
Exception #0 (UnexpectedValueException): Setup version for module ‘Ubertheme_Ubdatamigration’ is not specified
#0 /var/www/vhosts/vendor/magento/framework/Module/DbVersionInfo.php(54): Magento\Framework\Module\DbVersionInfo->isModuleVersionEqual(‘Ubertheme_Ubdat…’, ‘3.1.2’)
#1 /var/www/vhosts/vendor/magento/framework/Module/DbVersionInfo.php(77): Magento\Framework\Module\DbVersionInfo->isSchemaUpToDate(‘Ubertheme_Ubdat…’)
#2 /var/www/vhosts/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(120): Magento\Framework\Module\DbVersionInfo->getDbVersionErrors()
#3 /var/www/vhosts/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(53): Magento\Framework\Module\Plugin\DbStatusValidator->getGroupedDbVersionErrors()
#4 /var/www/vhosts/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Framework\Module\Plugin\DbStatusValidator->beforeDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Magento\Framework\App\Request\Http))
#5 /var/www/vhosts/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#6 /var/www/vhosts/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#7 /var/www/vhosts/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#8 /var/www/vhosts/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins(‘dispatch’, Array, Array)
#9 /var/www/vhosts/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#10 /var/www/vhosts/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http->launch()
#11 /var/www/vhosts/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#12 {main}

Profile photo of Mall Staff 100920.00 $tone December 14, 2017

Hi asadyar,

Exception #0 (UnexpectedValueException): Setup version for module ‘Ubertheme_Ubdatamigration’ is not specified
Exception #0 (UnexpectedValueException): Setup version for module ‘Ubertheme_Ubdatamigration’ is not specified

That seem you have wrong folder/files permission on folder/files of our tool at app/code/Ubertheme
Kindly recheck and change folder/files permission to solve that issue.

Profile photo of Christopher Elliott 10.00 $tone January 26, 2018

What /files permission should it be as I am getting 

500 -- Internal Server Error
 This is a temporary server error. 
Please try to reload the webpage later. 


If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
Common reasons for this error are:

  • Incorrect file/directory permissions: Above 755.
    In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel’s File Manager.
  • Incorrect Apache directives inside .htaccess file.
    Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.
Profile photo of ubdev Staff 31020.00 $tone January 27, 2018

Hi Christopher, 
Our apology for delay in responding to you. Our technical team is off in the weekend. 
Please give us some time to check your case. We will follow up with you throughout weekend though (we will get back to you via this ticket)
Thanks for your patience.
Ubertheme team


Please login or Register to Submit Answer

Written By