Topic: Error after upgrading to Angular 10

rtchrisdev pro asked 3 years ago

Expected behavior No errors in the Chrome console like it was when running Angular 8

Actual behavior Getting the error below after upgrading from Angular 8 to Angular 10. It looks like it is complaining about use of the SORT in my table columns. But the sorting seems to be working working fine in the tables. Please advise.

Resources (screenshots, code snippets etc.)

core.js:4352 ERROR TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at Function.from () at MdbTableSortDirective.ngOnInit (ng-uikit-pro-standard.js:9683) at callHook (core.js:3105) at callHooks (core.js:3075) at executeInitAndCheckHooks (core.js:3027) at selectIndexInternal (core.js:6264) at Module.ɵɵadvance (core.js:6246) at TechPartnerViewComponent_Template (tech-partner-view.component.html:36) at executeTemplate (core.js:7451) at refreshView (core.js:7320)

Arkadiusz Idzikowski staff commented 3 years ago

We would need some more information about the MDB components that you use in the application. Does it help if you remove the MDB Table code?

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.0.0
  • Device: MacBook Pro
  • Browser: Chrome
  • OS: Catalinea
  • Provided sample code: No
  • Provided link: No