Problems with search in Many-to-many application

I have a many to many form application which workks fine. However, if I switch on the search functionality in the many-to-many link setup, I get an abort with the error:

Parse error: syntax error, unexpected ‘’ (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Program Files\NetMake\v9Jun18\wwwroot\scriptcase\app\R_Ass ist\form_Requirements_problem3\form_Requirements_p roblem3_apl.php on line 1426

The search parameter setup is as per the attached picture AND I have made ZERO manual coding in the app. [ATTACH=JSON]{“alt”:“Click image for larger version Name: manytomany_problem.png Views: 1 Size: 36.2 KB ID: 84844”,“data-align”:“none”,“data-attachmentid”:“84844”,“data-size”:“custom”,“height”:“244”,“width”:“785”}[/ATTACH]
I have also tried it with every permutation of sinle fields/filled or not filled and all fields. I always get the same error.

If I untick the search option then the app works OK.

Does anyone have any ideas how to fix this?

manytomany_problem.png