Help with a Keyword Error

Hello. I'm at the point in my game where I would like to introduce quests. After trying my hand at making custom ones, I decided to look for an easier route. The easier route I found was the Quest Journal script. After spending some time learning what to do, I made a new quest, however I continue to receive this error.

unexpected keyword_end, expecting ']'

end

This is the part of the script where the error is.

Spoiler
 
      when 2 # <= REMINDER: The Quest ID MUST be unique
       q[:name]              = "Strange Potion"
       q[:icon_index]        = 7
       q[:level]             = 1
       q[:description]       = "Try out the potion given to you by the Alchemist"
       q[😮bjectives][0]     = "Drink the Strong Concoction"
       q[😮bjectives][1]     = "Talk to the Alchemist again"
       q[😮bjectives][2]     = ""
       q[😛rime_objectives]  = [0, 1, ]
       q[:custom_categories] = []
       q[:banner]            = ""
       q[:banner_hue]        = 0
       q[:client]            = "Alchemist"
       q[:location]          = "Field 1"
       q[:common_event_id]   = 0
       q[:rewards]           = [
       [:gold, 500]

    #||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
    #  END Editable Region B
    #//////////////////////////////////////////////////////////////////////

    end
  q
  end
end
#==================================================
The error is occurring is on Line 822, which is the first "end". Can someone help me?
BEcause of this line

Code:
 q[:rewards]           = [       [:gold, 500]
You have a hanging [ there

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-keyword-error.24600/