Trying to access array offset on value of type int in /system/library/export_import/Classes/PHPExcel/Cell/DefaultValueBinder.php on line 82 code example

Example: Trying to access array offset on value of type int in /system/library/export_import/Classes/PHPExcel/Cell/DefaultValueBinder.php on line 82

/*
	If you are having this issue with Opencart's export / import extension:
    
    Trying to access array offset on value of type int in ../../../system/library/export_import/Classes/PHPExcel/Cell/DefaultValueBinder.php on line 82
    
    Then you need to open the file (DefaultValueBinder.php) and replace line 82 as follows:
*/

// OLD Line:
// } elseif ($pValue[0] === '=' && strlen($pValue) > 1) {
// NEW Line:
} elseif (0 === strpos($pValue, '=') && strlen($pValue) > 1) {
  
// That's it... Happy coding, my homies <3

Tags:

Php Example