Problem/Motivation

When we add parent tag as follow tag to the LLanding page we receive an error

Error: Call to a member function getName() on bool in social_follow_landing_page_preprocess_paragraph() (line 61 of profiles/contrib/social/modules/social_features/social_follow_taxonomy/modules/social_follow_landing_page/social_follow_landing_page.module).

Steps to reproduce

- Make sure that the "Allow category split." option is enabled
- Create/edit landing page
- Add tag section with first level tag

Proposed resolution

As even first level tags have parent with "0" id we need to check it.

Comments

tBKoT created an issue. See original summary.

tbkot’s picture

tbkot’s picture

Status: Active » Needs review
ribel’s picture

Status: Needs review » Reviewed & tested by the community

The fix was tested and resolves the regression.
It will be released in 10.1.13 and above.

  • ribel committed b47e70d on 10.2.x authored by tBKoT
    Issue #3246407 by tBKoT: Check if parent term exist on the Follow Tag on...

  • ribel committed 2f10acc on 10.3.x authored by tBKoT
    Issue #3246407 by tBKoT: Check if parent term exist on the Follow Tag on...

  • ribel committed 82900ba on 10.1.x authored by tBKoT
    Issue #3246407 by tBKoT: Check if parent term exist on the Follow Tag on...
navneet0693’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.