I am trying to: Add another checkbox custom field under my Group called "Reviews."
I visited this URL: My "Edit Group" page.
I expected to see: I added custom field to this page just as I have done with my other 45 custom fields.
Instead, I got: The new custom field will show up in the Edit Groups page after I add it and click save, but it will then disappear when I go back to the Edit Groups page. It also does not show up as an option to fill in on my Custom Post Type. All of the other custom fields work fine, but I cannot add a new custom field for some reason.
Solutions I have tried:
1) I checked for a corrupt .htaccess file. It was not corrupt.
2) I tried deleting the one I created, and make a new one, but that did not work.
3) I downloaded the wp-views plugin files again and uploaded them to my site via FTP. This did not fix the problem.
4) Added function to my functions.php to increase allowable custom fields to be 100 (just in case a limit was the issue)
Normally when I would update the custom fields on the "Edit Group' page and click "Save" the refreshed page would display a banner up top saying that it was saved.
However, now, this sort of confirmation is not present when I reach this page after saving.
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
Le sujet ‘[Fermé] I cannot add anymore new custom fields…?’ est fermé à de nouvelles réponses.