Skip to content

Validation conflict with perflab plugin #405

Closed

Description

@yogeshbeniwal

WordPress/performance#553 put a wrapper around object-cache.php and replace original. This is resulting in A foreign object cache drop-in was found. To use Redis for object caching, please enable the drop-in.

Activity

  1. tillkruss commented on Dec 20, 2022

    @tillkruss
    Member

    It may make sense for perflab to set this:

    /**
    * Filters the drop-in validation state
    *
    * @since 2.0.16
    * @param bool $state The validation state of the drop-in.
    * @param string $dropin The `PluginURI` of the drop-in.
    * @param string $plugin The `PluginURI` of the plugin.
    */
    return apply_filters(
    'redis_cache_validate_dropin',
    $dropin['PluginURI'] === $plugin['PluginURI'],
    $dropin['PluginURI'],
    $plugin['PluginURI']
    );

  2. tillkruss commented on Dec 20, 2022

    @tillkruss
    Member
  3. changed the title [-]A foreign object cache drop-in was found. To use Redis for object caching, please enable the drop-in.[/-] [+]Validation conflict with perflab plugin[/+] on Dec 20, 2022
  4. tillkruss commented on Jan 27, 2023

    @tillkruss
    Member

    closed via 9dd6dc6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions