Problem/Motivation

Error: Call to a member function get() on null in Drupal\dbb\Controller\NodeRedirectController->handlePayload() (line 183 of /app/web/modules/contrib/dbb/src/Controller/NodeRedirectController.php)

Proposed resolution

Add debugging to see the flow and fix the error.

Comments

alex.mazaltov created an issue. See original summary.

  • ce916bc4 committed on 1.0.x
    #3327485 Add debug to see the error in details why field_step is null
    

  • alex.mazaltov committed f913d79e on 1.0.x
    #3327485 handle [start]&&[postback_welcome] with response 200
    
alex.mazaltov’s picture

Version: 1.0.6 » 1.0.7
Status: Active » Fixed

The problem was that in the code there was no exception to handle payload gets from Facebook custom payload like [postback_welcome] [start].

alex.mazaltov’s picture

Status: Fixed » Closed (fixed)