You are viewing the OptimizePress 2.0 Help center. Click here for OptimizePress 3.0 support.
  1. Home
  2. Knowledge Base
  3. Getting Started Questions
  4. Fatal error: Cannot redeclare akismet_fix() Error

Fatal error: Cannot redeclare akismet_fix() Error

If you see the following error it is because they are trying to activate the plugin while the OP theme is still activated….

Cannot redeclare akismet_fix() (previously declared in …/wp-content/themes/optimizePressTheme/lib/framework.php:868) in …/wp-content/plugins/optimizePressPlugin/lib/framework.php on line 832d

This problem is only happening because you are trying to activate the OptimizePress plugin while you still have your OptimizePress theme activated (if you notice in the error code it references both the optimizePressTheme and the optimizePressPlugin folders).

Please deactivate your theme prior to activating the plugin. They both do the same thing, but the plugin does not have blog settings since in WordPress, only themes can have control over the blog.

The theme and plugin can not be both activated at the same time.

Was this article helpful?

Related Articles

Support Discontinued
As a discontinued platform, OptimizePress 2.0 is no longer officially supported. We recommend upgrading to our new OptimizePress suite. Click the button below to see our latest plans
Upgrade to OptimizePress 3.0