Posted: September 12, 2014 at 8:03 am
|
Hello there ! Please, I need some help. I just did the 4.4.0 update, running in WP 4 and all the sudden when I choose to pay with invoice im getting this error: Fatal error: Cannot redeclare class EE_Payment_Reminder_message_type in /home/MYDOMAIN/www/wp-content/plugins/event-espresso-core-reg/caffeinated/core/libraries/messages/message_type/payment_reminder/EE_Payment_Reminder_message_type.class.php on line 133 Thanks |
Hi Bruno, Can you go to Event Espresso -> Messages. Do you see a list of Default Templates? You should see a list such as this http://take.ms/dnvGP |
|
|
Hello Tony ! Nope, it shows to me the same error line Fatal error: Cannot redeclare class EE_Payment_Reminder_message_type in /home/MYDOMAIN/www/wp-content/plugins/event-espresso-core-reg/caffeinated/core/libraries/messages/message_type/payment_reminder/EE_Payment_Reminder_message_type.class.php on line 133 It was working before ๐ Anny Ideas ? |
So far we’ve not been able to reproduce this, so we’ll need to narrow this down some. Do you have multiple verions of Event Espresso 4 installed (with only one active)? Have you added any custom code, hooking into Event Espresso to give some extra functionality? How did you update to 4.4 through the auto updates or manually via FTP? |
|
|
Sorry not being more specific. There is only one EE 4 installed, and no custom code, only some modified templates like content-post to minor customization. This files are in my theme folder, and even when no present the problem persist. I have updated it manually, via FTP, overwritten the old content with the new – I did that because was not sure about losing all my configurations and events already setup. Any ideas ? I will explore some more too, but i’m not an expert. |
Hi Bruno, The issue here is due to updating via FTP. 4.4.0 changes the structure of the the messages system files. When you update via FTP you need to delete the original plugin and then upload the new version. The reason for this is if a file declares a class in /example/test.php… and then in a new version is moved to /example/message/test.php the original file will not be replaced, so then the same class is declared in both of those files, does that make sense? So to fix this, first create a full site backup (all Files and the Database) then, de-activate and delete EE4 and install the latest version either using the built in plugin uploader, or again via FTP (now that the other version has been removed) You can download the latest version of the plugins/add-ons from your account page here: https://eventespresso.com/users/artbold/ You will not lose any of your events in doing this, they are stored within the databasem however, if you have modified core files these will need to be applied (which is why it’s a good idea to do a full backup first) |
|
|
September 12, 2014 at 10:16 am As you said, now it is working. Happy times are coming. Thanks for your time |
September 12, 2014 at 10:20 am Great ๐ I would now recommend assigning your license key to your install. We can provide support for the site linked to the key and will also allow ‘one-click’ updates to working on your site. Meaning you can update the plugin in the same way you would any other. |
|
The support post ‘Cannot redeclare class EE_Payment_Reminder_message_type’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.