Karsten
I am struggling with redirect from login pages. This seems to be a NGINX issue, as I found a description. I can change that in the .htaccess file. My question: Which .htaccess file? I have multiple of these in different folders. There is a large one just outside the /wordpress/ folder, another right in this folder. I tried adding it to the first folder as named, but this did not work and crashed the site. Any suggestions?
Karsten
I received and replied to the email. The email though was noreply@wpml.org . Is that correct? Should I reply on the email or rather continue here?
Prosenjit Barman
WPML Supporter since 03/2023
Languages:
English (English )
Timezone:
Asia/Dhaka (GMT+06:00)
Hi There,
Here is your ticket. Please share the updates only in response to this ticket. One of our supporters will take your ticket and assist you accordingly.
Please also share the WPML Debug information in next response. You can check the guide below to know more about the process.
- https://wpml.org/faq/provide-debug-information-faster-support/
Best Regards,
Prosenjit
Karsten
debug.log is also available. Content:
[28-Jul-2023 08:14:57 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:15:01 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:15:05 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:15:22 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:15:26 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:15:26 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:15:59 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:02 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:07 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:21 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:22 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:25 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:29 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:16:50 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:17:22 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:23 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:39 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:46 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:48 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:48 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:53 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:53 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:53 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:18:59 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:15 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:17 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:19 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:23 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:24 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:24 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:19:26 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:06 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:14 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:20 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:20 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:23 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:27 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:27 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:28 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:28 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:20:34 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:21:23 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:21:57 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:22:01 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:22:04 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:22:06 UTC] PHP Warning: Cannot modify header information - headers already sent in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/uncode-privacy/includes/class-uncode-toolkit-privacy-public.php on line 355
[28-Jul-2023 08:22:08 UTC] PHP Deprecated: Required parameter $clearing_error_type follows optional parameter $clearing_account in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/wp-social-reviews/app/Services/Platforms/PlatformErrorManager.php on line 533
[28-Jul-2023 08:22:10 UTC] PHP Warning: Cannot modify header information - headers already sent in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/uncode-privacy/includes/class-uncode-toolkit-privacy-public.php on line 355
[28-Jul-2023 08:22:14 UTC] PHP Warning: Undefined array key "flush-files" in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54
[28-Jul-2023 08:22:14 UTC] PHP Warning: Trying to access array offset on value of type null in /srv/www/vhosts/fmstarter.com/httpdocs/wordpress/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54
Karsten
It's Friday afternoon in Switzerland. As support is in India/Bangladesh? it will be night. When can I count with further help to solve the issue?
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello,
thanks for your patience.
I will continue to help, I was reading the ticket but before we continue can we please clear a few things up:
1) Can you share the steps to check the issue and what goes wrong? What is the correct expected result?
I see you have had a few issues, but unsure what is the status now.
2) Are you following the next guide: https://wpml.org/documentation/getting-started-guide/translating-wordpress-login-and-registration-pages/
If so, does the issue still happen if you disable the translate login pages option?
Let me know.
Thanks,
Drazen
Karsten
Hi Drazen
I just got a reminder email. Thank you! I had totally forgotten. The issue persists. I am following your suggestions and will get back to you shortly.
Karsten
Karsten
Hi Drazen
From the post you sent:
Login-URL for 1st language = hidden link
Login-URL for 2nd language = hidden link
Issue:
After login on the 2nd language login (English), the user remains on the login page. This does not happen on the primary language login (German). Even the English login truly works, which can be seen by switching to the German side, where the user account settings for WooCommerce appear. However, on the English side, there is no forwarding/refreshing to show the regular dashboard.
Please check this screencast, where I highlight the issue:
hidden link
Any suggestions?
Regards
Karsten
Karsten
I assume it has to do with NGINX rewrite rules?
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello Karsten,
thanks for getting back.
1) Are you following the next guide: https://wpml.org/documentation/getting-started-guide/translating-wordpress-login-and-registration-pages/
If so, does the issue still happen if you disable the translate login pages option?
Please make a backup before proceeding.
2) I see this login page is related to Uncode theme and WooCommerce, so please try next:
- Switch to the parent theme
- Disable all other plugins, and leave active only WPML plugins, WooCommerce, and Uncode theme plugins
- Check if the issue still happens.
- Switch to WP default theme and check if the issue happens.
Let me know how it goes.
Regards,
Drazen
Karsten
Hi Drazen
Thank you for your quick reply. As the day is finishing, I will test tomorrow morning, and then come back to you.
Regards
Karsten
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello Karsten,
sure, take your time.
Regards,
Drazen
Karsten
Hi Drazen
Good morning. I have now followed your suggestions, as mentioned above.
1. Yes, I followed the getting started guide (the site actually worked for years, but I checked the guidelines). If I disable the "translate login page", the issues remain. The same accounts for the checking/unchecking "show language switcher on …"
2. This would require to create a staging site, as I must change pages to work after switching the theme. This is not a simple website. However, what I can tell you is this: It works on other websites (like: kursiv-software.com/en/) running on the same hosting platform, with the same theme.
2.a Theme: Based on my experience with other similar sites, this is not theme-related.
2.b Plug-ins: Deactivating all unnecessary plug-ins does not solve the issue.
NGINX:
The server runs with NGINX. Also on the other site where it works perfectly (!). As tried before, the NGINX rewrite-rules caused the site to crash.
Your expertise and experience here is highly appreciated. Any suggestions?
Regards
Karsten
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello Karsten,
thanks for getting back.
1) I would need to confirm issue still happens in the mentioned environment before proceeding. Even if it works with the same setup on another website, it would be good to check and confirm.
Please take your time to create a staging site and check. It would be also helpful to check on the issue in a safe environment (staging)
2)as I must change pages to work after switching the theme. - Do you use some custom code or similar for these login pages?
Let me know how it goes.
Thanks,
Drazen
Karsten
Hi Drazen
1. OK. I will do so, but need to schedule for next week.
2. I have designed login pages. I must set that to the minimum woocommerce shortcodes. Not a big deal, but essential, as design elements use WP Bakery as a page layout tool, which is part of the theme. Skipping the theme for a standard theme would mean the pages do not look alike any more. At least the pages for login, or also the menus, must be checked to make it halfway usable with another theme.
I schedule for Tuesday next week.
Thx!
Karsten