Welcome! To use this support forum, please Login or Join Today!


Fatal Error with WP Sales Page plugin


Total Posts: 16

Joined 2011-05-09



Hi Casey

When I try to activate the plugin mentioned below I get a Fatal Error message and the plugin will not activate

I know you’re not responsible for plugins but can you tell me what this error means:
Fatal error: Cannot redeclare my_editor_style() (previously declared in /var/www/vhosts/davidlupberger.com/httpdocs/wp-content/themes/presstige/lib/functions/theme_functions.php:292) in /var/www/vhosts/davidlupberger.com/httpdocs/wp-content/plugins/wp-sales-letter/core.php on line 366

I’m wanting to use this plugin at http://www.davidlupberger.com

Is there an easy solution to get this to work. I’d really love to use this on the new landing page template that you have in the theme


Total Posts: 3667

Joined 2011-04-27



This is actually a conflict of function naming.

If you open wp-content/themes/presstige/lib/functions/theme_functions.php

lines #291 and 292, change:

add_filter('mce_css', 'my_editor_style');
function my_editor_style($url) {


add_filter('mce_css', 'st_editor_style');
function st_editor_style($url) {

I’ll go ahead and commit this to the repo as well.
Thanks for the heads up!