Jump to content

Recommended Posts

Posted

Hello,

When I use setFieldContextArray on a Repeater field via the API, I get the following error when trying to open the Repeater field:

Sizzle.error - JqueryCore.js:1:18925
Error: Syntax error, unrecognized expression: {"error":true,"message":"Field mediacljm1 is not saveable because it is in a specific context"}

Does anyone know why this happens?

Thanks!

 

$fieldgroup->setFieldContextArray($field->id, [
    'position' => $data['position'],
    'colsize'  => $data['colsize'],
    'typ'      => $data['typ'],
]);

$fieldgroup->saveContext();

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...