Not sure what I was doing wrong before, but now it seems to be working fine.
I ended up deactivating all the custom plugins because I was getting errors elsewhere. And now when I try adding these variables the same way I was before it works so not sure what was the cause of the issue.
Could have been a typo as well but I tried it several times with simple variables like $x and it wouldn't work so not really sure.
Thanks for the assistance.
|