Automattic / Automattic/wp-memcached

Prevent fatals upon plugin activation

Open
#157 2 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
PHP
Stars
172
Forks
52
PR merge metrics
No merged PRs in 30d

Description

This object cache is distributed on https://wordpress.org/plugins/memcached/ as a plugin, but can't actually be used as one. The [installation instructions](https://wordpress.org/plugins/memcached/#installation) do suggest it requires extra configutaration, but since most plugins only have junk there, no-one looks at it.

Due to the number of end-users who attempt to install it [(See the support threads)](https://wordpress.org/support/plugin/memcached/), only to be met with a fatal error, we should disable the plugin activation aspect of the plugin and present a useful error message to the end-user, rather than simply showing a fatal error.

I'm not sure of the best method to achieve this, but if it's going to be on WordPress.org/plugins it would be great to remove that "limitation".

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the plugin activation path and the linked WordPress.org installation instructions, then trace where activation currently reaches the fatal error. Done means an unconfigured installation is prevented from activating and shows a useful error message instead of a fatal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
memcached, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.