Posted: August 18, 2015 at 3:58 am
|
Good morning. Today I update to 4.8.2p in order to start using the promotions plugin. I get the following error at the checkout after updating. I have since reverted to 4.7.10 which works but I don’t have promotions of course.
Some help would be great please. Thanks |
Hi Darragh, How did you update to 4.8.2.P, manually via FTP or via the plugin manager? |
|
|
Manually via FTP |
I’m guessing you just did copy and replace over the previous version? When updating plugins you can’t simply copy and replace the files over the old versions, if files are renamed, moved, split into multiple sections you’ll find that some files will not be replaced. For example if we have a file called functionA-B.php, then we split that into 2 separate files functionsA.php and functionsB.php and you do copy and replace. functionA-B.php remains but the new files containing the same code (or similar) are copied over and this error happens. functionA declares classA within the file, but so does functionsA-B. Make sense? So, the error you are reporting above is due to a class being defined twice which is a very common issue when doing the above. You’ll need to delete the plugin before uploading the latest version, you can do this via FTP (not recommended as it takes much longer) or through the Plugin manager within WordPress, then upload the new version in its place, or use the one-click updates. |
|
|
Hi Tony, Yes, that sounds like the issue. Do you know when the one-click updates will show this update as it is not currently displayed. Thanks |
Its different for each site. If you go to Event Espresso -> General Settings. Make no changes and save the settings, it will force a check for updates. |
|
|
All sorted now. Thanks for your help. |
You’re most welcome 🙂 I’m glad your up and running. I’ll mark this thread resolved, feel free to open up another with any further issues. |
|
The support post ‘Checkout problem after update to 4.8.2’ 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.