Closed ADDISON74 closed 7 months ago
I cannot replicate this error.
$profile
cannot be null because of line 37 $profile = Mage::getModel('dataflow/profile');
.
It must be something else for you to get
Fatal error: Uncaught Error: Call to a member function addData() on null
Is the dataflow module disabled or is it missing? Regardless, it is more probable that something is wrong with your particular instance rather than OpenMage.
This proves the error based on the configuration mentioned in the initial post
https://github.com/OpenMage/magento-lts/assets/8360474/4fc8b213-afbe-40ea-88ce-8f4cba549ca9
OpenMage 20.3.0 Magento Sample Pack PHP 8.3 MAGE_IS_DEVELOPER_MODE=1
Steps to reproduce this issue
1 - Go to the Backend > System > Import / Export > Dataflow - Advanced Profiles 2 - Click on the [Add New Profile] button 3 - Fill in "New Profile" and "Action XML" then click the [Save and Continue Edit] button
You will get this error
This is the PHP file and the line:
/app/code/core/Mage/Adminhtml/controllers/System/Convert/ProfileController.php:119