Project

General

Profile

Actions

Bug #12850

closed

Event Tickets plugin calls wp_cache_flush() after every ticket addition

Added by Raymond Hoh almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2020-05-26
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Saw the following notice in the error logs:

PHP Warning:  wp_cache_flush() used, this is broadly not recommended. Called in /wp-content/plugins/event-tickets/src/Tribe/Cache/Transient_Cache.php line 34 in /wp-content/object-cache/object-cache-memcached-hm.php on line 292

I've sent a fix to the plugin authors and have patched 1.16.x branch.

Actions #1

Updated by Raymond Hoh almost 4 years ago

  • Status changed from New to Staged for Production Release

Fixed in https://github.com/cuny-academic-commons/cac/commit/dc746cc05264548f07d8c2774f2127199c3f9e79

Boone, should this be added as a hotfix on production since the cache could be purged more frequently than usual?

Actions #2

Updated by Boone Gorges almost 4 years ago

Yikes, good catch. Please do push to production.

I posted a comment on your PR to point them in the right direction to actually fix this issue :-D

Actions #3

Updated by Raymond Hoh almost 4 years ago

Yikes, good catch. Please do push to production.

Done.

I posted a comment on your PR to point them in the right direction to actually fix this issue :-D

Awesome, that should get them to a good place!

Actions #4

Updated by Boone Gorges almost 4 years ago

  • Target version changed from 1.16.13 to 1.16.14
Actions #5

Updated by Boone Gorges almost 4 years ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF