[Resolved] A previous fix seems to have caused another problem
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
The fields "start hour" "end hour" "start minute" and "end minute" are also used in another CPT "events". Is there any reason why the code used in the fix would be causing a problem with the editing of the end hour and end minute fields?
If I edit an event in the backend, the time edits and displays fine,
If I edit an event in a frontend form, an error "Warning: Undefined array key "id" in /homepages/11/d842026020/htdocs/clickandbuilds/Mix926/wp-content/toolset-customizations/enddate.php on line 30" displays on the frontend form when it loads, and the end hour and end minute changes made in the edit form are not saved but the start hour and start minute ones are.
Hello. Thank you for contacting the Toolset support.
I already bind the hook to run only with the form IDs:
if( $form_id == 182634 or $form_id ==182904) {
As you can see with the code I shared before.
Can you please share problem URL where I can see the issue as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.