-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix translation notice during WooPayments plugin initialization #9727
Comments
For the context, stack trace points to Jetpack-sync package, rather than WooPayments src code, and translation domain is from core rather than WooPayments. So probably the problem has to be solved outside WooPayments repo. |
Hi @vbelolapotkov, I have a customer who reported the error:
This error message specifically says Thanks! |
This is the main issue in Core: woocommerce/woocommerce#52646 For the context, here is the link to the source of changes in WP and the context behind it: https://core.trac.wordpress.org/ticket/44937 |
I'm cutting this issue into two based on the investigation results. Updated this issue description and title to narrow down its focus. @deepakpathania sending this part to your team for further prioritization and fixing. Note, some collaboration with core team might be necessary for figuring out the best way forward. See @mordeth's post for more details. |
It should, but I don't know if we have any other notices generated by the plugin during its use. The linked PR fixes the use case where the plugin loads i18n strings for Jetpack Connection. |
@deepakpathania I doubt it will. The error is the same, but it comes from multiple places as described in @mordeth's post. This issue is focused on fixing notice coming from payment gateway registration during WooPayments init. |
I confirm Vasily’s statement. PR #9884 would address only the error triggered by Jetpack. |
I don't think this issue was fixed, so reopening. |
Update: PHP Notices are triggered during plugin initialization. This issue should focus on fixing notice coming from plulgin init flow.
Describe the bug
To Reproduce
wp-config.php -> define('WP_DEBUG',true);define('WP_DEBUG_DISPLAY',true);@ini_set('display_errors',0);define('SCRIPT_DEBUG',true);
Actual behavior
Open any page
Desktop (please complete the following information):
Additional context
debug.log
Internal investigation results by @mordeth (paJDYF-fWD):
The text was updated successfully, but these errors were encountered: