You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I am having a wrong idea on how to update a page. But doing this returns couple of errors.
One error is for example that translations key has empty array. If I unset the translations key value pair from $page it works. But I need to remove some more to make it working.
Some best practices on how to use API for this case (updating page content) would be appreciated, espacially for layoutSections.
$page->update() would be nice after making some changes with setters. Maybe this is already included and I don't know about it?
The text was updated successfully, but these errors were encountered:
Maybe I am having a wrong idea on how to update a page. But doing this returns couple of errors.
One error is for example that translations key has empty array. If I unset the translations key value pair from
$page
it works. But I need to remove some more to make it working.Some best practices on how to use API for this case (updating page content) would be appreciated, espacially for
layoutSections
.$page->update()
would be nice after making some changes with setters. Maybe this is already included and I don't know about it?The text was updated successfully, but these errors were encountered: