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

class Base_MixpanelBase duplicate causing PHP Fatal Error. #75

Open
curthayman opened this issue Dec 5, 2023 · 0 comments
Open

class Base_MixpanelBase duplicate causing PHP Fatal Error. #75

curthayman opened this issue Dec 5, 2023 · 0 comments

Comments

@curthayman
Copy link

curthayman commented Dec 5, 2023

PHP Fatal error: Cannot declare class Base_MixpanelBase, because the name is already in use in wp-content/plugins/wp-smushit/vendor/mixpanel/mixpanel-php/lib/Base/MixpanelBase.php on line 8

Found the issue, the class "Base_MixpanelBase" is being used within another plugin "wordpress-23-related-posts-plugin" Once I found the second instance of "Base_MixpanelBase" in that plugin. I disabled it and the site came up fine. Maybe change the name of the class to something else? I think other people would have this same issue if they have these two plugins installed together:

wordpress-23-releated-posts-plugin
wp-smushit

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

1 participant