/
Fatal error Call to a member function setData on a non-object in Attributes.php on line 190

Fatal error Call to a member function setData on a non-object in Attributes.php on line 190

Problem

In the second step of Export profile creation process you get:

  • Fatal error: Call to a member function setData() on a non-object in .../app/code/community/Nostress/Nscexport/Block/Adminhtml/Nscexport/Helper/Form/Attributes.php on line 190

This problem was found in connector versin 6.3.0.0 and newer.

Solution

Log in to your server using FTP/SSH and check if Grid.php file is present in the file system

  • app/code/community/Nostress/Nscexport/Block/Adminhtml/Nscexport/Helper/Form/Attributes/Translate/Grid.php

You should find out the probably one of the following points is true and causes the error:

  • Grip.php is missing completely → Unpack the connector tgz package and upload this file manually.
  • The file name is grid.php with small "g" → Rename it to Grid.php with capital "G".
  • The file name is Grid.ph with missing letter "p" at the end → Rename it to Grid.php.
  • Instead of file Grid.php you find folder Grid.php → Delete this folder and unpack the connector tgz package and upload this file manually.

We are not sure why this issue occurs and we are currently investigating it.

Compilation enabled?

If you have compilation mode enabled you need re-compile all files, otherwise the old grid file or folder is still loaded.

 

Filter by label

There are no items with the selected labels at this time.