Project

General

Profile

Bug #12850

Event Tickets plugin calls wp_cache_flush() after every ticket addition

Added by Raymond Hoh over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:

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.

History

#1 Updated by Raymond Hoh over 1 year 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?

#2 Updated by Boone Gorges over 1 year 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

#3 Updated by Raymond Hoh over 1 year 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!

#4 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.13 to 1.16.14

#5 Updated by Boone Gorges over 1 year ago

  • Status changed from Staged for Production Release to Resolved

Also available in: Atom PDF