I am trying to:
We have a parent post 'Beitrag', which contains informations about changes in legal requirements. In the content template of this post, we have placed 2 buttons, one for creating a new measure, one for editing a measure (clients can define measures based on changes in legal requirements).
For the first button, we have defined a cred child link as follows
[cred_child_link_form form='36973' parent_id='-1' text='Massnahmen' target='_self']
Where:
- 36972 is the ID of the page, which contains the cred form to create new measures
- Text 'Massnahmen' is exactly the title of the cred-form.
- Relationsship one-to-many Beitrag to Massnahmen (measures) is defined, selector is defined in cred form (see screenshot)
Up to know, this link worked well, no problems. But now, we detected, when clicking on the button, nothing happes. We did not change any code. After cklicking on 'create new measure button', url is:
lien caché
where:
- newstickerbeitraege-newsletter-nr-47-hintergrundinformationen is the title of the parent post
- the information 'Keine untergeordneten Formularseiten angegeben' means 'no page containing the cred form is available'. So it seems to me, that the link is not working.
I looked at the debuging log, but thre is nothing about this case.
This link did always work, now nothing happens. We changed from PHP 7.4 to PHP 8.1, but we do have the same problem on our public site with PHP 8.1 and our dev-Site with PHP 7.4
- I am not sure either, if I should use ' oder " in the code, Toolset reference uses ", but in the blog, ' is often used. It seems to me, using ", I get at least part of the response (for instance opening the link in the same window).
- Should I configure the selector in the cred form further? (see screenshot). Up to now, we let it be like that.
So is this maybe a BUG due to Worpress updates? We are very eager to have your news, because this function is very important to our clients.
Kind regards
Franz Gasser