Announcement

Collapse
No announcement yet.

Export XLSX Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Export XLSX Error

    Hi,
    i'm trying to make an export xlsx of a report but the system throw an exception makin' an instance of \PHPExcel() class
    /vendor/phpoffice/phpexcel/Classes/PHPExcel.php

    "syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING)"
    file: /EspoCRM-5.2.1/files/vendor/phpoffice/phpexcel/Classes/PHPExcel.php
    line: 43


    the function process in file "Espo/Modules/Advanced/Core/Report/ExportXlsx.php" , call the class that throw the exception
    PHP Code:
    public function process($entityType$params$result)
    {

        
    $phpExcel = new \PHPExcel();

    ... 
    Last edited by mfonsatti; 07-11-2018, 01:41 PM.

  • #2
    Hello,
    what is the version of Advanced Pack?

    P.S. it is prohibited to share the code from Advanced Pack by license.

    Comment


    • #3
      the version is 1.23.1

      Comment


      • #4
        Could you upgrade Advanced Pack? When did you buy this extension?

        Comment


        • #5
          i've updated to the latest version of Advanced Pack but the problem is not solved .

          Comment


          • #6
            In the latest version Espo/Modules/Advanced/Core/Report/ExportXlsx.php is different and uses other library. Clear Cache, try again and check the log

            Comment

            Working...
            X