Welcome Guest, Not a member yet? Register   Sign In
Error message with apache ?
#1

Hi
I'm coding a website that works locally, using "php spark serve" command.
When I upload code to my apache website server, I get the following error message:
"TypeError

Argument 2 passed to form_input() must be of the type string, null given, called in /var/www/html/loschool/vendor/codeigniter4/framework/system/Helpers/form_helper.php on line 125"
How could Apache bring a bug in Codeigniter ? I'm using CI version 4.1.5
Thanks for your help
Reply
#2

Hi, can you provide more information such as php version you are using, coding examples of yours including view and controller? Do you get this error on the main page or on another one?
Reply
#3

v4.1.5 is too old and has vulnerabilities.
https://github.com/codeigniter4/CodeIgni...advisories

Upgrade to v4.1.9.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB