This support ticket is created hace 6 años. There's a good chance that you are reading advice that it now obsolete.
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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Hi support!
I'm trying to open a post (service modules) that contains a repeatable field group.
The post is opening, but i keep seeing the 'loading..' animation.
I updated TS plugins and disabled all other plugins.
In console i see 1 error: Failed to load resource: the server responded with a status of 500 (Internal Server Error) that is about this file: /wp-admin/admin-ajax.php:1
Can you help me solving this?
Thanks!
That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try editing the post again and then inspect the log.
Let me know what you find.
Could I also ask you an unrelated question?
We have just begun trialling offering chat support. When you created this thread you should have seen the option to chat immediately with support or to submit the thread as normal, and it seems like you chose to submit as normal.
Hi Nigel,
I turned on the debug log but it does not show anything. Can you give me another direction?
Now about the unrelated question. I saw the chat button 1 second to late, that was the only reason i did not click it. Normally i would prefer chat and based on my previous support questions i would say that 80% can be solved via chat. So, it is a very welcome addition to your already outstanding support.
I'm not sure why you couldn't see anything in the logs, I found the following fatal error:
PHP Fatal error: Uncaught Error: Call to a member function instantiate() on null in /Users/nigelanderson/OnTheGo/Sites/c-marc/wp-content/plugins/types/application/controllers/ajax/handler/repeatable_group.php:543
Stack trace:
#0 /Users/nigelanderson/OnTheGo/Sites/c-marc/wp-content/plugins/types/application/controllers/ajax/handler/repeatable_group.php(488): Types_Ajax_Handler_Repeatable_Group->format_rfg_field_for_response('detail-page-id', 145, Object(Types_Field_Group_Repeatable))
#1 /Users/nigelanderson/OnTheGo/Sites/c-marc/wp-content/plugins/types/application/controllers/ajax/handler/repeatable_group.php(450): Types_Ajax_Handler_Repeatable_Group->get_rfg_item(Object(WP_Post), Object(WP_Post), Object(Types_Field_Group_Repeatable))
#2 /Users/nigelanderson/OnTheGo/Sites/c-marc/wp-content/plugins/types/application/controllers/ajax/handler/repeatable_group.php(144): Types_Ajax_Handler_Repeatable_Group->get_rfg_items(Object(WP_Post), Object(Types_Field_Group_Repeatable))
#3 /Users/nigelanderson/OnTheGo/Sites/c-marc/wp-content/p in /Users/nigelanderson/OnTheGo/Sites/c-marc/wp-content/plugins/types/application/controllers/ajax/handler/repeatable_group.php on line 543
(I'm pasting it here in case anyone searches for the same.)
This occurs even when switching to twentyseventeen and disabling all plugins except Types.
I've escalated this as my colleagues will need to investigate further.
Seemingly something went wrong at some point so there is something stored incorrectly in the database.
You can resolve the problem by
- going to Toolset > Custom Fields and editing the Service module fields group
- in the single service module repeatable group add a new field with the slug detail-page-id (anything, e.g. a single line field)
- save the field group
- edit it again and delete the field with the slug detail-page-id you just added
- save the field group
Now you should be able to edit Service module posts without issue.