Jump to content
thirty bees forum
  • 0

Updated to 1.6 and CSV import failed.


Question

Posted

Hello,

I updated to the 1.6 version and when I tried to do a csv import of a spreadsheet I got a server error 500.  I reverted to version 1.5.1 and the upload went through with no problems. 

Thank you for any help in this,

Laura

4 answers to this question

Recommended Posts

  • 0
Posted

It looks like it is a problem with the spreadsheet module. 

This is the error:

Declaration of PhpOffice\PhpSpreadsheet\Collection\Memory::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed

in file modules/tbspreadsheetdatasource/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory.php at line 40

  • 0
Posted

Indeed, the composer dependency of this module do not work properly with the composer dependencies inside core. We really need some way to have composer dependency isolated (to support different versions in every module). But that will be very hard task to implement.

Meanwhile, I've released a new version of tbspreadsheetdatasource for thirty bees 1.6.0. Please update the module, and it should work again

  • Like 1
  • 0
Posted
8 hours ago, datakick said:

Indeed, the composer dependency of this module do not work properly with the composer dependencies inside core. We really need some way to have composer dependency isolated (to support different versions in every module). But that will be very hard task to implement.

Meanwhile, I've released a new version of tbspreadsheetdatasource for thirty bees 1.6.0. Please update the module, and it should work again

Thank you!  That fixed the problem.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...