If you get the error above when running expdp you most likely have OLAP objects remaining in data dictionary while OLAP is not installed or was de-installed.
In my situation, this have happened on Oracle 12.2 but it can also happen on 11.2
This can be confirmed if query below return rows:
SELECT * FROM SYS.EXPPKGACT$ WHERE PACKAGE = 'DBMS_CUBE_EXP';
To fix it, just run:
# backup exppkgact$_bck table create table exppkgact$_bck as select * from exppkgact$; # delete DBMS_CUBE_EXP from exppkgact$ delete from exppkgact$ where package = 'DBMS_CUBE_EXP' and schema = 'SYS'; commit;
And run expdp again.