Should be able to activate while Jetpack is installed

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce activation with Jetpack installed and inspect wp-content/plugins/jetpack/class.jetpack-options.php at line 3, where the reported class conflict occurs. Determine the activation path involved and verify that the example plugin activates without the fatal error while Jetpack remains installed.

Written by the indexing model from the issue text.

Description

I get this error instead:

Fatal error: Cannot declare class Jetpack_Options, because the name is already in use in wp-content/plugins/jetpack/class.jetpack-options.php on line 3

Dominant language
PHP
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/client-example

All issues in Automattic/client-example

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.