Import CSV

Hello,

I am trying to import a CSV file and show the content in a table, but I get the following error message in the browser:

{code: 0, file: "C:\xampp\htdocs\testapp\dmxConnectLib\lib\core\Request.php", line: 37,…}

code: 0
file: "C:\\xampp\\htdocs\\testapp\\dmxConnectLib\\lib\\core\\Request.php"
line: 37
message: "Creation of dynamic property lib\\core\\Request::$server is deprecated"
trace: "#0 C:\\xampp\\htdocs\\testapp\\dmxConnectLib\\lib\\core\\Request.php(37): exception_error_handler(8192, 'Creation of dyn...', 'C:\\\\xampp\\\\htdocs...', 37)\n#1 C:\\xampp\\htdocs\\testapp\\dmxConnectLib\\lib\\App.php(36): lib\\core\\Request->__construct(Object(lib\\App))\n#2 C:\\xampp\\htdocs\\testapp\\dmxConnect\\api\\ImportCSV.php(5): lib\\App->__construct()\n#3 {main}"

Are you probably using PHP 8.2?
Please check: PHP errors on version 8.2

1 Like

Hello Teodor,

Yes, I am using PHP Version 8.2.0.

Any problems with that?

Please check the topi i linked to.

1 Like

Hello Teodor,

I downgraded PHP to 8.1.12.

The issue has been resolved.

Thank you.

There were a few PHP files in the other topic, that should’ve fixed your issue with 8.2 - that’s why i pointed to this topic, so you can download them and test.

Fixed in Wappler 5.4.3

This topic was automatically closed after 47 hours. New replies are no longer allowed.