Vailry Posted July 5, 2018 Share Posted July 5, 2018 Hello there. When I try to export the user's information, no matter which of the formats, I get this error message: ContextErrorException in psgdpr.php line 748: Warning: long2ip() expects parameter 1 to be integer, string given in psgdpr.php line 748 at ErrorHandler->handleError('2', 'long2ip() expects parameter 1 to be integer, string given', '/var/www/html/store/modules/psgdpr/psgdpr.php' censored because of personal data. at long2ip('') in psgdpr.php line 748 at Psgdpr->getCustomerDataFromPrestashop(object(Customer)) in psgdpr.php line 625 at Psgdpr->getCustomerData('customer', '3') in ExportDataToPdf.php line 36 at psgdprExportDataToPdfModuleFrontController->exportDataToPdf('3') in ExportDataToPdf.php line 30 at psgdprExportDataToPdfModuleFrontController->initContent() in Controller.php line 253 at ControllerCore->run() in Dispatcher.php line 428 at DispatcherCore->dispatch() in index.php line 28 I'm running version 1.1.0 on PS 1.7.3.4. Link to comment Share on other sites More sharing options...
JoseGut Posted August 28, 2018 Share Posted August 28, 2018 (edited) I'm having exactly the same issue in Prestashop 1.7.4.2. with the RGPD integrated module Any clue? Edited August 28, 2018 by JoseGut (see edit history) Link to comment Share on other sites More sharing options...
Calle311 Posted February 1, 2019 Share Posted February 1, 2019 Is there any solution to this. Have the same error message. Version 1.7.5.0 and PHP 7.1.26 Link to comment Share on other sites More sharing options...
Gigi76 Posted June 3, 2019 Share Posted June 3, 2019 Hello, I have this configuration: - Windows Server 2019 con IIS 10 - Prestashop 1.7.5.1 - MySql 5.6.16.0 - PhpMyAdmin 4.8.5 - PHP 7.2.16 I have the same problem as you indicated Anyone managed to resolve the error? Kind regardas Link to comment Share on other sites More sharing options...
Janett Posted June 3, 2019 Share Posted June 3, 2019 Open modules/psgdpr/psgdpr.php Search 'ip' => long2ip($message['ip_address']), Replace by 'ip' => long2ip((int) $message['ip_address']), 1 Link to comment Share on other sites More sharing options...
Gigi76 Posted June 3, 2019 Share Posted June 3, 2019 6 minuti fa, Janett dice: Open modules/psgdpr/psgdpr.php Search 'ip' => long2ip($message['ip_address']), Replace by 'ip' => long2ip((int) $message['ip_address']), Hi JANETT, thank you so much, now no more error! The only thing is that the CSV file contains the data, while the PDF file is empty. Kind regardas Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now