WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Fatal Error on Activate

[Resolved] Fatal Error on Activate

  • TheDillDesign
    Member

    @thedilldesign

    I used this in the past on this site, then disabled it. When trying to reinstall and activate, I get the following error.

    Fatal error: Cannot redeclare CS_REST_SERIALISATION_get_available() (previously declared in /home/thedillh/public_html/virginiaseo/wp-content/plugins/campaign-monitor-dashboard/cm-php/class/serialisation.php:7) in /home/thedillh/public_html/virginiaseo/wp-content/plugins/campaign-monitor-synchronisation/campaignmonitor-createsend-php/class/serialisation.php on line 14

    http://wordpress.org/plugins/campaign-monitor-synchronisation/

Viewing 10 replies - 1 through 10 (of 10 total)
  • TheDillDesign
    Member

    @thedilldesign

    When I disable Campaign Monitor Dashboard your plugin works. Not sure who has the error, but for now I will disable the dashboard since that is only for looks.

    Plugin Contributor Carlo Roosen
    Member

    @carloroosen

    The conflict arose because both plugins tried to load the same library. The problem should be solved now. Please install version 1.0.2 and let me know if it works.

    Good luck!

    Booktastik
    Member

    @booktastik

    Hi, Carlo. I’ve had major problems as well. When I tried to use the Campaign Monitor Synchronisation plugin to add subscribers from my wordpress site to a Campaign monitor list, it kept giving me error screens, but now the list that I was trying to add to has had all the subscriber custom fields deleted. Even now, it goes from 4 custom fields, to 30, to 1 (different each time I login to CM) and random subscribers end up in the deleted section in Campaign Monitor, even though I have done nothing. Campaign Monitor have tracked the use of the API code to my wordpress website. What is going wrong? I have deactivated the plugin and the random changes have stopped, but I have already lost all the custom field details for my subscribers that where already on Campaign Monitor.

    Plugin Contributor Carlo Roosen
    Member

    @carloroosen

    Hi Booktastik,

    I am very sorry your data is corrupted by the plugin.

    From your description it seems that you started with an existing list of users in Campaign Monitor (maybe with additional fields that are not defined in WordPress).

    The designed behavior of the plugin is that it not only adds users from WordPress to CampaignMonitor, it also removes users from Campaign Monitor that do not exist in WordPress. That is what “synchronization” from WP to CM implies. Therefore the first step in the instruction is to start with an empty list in CampaignMonitor.

    Let me know if this is the case for you.

    TheDillDesign
    Member

    @thedilldesign

    I found out the above information the hard way- I enabled the plugin on a list that had 10 subscribers which were not in WP, and it deleted all of them. I have since disabled this plugin, and instead use the Contact Form 7 integration plugin which only adds new registrations to the list, instead of synchronizing them.

    Plugin Contributor Carlo Roosen
    Member

    @carloroosen

    I am sorry about the confusion.

    The Campaign Monitor Synchronization plugin is for a different use case than (just) subscribing users to a mailinglist. It is meant to create and maintain a mailinglist based on the list of registered users inside WordPress.

    I have added a warning in the description, please let me know if you think this will help future users from falling in the same trap.

    Plugin Contributor Carlo Roosen
    Member

    @carloroosen

    The original bug is solved (Fatal Error on Activate). And I changed the description of the plugin so hopefully people do not get the wrong expectations. It seems the topic is resolved 🙂

    Booktastik
    Member

    @booktastik

    Thanks Carlo. That added description will help others. It really would be good if your plugin included subcategories because for my site, for example, the subscriber chooses what genres they want under the book category. If your plugin had that functionality, it would be perfect for me. As it is, I can’t use it because that is the information I need to be copied across.

    Plugin Contributor Carlo Roosen
    Member

    @carloroosen

    Hi Booktastik. If you add the category to the user meta data it will automatically appear in the list on the plugin options page. When you select the item will be copied to CM.

    There are several ways to add user meta data. This is beyond the scope of the plugin, it depends on how your user registration works.

    Plugin Contributor Carlo Roosen
    Member

    @carloroosen

    We created another plugin campaign-monitor-dual-registration that does NOT remove users from campaign Monitor. Please have a try and let me know if it works for you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Fatal Error on Activate’ is closed to new replies.