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

Export order template showed <b>Warning</b>: Illegal string offset 'c.ref' in htdocs/imports/emptyexample.php</b> on line <b>111</b><br /> #18289

Closed
Yuwei9291 opened this issue Jul 30, 2021 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@Yuwei9291
Copy link

Yuwei9291 commented Jul 30, 2021

Instructions

This is a template to help you report good issues. You may use Github Markdown syntax to format your issue report.
Please:

  • replace the bracket enclosed texts with meaningful information
  • remove any unused sub-section

Bug

[Short description]
File export error.

Environment

  • Version: [Affected Dolibarr version(s)]Dolibarr 14.0.0
  • OS: [Server OS type and version]CentOS 8
  • Web server: [Webserver type and version]NGINX 18
  • PHP: [PHP version]PHP 7.4.19
  • Database: [Database type and version]Mysql 8
  • URL(s): [Affected URL(s)]

Expected and actual behavior

[Verbose description]
Activate module import and export
Tools > New import > Sales Orders click right arrow > download csv or xlsx file
Download correct file the file should be a template of order .

But the xlsx file could not be opened and csv showed as follow :


Warning: Illegal string offset 'c.ref' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.ref_client' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.fk_soc' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.fk_projet' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.date_creation' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.date_valid' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.date_commande' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.fk_user_modif' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.fk_user_valid' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.fk_statut' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.remise_percent' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.total_tva' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.total_ht' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.total_ttc' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.note_private' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111



Warning: Illegal string offset 'c.note_public' in /www/wwwroot/xxxxxxx/htdocs/imports/emptyexample.php on line 111


Steps to reproduce the behavior

[Verbose description]

Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)

[Files]

@Yuwei9291 Yuwei9291 added the Bug This is a bug (something does not work as expected) label Jul 30, 2021
@Hystepik
Copy link
Contributor

Hystepik commented Jul 30, 2021

There is a fix #18294

@eldy eldy closed this as completed in 9811569 Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants