وردپرس

Persist deprecation error on PHP


Hello,

I saw that you resolved that error in past, (https://wordpress.org/support/topic/redis-issue-on-php-8/) but is present in my site:

Redis::pconnect(): Passing null to parameter #2 ($port) of type int is deprecated

  1. Redis->pconnect()
    wp-content/plugins/w3-total-cache/Cache_Redis.php:523
  2. W3TC\Cache_Redis->_get_accessor()
    wp-content/plugins/w3-total-cache/Cache_Redis.php:316
  3. W3TC\Cache_Redis->_get_key_version()
    wp-content/plugins/w3-total-cache/Cache_Redis.php:272
  4. W3TC\Cache_Redis->flush()
    wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php:410
  5. W3TC\DbCache_WpdbInjection_QueryCaching->_flush_cache_for_sql_group()
    wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php:209
  6. W3TC\DbCache_WpdbInjection_QueryCaching->query()
    wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php:122
  7. W3TC\DbCache_WpdbNew->query()
    wp-includes/option.php:1006
  8. add_option()
    wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php:698
  9. W3TC\ObjectCache_WpObjectCache_Regular->_transient_fallback_set()
    wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php:318
  10. W3TC\ObjectCache_WpObjectCache_Regular->set()
    wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php:68
  11. W3TC\ObjectCache_WpObjectCache->set()
    wp-content/object-cache.php:86
  12. wp_cache_set()
    wp-includes/option.php:1305
  13. set_transient('doing_cron')
    wp-includes/cron.php:910
  14. spawn_cron()
    wp-includes/cron.php:1028
  15. _wp_cron()
    wp-includes/class-wp-hook.php:324
  16. do_action('wp_loaded')
    wp-settings.php:717

The plugin version is the latest.

The error, detected with query monitor, is not relevant, but I think the report is useful for improving the plugin.

Best regards.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا