- Issue created by @peter pulsifer
- Status changed to Postponed: needs info
3 months ago 1:33pm 13 August 2024 - 🇺🇸United States markdorison
Hi @Peter pulsifer! Thanks for the bug report. Can you try clearing Drupal cache and see if you still see the same error? The
CsvSubscriber
class was removed in 🐛 PHP 8.1 deprecated function warning Fixed (included in 4.0.1) so it could be an issue where the cached objects are out of date. - 🇺🇸United States peter pulsifer
I was unable to clear the cache with the UI because of the error. What I did was remove keep the 4.0.0 code in place but reference to the CsvSubscriber class in csv_serialization.services.yml, then clear the cache. After doing that I could upgrade to the full 4.0.1 version without a problem. It was very helpful to know where this problem came from. Thanks for the quick response!
- Status changed to Closed: outdated
3 months ago 6:46pm 13 August 2024 - Status changed to Fixed
3 months ago 6:48pm 13 August 2024 - 🇨🇦Canada poker.ca
Having had exactly this problem, I was grateful for the advice in #2 and #3. Thank you both!
With that help, I was able to find web/modules/contrib/csv_serialization/csv_serialization.services.yml and make the necessary changes.
That said, perhaps a note on the project page recommending users edit the yaml file and clear their cache BEFORE upgrading would heve been even more useful ;-) - 🇺🇸United States markdorison
I would recommend clearing the cache with Drush (
drush cache:rebuild
) as the first step as opposed to modifying theservices.yml
but that's just my two cents! - 🇺🇸United States peter pulsifer
Drush is probably the best option, if you can do it, but I am on a shared server with no shell access!
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇮🇳India Jegan2668 Bangalore
I too faced the same issue when updating the version from 4.0.0 to 4.0.1. But, no error logs displayed in backend and tried clear caching by using drush.