Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dev/php8 caUtils load-export-mapping #1633

Open
antonio-cassano opened this issue Oct 18, 2024 · 1 comment
Open

/dev/php8 caUtils load-export-mapping #1633

antonio-cassano opened this issue Oct 18, 2024 · 1 comment

Comments

@antonio-cassano
Copy link

Hi,
when I try to load export mapping from server by caUtils I get this PHP Fatal error:

[root@dv-ap1-new-php8-cabe-cabe cabe]# /data/www/html/cola/support/bin/caUtils load-export-mapping -f /cabe/METS_ECOMIC.xlsx
CollectiveAccess 2.0 (197/GIT) Utilities
(c) 2013-2023 Whirl-i-Gig

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /data/www/html/cola/app/models/ca_data_exporters.php:2362
Stack trace:
#0 /data/www/html/cola/app/lib/Utils/CLIUtils/ImportExport.php(569): ca_data_exporters::loadExporterFromFile()
#1 /data/www/html/cola/support/bin/caUtils(172): CLIUtils::load_export_mapping()
#2 {main}
thrown in /data/www/html/cola/app/models/ca_data_exporters.php on line 2362

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /data/www/html/cola/app/models/ca_data_exporters.php:2362
Stack trace:
#0 /data/www/html/cola/app/lib/Utils/CLIUtils/ImportExport.php(569): ca_data_exporters::loadExporterFromFile()
#1 /data/www/html/cola/support/bin/caUtils(172): CLIUtils::load_export_mapping()
#2 {main}
thrown in /data/www/html/cola/app/models/ca_data_exporters.php on line 2362
[root@dv-ap1-new-php8-cabe-cabe cabe]# ^C

collectiveaccess added a commit that referenced this issue Oct 18, 2024
@collectiveaccess
Copy link
Owner

Just pushed a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants