Error in compiling magento 2

When I try to compile my mageto 2 it stops after 14%. In error.log I get this message:
[02-Aug-2018 15:17:38 UTC] PHP Fatal error:  Declaration of Ubertheme\UbThemeHelper\Model\ResourceModel\Config::saveConfig($path, $value, $scope, $scopeId) must be compatible with Magento\Framework\App\Config\ConfigResource\ConfigInterface::saveConfig($path, $value, $scope = Magento\Framework\App\Config\ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeId = 0) in /home/jukeboxs/public_html/app/code/Ubertheme/UbThemeHelper/Model/ResourceModel/Config.php on line 13

8 answers

Profile photo of Ziven Staff 100620.00 $tone August 3, 2018

Hi There,
Please download this file, then from your root directory, extract to the folder: app\code\Ubertheme\UbThemeHelper
Once done, run the following commands: 

  1. php bin/magento maintenance:enable
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:static-content:deploy -f
  4. php bin/magento cache:flush
  5. php bin/magento maintenance:disable

Please let me know how it goes then.
Best Regards,

Profile photo of Ziven Staff 100620.00 $tone August 6, 2018

Hi There,
I tried to apply the workaround as instructed to you above, and the UbThemeHelper issue has been fixed. 
However, when running the di:compile command, it indicated another issue that relates to your third party extension “OOAWebStore” -- you can check out further via this error message -- 
Please help to contact with this extension provider for further help on this. 
Best Regards,

Profile photo of ubdev Staff 98370.00 $tone August 6, 2018

Hi there,
Due to our current high workload, we’re afraid we can help you within the scope of our theme-related issues only.
Thanks for your understanding.
Ubertheme team


Please login or Register to Submit Answer

Written By