Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Sylvain Deaure

    (@sylvaindeaure)

    Well,

    This file is no more used by the current plugin version.
    Update the plugin, or delete and re-install it.
    (you won’t loose the settings)

    If you still got an error, then you’ve got another plugin that uses amazon ses and declares the same class.

    Thread Starter jlooooo

    (@jlooooo)

    Hi,

    I am using the latest version (0.3.52). Re-installing the plugin didn’t help. I deactivated all other plugins, but the error stayed.

    I did a search on SimpleEmailService in the files of the plugin and found two classes with the name SimpleEmailService.

    In ses.class.0.8.4.php and in ses.class.php. I see it’s just a different version of the same class. Which file can I delete safely?

    Thanks.

    Thread Starter jlooooo

    (@jlooooo)

    In the plugin you require both versions. That’s why it gives an error.

    In ses.stats.php on line 15:

    require_once (WP_PLUGIN_DIR . '/wp-ses/ses.class.php');

    In wp-ses.php on line 52:

    require_once (WP_PLUGIN_DIR . '/wp-ses/ses.class.0.8.4.php');

    Plugin Contributor Sylvain Deaure

    (@sylvaindeaure)

    Ok, my bad.

    Both should read

    require_once (WP_PLUGIN_DIR . ‘/wp-ses/ses.class.0.8.4.php’);

    ses.class.php is no more used and can be deleted.

    I’ll push an update asap, thanks !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot redeclare class SimpleEmailService’ is closed to new replies.