PHP Fatal error: Class 'CActiveRecord' not found

I’m getting this error:
Please re-run Magento compile command. Use the command “setup:di:compile”
Compilation was started.
Repositories code generation… 1/7 [====>———————--] 14% < 1 sec 56.0 MiBPHP Fatal error: Class ‘CActiveRecord’ not found in /var/www/html/lh/app/code/Ubertheme/Ubdatamigration/lib/protected/models/db/MigrateStepsPeer.php on line 15
 
How to proceed?

1 answer

Profile photo of ubdev Staff 98150.00 $tone September 9, 2018
Public

Hi there,
The issue you mentioned indicates that you have not installed our migration tool successfully. If after installing, you can access our migration tool via your M2 admin, you can solve such issue by running this CLI:
rm -rf /var/www/html/lh/app/code/Ubertheme/Ubdatamigration/lib/
Meanwhile, we wonder which Lite version you’re using. We have an old script on Github which we no longer maintain, and replace with a newer Pro version here.
We also have a Lite version at Ubertheme, however this is an outdated script also. This Lite version is available for Magento 2.0.7 only, and has a few other drawbacks.
So we highly recommend you consider moving forward with our Pro version. It will definitely save you pretty much time.
Regards,
Ubertheme team

#1

Please login or Register to Submit Answer

Written By

Comments