I am trying to: add further new fields to a post field group, however the "save field group" function will not work. I have updated the max_input_Vars to 3000 from 1000 and the Post_max_size to 256M from 64M yet the save field group will not function. I have tried removing a field and re-adding it, however, the save field group function will still not work. I am using the basic Astra Theme as a child theme. This is a staging site at this stage of development.
Link to a page where the issue can be seen:
I expected to see:
Instead, I got:
Hi, can you try these troubleshooting steps first?
- Open the browser console and watch for any JavaScript errors that may appear when you try to save the Field Group. Copy and paste those here for me to review.
- Temporarily deactivate all plugins except Types and activate the Astra parent theme. Test again. If the problem is resolved, reactivate your child theme and plugins one by one until the problem returns.
- Turn on server logs to see if any backend errors are registered. If you are not familiar with server logs, I can show you how to activate them temporarily. Go in your wp-config.php file and look for
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
Then add these lines, just before it says 'stop editing here':
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
Try to save the field group again. If any backend errors are registered, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the changes you made to wp-config.php.
Good morning Christian
Thank you for your suggestions. Results follow.
Server logs activated
1) Java Console feedback;
JQMIGRATE: Migrate is installed with logging active, version 1.4.1 jquery-migrate.js:23:2
JQMIGRATE: 'ready' event is deprecated jquery-migrate.js:45:4
console.trace() jquery-migrate.js:47:5
migrateWarn
hidden link
setup
hidden link
add
hidden link
jQuery.event.add
hidden link
sa/<
hidden link
each
hidden link
each
hidden link
sa
hidden link
on
hidden link
<anonymous>
hidden link
<anonymous>
hidden link
JQMIGRATE: jQuery.browser is deprecated jquery-migrate.js:45:4
console.trace() jquery-migrate.js:47:5
migrateWarn
hidden link
get
hidden link
<anonymous>
hidden link
<anonymous>
hidden link
JQMIGRATE: jQuery.fn.load() is deprecated jquery-migrate.js:45:4
console.trace() jquery-migrate.js:47:5
migrateWarn
hidden link
jQuery.fn[name]
hidden link
ToolsetCommon.ToolsetSettings/self.trigger_tab_switch_after_load
hidden link
ToolsetCommon.ToolsetSettings/self.init
hidden link
ToolsetCommon.ToolsetSettings
hidden link
<anonymous>
hidden link
i
hidden link
fireWith
hidden link
ready
hidden link
K
hidden link
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see hidden link for further details and to join the discussion on related tools and features! admin.php
2) The only plugin I am using is Toolset 🙂
3) Activating the Parent Astra theme resulted in the same error; no ability to save a new Field type.
4) error_log.txt as follows
[27-Nov-2018 13:39:00 UTC] mojo_plugin_activated
That's everything you have suggested I believe? I specifically looked for a java script error as I hit save but no scripts ran on that attempted execution.
Thank you for your help.
Cheers
Craig
Okay thanks, I don't see anything obviously wrong here. Can I log in to your wp-admin area and take a closer look? If I need to make adjustments, I will install a plugin like Duplicator to create a clone of your site, then I can run those tests on my local environment without affecting your live site. If you approve, please provide login credentials in the private reply fields here. Let me know which field group is experiencing the problem.
Okay I can see there is some caching active on the server, please go to Settings > General and temporarily turn your cache settings to "Off". Then test again and let me know if the problem is still present.
Hi Christian
Thank you for your reply.
I have performed the suggestion you have put forward, thank you
Regrettably the problem is persisting.
Cheers
Craig
Okay I see a problem. Please use the toggle to display the "Featured Image" custom field. In the default value setting, you have "No Image", which is technically an invalid default value. The default value should be empty, or a valid image URL. It looks like nothing is happening when you click save because this validation message is preventing the page from reloading. Please fix the default value for the Featured Image field and try again.
Thank you so very much Cristian.
I appreciate your patience and diligence in resolving my issue!
Kindest regards,
Craig