سلام
من مدتی هست که این خطاهارو در ارورلاگ میبینم:
[13-Nov-2023 06:38:58 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
[13-Nov-2023 09:21:06 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp_options
made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Assets\Api->update_script_data_cache, set_transient, update_option
ممنون میشم اگر از دوستان کسی میتونه راهنمایی بکنه
نسخه ووکامرس مورد استفاده شما آپدیت شده؟ جدیدترین نسخه 7.7 هست اگر آپدیت نیست حتما اقدام کنید.
میتونید از این issue در گیتهاب کمک بگیرید.
opened 07:55AM - 25 Jun 22 UTC
type: bug
priority: medium
## Describe the bug
The error above is recorded in server-level logs when acc… essing Stripe settings. The notice above are recorded in server error logs when using specifically Stripe, hence reporting it here. If it's still a core issue, I'm happy to move it or reopen the original report.
I could not recreate it on a local development site, but in addition to the user's report from Siteground sites, I could recreate it on both a Pressable and WPCOM Biz site (environments below).
A similar (the same?) issue was [described in this core report](https://github.com/woocommerce/woocommerce/issues/32863) and subsequently fixed [and rolled out in 6.6.0 here](https://github.com/woocommerce/woocommerce/pull/32891).
## To Reproduce
Steps to reproduce the behavior:
1. Install and activate WooCommerce and Stripe
2. Navigate to the WC > Settings > Payments > Stripe
3. Stripe doesn't have to be Enabled, just visiting the settings page causes the error.
4. View the server error_logs, it seems to generate two lines everytime those settings are accessed.
```
[25-Jun-2022 07:38:44 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.
[25-Jun-2022 07:38:44 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.
```
## Expected behavior
No deprecation notices
## Actual behavior
Deprecation notice
## Environment (please complete the following information):
#### From the report in 5322082-zen where the error was recreated:
- WordPress Version: 6.0
- WooCommerce Version: 6.6.1
- Stripe Plugin Version: 6.4.1
- Browser [e.g. chrome, safari] and Version: n/a
- Any other plugins installed: No
- PHP version: 7.4.30
- Server: Apache
#### Initial test on localhost, could not recreate:
- WordPress Version: 6.0
- WooCommerce Version: 6.6.1
- Stripe Plugin Version: 6.4.1
- Browser [e.g. chrome, safari] and Version: Chrome, Firefox
- Any other plugins installed: No
- PHP version: 8.1.5
- Server: Apache
#### Test 2 on Pressable:
- WordPress Version: 6.0
- WooCommerce Version: 6.6.1
- Stripe Plugin Version: 6.4.1
- Browser [e.g. chrome, safari] and Version: Chrome, Firefox
- Any other plugins installed: (Drop-ins) advanced-cache.php, object-cache.php
- PHP version: 8.1.7
- Server: nginx
### Test 3 on WPCOM (Biz):
- WordPress Version: 6.0
- WooCommerce Version: 6.6.1
- Stripe Plugin Version: 6.4.1
- Browser [e.g. chrome, safari] and Version: Chrome, Firefox
- Any other plugins installed: Akismet, Jetpack, WooCommerce Stripe Gateway, WooCommerce, (drop ins) advanced-cache.php, object-cache.php
- PHP version: 7.4.30
- Server: nginx
بله آپدیت هست
مشکل اصلی ارور out of sync ه که جوابی براش پیدا نکردم