Dear All,
I'm trying to replicate Edwards & Lambert (2007)'s empirical example analysis which they did in SPSS and Excel (for God knows what reason). Model goes like this: X is feedback, M is satisfaction, Z is centrality and Y is commitment. Z moderates the a path (from X to M), the b path (from M to Y) and the cprime direct path (from X to Y). Essentially Z (centrality) moderates every possible link in the model, therefore the name total effect model.
I've been trying to write code using lavaan to fit this model. But I keep getting errors. I really appreciate someone helping me out. Thanks guys! The mean centered data looks like this. Ignore gender for now.

Here's my code:
model=
'##path from X (Feedback) to M (Satisfaction)
Satisfaction~b1*Feedback+b2*Centrality+b3*Feedback*Centrality
##path from X (Feedback)to Y(Committment) (b4-b6 represents the direct effect moderation and b7-b8 represent the path from Sat to Commitment )
Commitment~b4*Feedback+b5*Centrality+b6*Feedback*Centrality+b7*Satisfaction+ b8*Satisfaction*Centrality
##indirect effect, first define a and b and then define product term
a:= b1+b3*Centrality
b:= b7+b8*Centrality
ab:= a*b
##direct effect
cprime:= b4+b7*Centrality
##total effect
total:=cprime+ab
'
And the error message is "Error in lav_partable_constraints_def(partable, con = LIST, debug = debug) :
lavaan ERROR: unknown label(s) in variable definition(s): b3 Centrality b8"