[Resolved] ACF Options not showing with other languages
This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with ACF Options fields not appearing on the front-end and being editable in the back-end. Additionally, when selecting a different language in the back-end, an error message 'Sorry, you are not allowed to access this page' appears.
Ensure that the ACF Options page is translated into the secondary language after performing a site backup.
Additionally, improve your site's performance by increasing the WP Memory Limit to 256MB and the MaxInputVars to 10000. For more details on these settings, visit:
If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to get my ACF Options fields to appear on the front-end and be editable in the back-end. The site I need help with is hidden link.
Symptoms:
On the front-end, the fields aren't copied, and my footer is blank when there are usually addresses, emails, phone numbers, etc. On the back-end, when I am in Options and select a different language in the top bar, I get a page that just says 'Sorry, you are not allowed to access this page.'
Questions:
Why are my ACF Options fields not appearing on the front-end?
Why do I receive a 'Sorry, you are not allowed to access this page' message when selecting a different language in the back-end?
2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.
I am still having trouble. I have tried the following:
- Logged in as a different admin account.
- Increased the *WP Memory Limit* to 256.
- Increased the *MaxInputVars* to 10000.
- I have also reset the permalinks.
I am still experiencing the same issue on the front-end and back-end.
Thank you for the updates. Maybe you are facing this issue because of compatibility conflicts. So to make sure if possible, please do the following steps.
a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2024
c) Deactivate all the plugins that are not related to WPML, except Advanced Custom Fields PRO
d) Then check whether the issue exists or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site
Also, please share with us the WordPress debug.log(not WPML debug information) to collect more details on this. Refer to the following pages for instructions
To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.
If you can paste your debug.log to http://pastebin.com/index.php and provide me with that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).
Thank you for the updates. The Debug.log is not showing any error or warning related to WPML.
So please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the details and login information. Please check the attached images. The ACF Options page has not yet been translated. Please translated it to secondary language after a site backup and make sure the bug exists or not.