Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
Navigation error: Null is not an object (evaluating '_navigation$getParam.id')

I don't know why my navigation isn't working properly, it throws me the following error every time I want to navigate back to my EventAssistants screen from my UserProfile screen:

TypeError: Null is not an object (evaluating '_navigation$getParam.id')

I have my stack navigators defined as follows:

const SearchStack = createStackNavigator(
  {
    Map: Map,
    Search: Search,
    SearchPeople: SearchPeople,
    FollowerProfile: Profile, // <- This is where I try to go back to the EventAssistants screen
    ...
  },
  {
    initialRouteName: 'Map',
    ...
  },
);

const EventEditStack = createStackNavigator(
  {
    View: EventView,
    EditEvent: EditEventView,
    EventAssistants: EventAssistants, // <- This is where I try to go back
    ...
  },
  {
    initialRouteName: 'EventView',
    ...
  },
);

And over here I have the script of the button that should navigate to the EventAssistants screen, it is defined on the UserProfileScreen:

const {returnToScreen, imHostOrCoHost} = eventAssistantsItem;
item = itemEvent.id;
navigation.navigate('EventAssistants', {item, returnToScreen, imHostOrCoHost});

As you can see, the EventAssistants screen takes some parameters, and testing with console.log()s on the EventAssistants gives me the expected parameters when navigating from any screen to it, including UserProfile. So, how can I solve this?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!