Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should be able to activate while Jetpack is installed #1

Open
v18 opened this issue Nov 14, 2019 · 1 comment
Open

Should be able to activate while Jetpack is installed #1

v18 opened this issue Nov 14, 2019 · 1 comment

Comments

@v18
Copy link

v18 commented Nov 14, 2019

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

@kbrown9
Copy link
Member

kbrown9 commented Nov 22, 2019

Thanks for reporting this @v18! What version of Jetpack are you using? It looks like jetpack/class.jetpack-options.php was moved to a package in version 7.5, so you're probably using <7.5?

I was able to reproduce this error with Jetpack 7.4. Since the Jetpack custom autoloader was introduced in Jetpack 7.5, I don't think there's any reasonable way to support versions <7.5. We'll probably need to detect whether Jetpack is already installed and require an update for older Jetpack versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants